My ISP in India has decieded to block Github for some reason.I have been trying to install Package Control for Sublime Text 3 both manually and use the Sublime Text 3 Console.In both of the cases,one dependency seems to be missing:
Package Control: Installing 1 missing dependencies
Package Control: Attempting to use Urllib downloader due to WinINet error: Error downloading package. Host not found (errno 12007) during HTTP write phase of downloading https://codeload.github.com/codexns/sublime-bz2/zip/1.0.0.
Package Control: Error downloading package. URL error [Errno 11004] getaddrinfo failed downloading https://codeload.github.com/codexns/sublime-bz2/zip/1.0.0.
error: Package Control
Unable to download bz2. Please view the console for more details.
Package Control: Skipping automatic upgrade, last run at 2015-01-03 11:32:25, next run at 2015-01-03 12:32:25 or after
I have downloaded the Sublime bz2 file manually,what should I do now?
Some skimming through stuff tells me that Package Control 3.0 has dependencies:
Once the package is extracted, a custom-generated python file is added to a special package named
0_package_control_loader. For Sublime Text 3, this is a .sublime-package file, whereas for
Sublime Text 2 it is just a folder. The reason for the name (and creating it as a .sublime-
package file in ST3) is to ensure it is the very first non-default package that Sublime Text
loads.
Is there a version of 0_package_control_loader.sublime-package
that I can add manually(given that I have already installed Package Control with this dependency missing?
I've met the same problem as you. Below is the way I resolved it.
open a new txt file and paste below code to it
{"platforms": ["*"], "url": "https://github.com/codexns/sublime-bz2/issues";, "version": "1.0.0", "description": "Python bz2 module", "sublime_text": "*"}
save the file to /bz2 and rename its file name as "dependency-metadata.json" After done these, the hierarchy should be like this:
/Package
├─/bz2
│ ├─/st2_linux_x32
│ ├─/st2_linux_x64
│ ├─/st2_windows_x32
│ ├─/st2_windows_x64
│ ├─/st3_linux_x32
│ ├─/st3_linux_x64
│ ├─/st3_osx_x64
│ ├─/st3_windows_x32
│ ├─/st3_windows_x64
│ └─dependency-metadata.json
└─/User
├─/c2u_tmp
└─/Package Control.cache
restart sublime text3.
Hope it helps!
Regards