Sublime Forum

Package Control: A full-featured package manager

#138

[quote=“wbond”]

[quote=“Grant”]I’m behind a proxy and although I have the “http_proxy” and “https_proxy” settings both set to the same thing. Every time I try to list packages to install or packages to upgrade, i get one ore more of the following errors in the console:

Package Control: Error downloading channel. URL error _ssl.c:480: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol downloading https://sublime.wbond.net/repositories.json.

A month ago, this was working fine for me. Has anything changed to break this behavior on the plugin side, or is there a problem with my company’s proxy?[/quote]

I just finished moving sublime.wbond.net to a new server, which should hopefully solve this issue. Please let me know what you find.[/quote]

I noticed that my office has started preferring the “Automatically detect settings” in the Control Panel -> Interntet Properties -> LAN Settings for Windows (I’m using Windows 7 64bit). I found an article over at stackoverflow on how to do this. Any way it might help in case some of us?

(NOTE: I just tried looking at the ‘wpad.dat’ file that was on our network and tried an alternate proxy in the list. Still got the same error, so I’m guessing the problem has something to do with SSL redirects through proxies. I know browsers like firefox and chrome detect this redirect and can make the user aware of it when it happens. The problem likely isn’t with wbond’s server, but more in how the redirects are handled in either the SSL library or in the Package Control code)

0 Likes

#139

Hi guys,
I’m having the same issues behind with an https proxy.
I tried to solve the problem by myself, but I’m not a python programmer :smiley:
However, I’m pretty sure that the problem is a know one and this python issue can help: http://bugs.python.org/issue1424152
The problem seems to be related to urllib2.
Hope this can help

0 Likes

#140

I have the same exact issue, on Windows 7 64bit. On Mac os is fine.

Regards

0 Likes

#141

Fix for the proxy issue: github.com/wbond/sublime_packag … l/pull/116

0 Likes

#142

Yes. Yes it does. You rock. Thanks!

0 Likes

#143

Here is the error what I get now:

Running jshint C:\Projects\Product\Core\Solutions\WebApp\Web\www\apps\charts\companyreport\controllers\manage_controller.js --reporter C:\Users\haibei\AppData\Roaming\Sublime Text 2\Packages\JSHint\reporter.js

Traceback (most recent call last):
File “.\exec.py”, line 208, in finish
File “.\exec.py”, line 177, in append_data
File “.\exec.py”, line 62, in kill
File “.\subprocess.py”, line 949, in terminate
WindowsError: [Error 5] Access is denied

Does anyone help me figure it out?

0 Likes

#144

[quote=“haibei.wu”]Here is the error what I get now:

Running jshint C:\Projects\Product\Core\Solutions\WebApp\Web\www\apps\charts\companyreport\controllers\manage_controller.js --reporter C:\Users\haibei\AppData\Roaming\Sublime Text 2\Packages\JSHint\reporter.js

Traceback (most recent call last):
File “.\exec.py”, line 208, in finish
File “.\exec.py”, line 177, in append_data
File “.\exec.py”, line 62, in kill
File “.\subprocess.py”, line 949, in terminate
WindowsError: [Error 5] Access is denied

Does anyone help me figure it out?[/quote]

This does not appear to be related to Package Control at all.

0 Likes

#145

Hello
You’ve done an amazing work !
Thanks a lot

0 Likes

#146

Any chance we’ll see your latest update hit the shelves soon? The proxy support in your “testing” version seems pretty stable to me.
[edit]And it’s particularly frustrating to have that version get overwritten occassionally [/edit]

What about one more thing: if the proxy auth fails, can/will it revert to attempting a direct connection to download the updates?

Thanks!

0 Likes

#147

Hey,

I was wondering whether package control supports easy contributions to st2 packages? Below is my question about a good development environment for contributions to st2 packages. Maybe it’s already possible with package control but if not it would be a great feature that encourages contributions to packages. I am thinking about a command like “Package Control: Contribute to Package” that automatically creates a fork, clones it to the package folder, opens the package folder as a project in st2 and fetches any changes from the original repo when restarting st2 to keep the fork up to date.

0 Likes

#148

This thread need a bump, I just recevied a new version, Thanks wbond!! :sunglasses:

