Skip to content
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

system hanging when first accessing file menu #65

Closed
JamesRLamar opened this issue Aug 29, 2012 · 13 comments
Closed

system hanging when first accessing file menu #65

JamesRLamar opened this issue Aug 29, 2012 · 13 comments

Comments

@JamesRLamar
Copy link

Has anyone else had this issue? I'm running Sublime on Windows 7 on three different PC's and I have the same error every time I first open Sublime. It basically causes my whole system to freeze until Sublime starts responding.

I did submit this on the Sublime support forum as well. I'll try doing a fresh install without the ColdFusion package and see if I still have the issue.

Thanks

@JamesRLamar
Copy link
Author

Ok, it is definitely related to using the ColdFusion package. Any ideas? I'll try to nail down if its a particular file or setting in the package.

@atomi
Copy link
Contributor

atomi commented Aug 29, 2012

Let me know how I can reproduce this otherwise I wont be able to troubleshoot this for you.
Thanks.

@JamesRLamar
Copy link
Author

I'm installing the latest version of Sublime. Installing the latest version of the ColdFusion package. Open Sublime and click on any file menu. That's when the system starts to hang. After Sublime recovers everything behaviors normally until I restart Sublime. Let me know if you need more detail.

I've tested this on Windows 7 Professional 64 and 32 bit.

Thanks :)

@atomi
Copy link
Contributor

atomi commented Aug 29, 2012

I tested with both dev and stable of Sublime Text on Win x64 and I just can't reproduce the freezing you're describing.
There are 30k+ installs of this package and people use it daily and this is the first I've heard of this problem.

What I would recommend is to do a clean install and manually download and add just the tmLanguage files to your Packages/User/ColdFusion folder and test. If that works fine then add the rest of the ColdFusion package files individually (one by one) and test after each file you add until you hit the problem and let me know which file caused the problem you're experiencing.

@atomi
Copy link
Contributor

atomi commented Aug 29, 2012

I just did a new install of Win 7 x64 and was able to reproduce this I'll update as soon as I can.

Edit: I rebooted and it seems to be working fine again. Sorry I can't reproduce this.

@JamesRLamar
Copy link
Author

Should the entire ColdFusion package be extracted to the folder under "AppData/Roaming/SublimeText2/Packages/User" as referenced above? I thought it went into its own folder under "Packages". That may be the problem.

@atomi
Copy link
Contributor

atomi commented Aug 30, 2012

Oh sorry, Packages/ColdFusion is fine too. Either way should work.

@JamesRLamar
Copy link
Author

OK.

I did a fresh install of Sublime.
I tried adding ColdFusion via PackageControl, but I cannot because I'm behind a proxy, but PackageControl wasn't even installed before, so worth noting.
I moved the ColdFusion package under the "User" folder for Sublime AppData.
I then removed all the "tm" files along with those ending in ".cache"
I added each back to the ColdFusion folder under User and restarted each time to test the file menu.
Once I copied all the "tm" files back I had to open and close a few files to get the CF syntax coloring back.

Now everything seems to work fine :)

I'll update if anything changes.

Thanks for help and thanks for all your hard work!

@fissionxuiptz
Copy link

I started having this same problem when I updated the ColdFusion plugin and then took the laptop back behind a corporate proxy. It appears that the problem is in cflib.py, where the plugin tries to download info on CF libraries. The application works fine as soon as that file is removed.

@atomi
Copy link
Contributor

atomi commented Sep 10, 2012

Thanks for the hint @fissionxuiptz

I'll try and test this tomorrow.

@atomi
Copy link
Contributor

atomi commented Sep 10, 2012

This works for me.
If someone could confirm, it would be great - thanks.

@JamesRLamar
Copy link
Author

Works like a charm for me! Great job!
BTW, I am behind a proxy, so it makes sense that I could have had the same issue as not being connected to the internet like #67. I have lots of issues with the proxy at work.

@atomi
Copy link
Contributor

atomi commented Sep 10, 2012

I wanted the cflib feature to be responsive, but I guess it wasn't a great idea to load url requests at startup.
I'm glad it's resolved and thanks for the confirmation!

@atomi atomi closed this as completed Sep 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants