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
Install Package does not bring up a list of packages. #104
Comments
I'm also experiencing the same thing. Tried clean install and everything. I get this error when I start sublime text 2, I'm on windows 7 x64 Package Control: Error submitting usage information. URL error [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond downloading https://sublime.wbond.net/submit?package_control_version=1.5.0&sublime_platform=windows&package=Package+Control&sublime_version=2181&version=1.5.0&operation=install. and this is the error I get when I tried to install packages Exception in thread Thread-3: Thanks! |
btw I tried what you said in a different thread by adding http://sublime.wbond.net/repositories.json to package control> settings - user, but I guess it's still not working... |
@wattsy @christinelalala Can you both paste your Package Control > Settings - User files so I can make sure there aren't any errors? |
here's mine { |
It should look like this:
|
ooooo I see! it works now! Thank you! but then I'm still getting this error for installing zencoding Package Control: Error downloading package. URL error [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond downloading https://bitbucket.org/sublimator/sublime-2-zencoding/get/8be235edaf1c.zip. so this will be their problem right? |
@christinelalala Perhaps... can you install packages off of GitHub? (most packages are from there) If you can, then I would guess it is another incompatibility. If not, I think there is still a larger SSL issue we have not identified yet. |
I tried installing two packages from github, still getting errors: Package Control: Error downloading package. URL error [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond downloading https://nodeload.github.com/SublimeText/jQuery/zipball/master. |
@christinelalala That says to me that the issue is not with my server, but with SSL connections in general. Does your network have a proxy? |
Looks like it was the User settings file being wrong, apologies for taking up your time! Thanks again for your great work! |
@wattsy I'm just curious (for the sake of helping people in the future, or adding some error checking code) what did your settings look like? |
Hey Will, yeah it's definitely my network's proxy, I tried to install at home and everything worked fine. So it's the network at work blocking me, can't turn the proxy off though. Thanks again! |
@wbond just overwrote my user settings with the one you suplied here and it's all working now (had the same problem as the original poster). BTW, my settings was exactly the same as @christinelalala { Thanks in advance. Just for the record I did nothing to my user settings since I installed package control so I really don't know what could have happened. Thanks anyway (: |
@renators So what this indicates it that for some reason your machine does not want to connect to the channel file over SSL. The difference between that config and the default is that the channel file is served at https://sublime.wbond.net/repositories.json for the default. By changing this, I need to make you aware that you are now technically vulnerable to man-in-the-middle attacks that could load arbitrary Python code onto your machine, and perform any tasks permitted for the user you run Sublime as. This could including deleting files and folders on your machine, or downloading other malicious software. Also, what platform are you using? |
sublime.wbond.net has moved to a new server, can everyone check and see if they get any different results now? |
With "repository_channels" set to "https://sublime.wbond.net/repositories.json" it doesnt fetch any packages, when changed to http:// it works. But there is another problem, now it lists the packages but when i install them, it says they have been successfully installed but i get another error in the console and they are not actually installed and not listed in the "Package control: List packages" option. This is the error from the console: Exception in thread Thread-8: |
If you are behind a proxy, try #116 as fix. |
I already fixed it, the problem was that path to my C:....\sublime text\packages had non-ascii characters in the user name (like C:\Users\čšžýúá etc.). So the quick fix for this is just to download the portable version and extract it somewhere else (I did E:\Sublime text) That way all the packages and stuff were loaded from that folder and not from application data folder, which caused the error. |
The cause is described in #117 |
Thanks for all of your work on trying to get these issues resolved. I will hopefully have time to really address these in the next week or so. That said, it is not a bug that packages_path() returns a unicode string. It should. The bug is that I am combining it with an ascii string, causing an encoding issue. Basically I didn't know enough about unicode handling in python when I wrote Package Control, and I got some stuff wrong. |
No, combining an Unicode string with a byte string is no problem:
The problem is that the But for now, we should go with the fix in #117. |
I am going to be closing this issue since the original poster's issue is solved and we are in the territory of multiple different bug reports here. Anyone else that is still having issues, please try the instruction below. There is a testing version of Package Control available which should hopefully resolve this issue thanks to @ms4py. To test it, please:
If you are still having issues, please post to another issue with the exact same symptoms you are having, or create a new issue. |
Hello,
No list of packages comes up for me when I chose the install package option. Says fetching packages (or something similar, not at my computer) down the bottom left but then nothing happens.
This is from the console:
Exception in thread Thread-6:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 522, in bootstrap_inner
self.run()
File "./Package Control.py", line 1890, in run
File "./Package Control.py", line 1759, in make_package_list
File "./Package Control.py", line 1121, in list_available_packages
File "./Package Control.py", line 1066, in list_repositories
File "./Package Control.py", line 175, in get_repositories
File "./Package Control.py", line 148, in fetch_channel
File "./Package Control.py", line 1007, in download_url
File "./Package Control.py", line 602, in download
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 124, in urlopen
return _opener.open(url, data, timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 375, in open
protocol = req.get_type()
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 241, in get_type
raise ValueError, "unknown url type: %s" % self.original
ValueError: unknown url type:
Tried reinstalling as it has not been working for a couple of days so didn't think it would be a server issue?
Any assistance would be greatly appreciated.
Thanks for all your great work!
The text was updated successfully, but these errors were encountered: