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

Package Control seems to unload and never load back in again #155

Closed
itd opened this issue Jul 3, 2012 · 3 comments
Closed

Package Control seems to unload and never load back in again #155

itd opened this issue Jul 3, 2012 · 3 comments

Comments

@itd
Copy link

itd commented Jul 3, 2012

PC was working. Then, it wasn't. I ended-up removing the entire ~/Library/Application Support/Sublime Text 2/ directory, re-installed PC, restarted. PC seemed to start. I also put the User *.sublime-settings back. It worked for a while, and then quit (See the error below.)

I can remove all the ST settings, put "Package Control.sublime-package" back in the "Installed Packages" folder, restart, and PC will appear in the Command Pallete again for a while. However, when I look at the Command Pallete and select List Packages, the only package listed is Package Control.

I'm behind some crazy corporate firewall that just recently started jacking with https requests. I'm betting dollars to dimes that this could have something to do with what's going on.

I do have this env variable set: GIT_SSL_NO_VERIFY=1

Any ideas on what I might check or how to help troubleshoot this?

Here's the Error:

Reloading plugin /Users/kbendl/Library/Application Support/Sublime Text 2/Packages/Package Control/Package Control.py
plugin init time: 2.03046
loading bindings
loading pointer bindings
found 1 files for base name Default.sublime-theme
theme loaded
app ready
pre session restore time: 4.16962
using gamma: 2 (err: 6.9282)
Loading dictionary Packages/Language - English/en_US.dic
ignored packages updated to: [Vintage, Package Control]
wrote startup cache, added files: 1 orphaned files: 0 total files: 97 cache hits: 96
startup time: 5.03001 (package setup was not run)
Unloading plugin /Users/kbendl/Library/Application Support/Sublime Text 2/Packages/Package Control/Package Control.py
found 1 files for base name Main.sublime-menu
Exception in thread Thread-2:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "./Package Control.py", line 2249, in run
File "./Package Control.py", line 2273, in rename_packages
File "./Package Control.py", line 1121, in list_available_packages
File "./Package Control.py", line 1023, in list_repositories
TypeError: 'NoneType' object is not iterable

Thanks!
-kb

@schlamar
Copy link
Contributor

schlamar commented Jul 3, 2012

There is a testing version with full proxy support, see #119 for details.

@wbond
Copy link
Owner

wbond commented Jul 6, 2012

I've posted a new version of Package Control (1.5.0.11) just today at https://sublime.wbond.net/testing/Package%20Control.sublime-package. Please:

  1. In Sublime Text, click the Preferences > Browse Packages… menu entry
  2. Browse up a folder and then into the Installed Packages folder
  3. Download http://sublime.wbond.net/testing/Package%20Control.sublime-package and copy it into the Installed Packages directory
  4. Restart Sublime Text

Also note that in the new version, there are separate settings for proxy_username and proxy_password which you may need to set.

This new version adds support for basic, digest and ntlm auth for proxies. Unfortunately I don't have any of these to test against, but I am hoping it will help with your issue, and you can report any issues back.

@itd
Copy link
Author

itd commented Jul 6, 2012

Magically works! I also had a mysterious configuration problem where, in some sleep-deprived stupor, I'd put PC in the "ignored_packages" list to see if I could reset something. Beer on the way!

Recommendation: Stick another copy of the "Buy me a beer" button on the Package Control overview age. I had to click a couple of times to find it. ;-)

Edit:

I was getting this in the console:

Package Control: Error parsing JSON from channel https://sublime.wbond.net/repositories.json.
error: Package Control: There are no packages available for installation. 

Because of the crazy "WebSense" https packet inspection madness my employer has implemented that basically acts as a man-in-the-middle attack, adding the following to my Preferences > Package Settings > Package Control > Settings - User helped with SSL issues when viewing the list of packages via "Package Control: Install Package" (made links http instead of https):

"repository_channels":
[
    "http://sublime.wbond.net/repositories.json"
],
"submit_url": "http://sublime.wbond.net/submit"

@itd itd closed this as completed Jul 6, 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