A message of the version changes log says:

[quote]As Sublime Text has become increasingly more popular, and the number of
packages has increased so rapidly, the bandwidth requirements have also
significantly increased. This month the default channel will very likely serve
over 1TB of JSON data. If you feel so inclined, consider pitching in a small
amount to help cover the cost:

wbond.net/sublime_packages/packa … say_thanks . A big thank you
to all of the users who have already contributed![/quote]

:exclamation: Please contribute if you have to do so :exclamation:

0 Likes

#149

How about a patch so it only downloads the package list once a day? (with a command to refresh it at any time of course)

It’s irritating to wait for the package list to be downloaded each time I install a package. Meanwhile, apparently wbond’s bandwidth bill is skyrocketing…

0 Likes

#150

This is not about the bandwidth, that package is the root of all the other packages,
be nice, submit any pull request you think is appropriated!

I guess ‘everyone’ use Sublime Text for work, and the most esencial package is Package Control.
If you already purchased Sublime Text, and have some additional amount of money to show your love for Package Control, then do it.

Bye

0 Likes

#151

[quote=“bronson”]How about a patch so it only downloads the package list once a day? (with a command to refresh it at any time of course)

It’s irritating to wait for the package list to be downloaded each time I install a package. Meanwhile, apparently wbond’s bandwidth bill is skyrocketing…[/quote]

You can change the PC cache_length setting to something greater than 300 to cache the package list longer than 5 minutes, however it will not persist restarting Sublime Text. Currently there is no way to clear the cache other than to restart ST.

The new version of PC also supports HTTP compression, which should help improve the download speed.

0 Likes

#152

[quote=“gregor.hoch”]Hey,

I was wondering whether package control supports easy contributions to st2 packages? Below is my question about a good development environment for contributions to st2 packages. Maybe it’s already possible with package control but if not it would be a great feature that encourages contributions to packages. I am thinking about a command like “Package Control: Contribute to Package” that automatically creates a fork, clones it to the package folder, opens the package folder as a project in st2 and fetches any changes from the original repo when restarting st2 to keep the fork up to date.

https://forum.sublimetext.com/t/setting-up-a-dev-environment-for-package-contributions/7600/1[/quote]

Unfortunately at this point due to time constraints, this is unlikely. It takes quite a bit of time just to help people get HTTP connections working that I don’t really feel like diving into the world of scripting git and dealing with all of those issues.

Additionally, there is a fairly big list of feature enhancements that are pending developer time: github.com/wbond/sublime_package_control/issues

That said, if people want to work on different enhancements and send pull requests, I’m more than happy to discuss and review them.

0 Likes

#153

I got this error on startup

---------------------------
Sublime Text 2
---------------------------
Unable to run package setup:

Traceback (most recent call last):
  File ".\PackageSetup.py", line 165, in upgrade
    upgradePackage(pkg, pristinedir, datadir, backupdir)
  File ".\PackageSetup.py", line 158, in upgradePackage
    os.path.join(backupdir, base), inhibitOverwrite)
  File ".\PackageSetup.py", line 110, in upgradeArchive
    writeFile(fname, newar.read(f))
  File ".\PackageSetup.py", line 18, in writeFile
    with open(fname, 'wb') as fo:
IOError: [Errno 2] No such file or directory: u'Q:\\Sound\\Sublime Text 2.0.1\\Data\\Packages\\SideBarEnhancements\\SideBarEnhancements-master/readme.md'

---------------------------
OK   
---------------------------
0 Likes

#154

I’ve used package control for st3 without any problems. But just bought new machine, and didn’t want to use tm backup, but instead went with fresh install.
So now when I try to use package control for st3, it installs, but when I use cmd+shift+p and type install, nothing shows up. Package control is installed tough.

Can any1 help me out here?

0 Likes

#155

wbond, A lot of users complains our packages does not work with their version. It is bad to assume, that if there is a st3 branch, and the user is installing from ST3, to use that branch, instead of master?
Do you or anyone, have some recomendations?

Regards,

0 Likes

#156

This should be possible in the 2.x release github.com/wbond/sublime_packag … issues/462

0 Likes

#157

Thanks for the pointer.

0 Likes