天天看點

Sublime text無法自動通過package control安裝插件的研究

Created by Wang, Jerry on Oct 08, 2015

https://sublime.wbond.net/repositories.json

Sublime text無法自動通過package control安裝插件的研究

sublime-jslint

C:\MyProgram\Sublime Text 2\Data\Packages

package的名字必須一緻。

Package Control: Skipping automatic upgrade, last run at 2015-10-06 15:20:23, next run at 2015-10-06 16:20:23 or after

reloading /C/MyProgram/Sublime Text 2/Data/Packages/User/Package Control.sublime-settings

Package Control: Error downloading channel. 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/repositories.json.

error: Package Control: There are no packages available for installation.

Sublime text無法自動通過package control安裝插件的研究

import urllib2

print urllib2.urlopen(‘

https://www.baidu.com

’).read()

>>> print urllib2.urlopen('http://sublime.wbond.net/repostiories.json').read() Traceback (most recent call last): File "", line 1, in File ".\urllib2.py", line 126, in urlopen File ".\urllib2.py", line 391, in open File ".\urllib2.py", line 409, in _open File ".\urllib2.py", line 369, in _call_chain File ".\urllib2.py", line 1161, in http_open File ".\urllib2.py", line 1136, in do_open urllib2.URLError:

繼續閱讀