-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sublime freezing at startup #13
Comments
I didn't notice it! Maybe because on my computer it takes only ~1 second Thanks for the support! |
Hello guys,
Well, there are some issues - I'm not expert on this, so I'll not speculate... you can see my complete log after fresh start, if you are interested. And once more... Thank you @pichillilorenzo for your hard work! |
@sofoklesion I update it! I was testing it on windows and i was having your same issue. Now it should be ok! Say me if it works! Wait until Package Control update my url for this new release! |
OK buddy, I will come back to you with updated status after proper upgrade from package control. |
Package Control updated it. You can check now! |
Cool, I'm on it, will be back in couple minutes with result. |
OK, I did two scenarios:
nodejs problem is gone and seems to be fast proces with no impact to user. Thanks @pichillilorenzo |
The "import _init" issue is a false-positive! This happens, like i said before, because I handle the loading of some files of the plugin in a certain way! So it isn't a real issue 👍 However i'm going to update this plugin with some other features! |
Aha... ok, thanks for your work. I'm looking forward to it! Wish you the best... 👍 |
Hey @matduarte! i found the "issue" that cause ST freezing. My plugin has dependencies with some other my python modules. Sublime Text 3 loads plugin in async way, so i must check and, in case, reload these python modules to make plugin work properly! |
Hi @pichillilorenzo,
ENV:
|
@infobeny In /node/main.py, for windows, i use directly "npm" without the entire path, like I do instead for OSX and Linux, because of the problem i explained. So have you installed npm on your system?? However I done a test and I used:
and the plugin works properly. Obviously i have npm installed on the system! In case you could post the whole log file! |
@infobeny try this: http://stackoverflow.com/a/24741740 |
Good point @pichillilorenzo. I'm using npm every day and no problem. I checked system path and and except |
Hello, |
@panczarny What is the problem? i didn't understand! Can you post logs from Sublime Text console please?? |
I think this might be an issue:
But this is weird, because I've got the newest NodeJS version that is available installed... |
most javaScript developers have an experience with nodejs now and have certainly installed it in their computer. I think it will better to just install the plugin and let it try to use user's installed nodejs instead of automatically try to install local one. An option can be provided for user who don't have a global nodejs installation, to enable automatic download, update and usage of local one. Another option can be provided to disable automatic npm update. |
Hey, any progress on the issue of sublime text freezing for 4-5 seconds on every load? |
@tnga I install nodejs and npm local because of implementation of plugin features, such as JSDoc or "Evaluate JavaScript". @flawiddsouza not yet |
The problem is not caused by Node.js but from loading of all the sublime-completions files! I will update it as soon as possible |
@flawiddsouza try the new version about the freezing problem and let me know! |
The lag is lesser but it hasn't completely disappeared. 2-3 seconds now 😕 |
Ok @flawiddsouza! I will check it again, but it is strange because i load my sublime completions in an asynchronous way! |
Disabling this package removes the lag, so I'm pretty sure the problem is in here somewhere. I'm on a SSD and I still get this. Maybe it's the npm check at startup. Is there anything I give you to help you with this? |
Installing nodejs and/or checking for update with npm is done also in asynchronous way! I will check later if I can solve this! Thanks |
Any news ? |
Every time on running of ST, JavaScript-Completions checks Node.js version, this cause ST freezing for 4 - 5 seconds.
The text was updated successfully, but these errors were encountered: