SublimePythonCoverage
SublimePythonCoverage copied to clipboard
Problem initializing?
Came across this error when trying to load it:
Reloading plugin /home/cosmogia/.config/sublime-text-2/Packages/Python Coverage/SublimePythonCoverage.py
SublimePythonCoverage installing coverage.py.
Traceback (most recent call last):
File "./sublime_plugin.py", line 62, in reload_plugin
File "./SublimePythonCoverage.py", line 16, in
I have the same problem
Sounds like the Python used by Sublime isn't compiled with SSL support.
I think that's the case for linux. But on the other hand, the source is a http url so I don't understand why this is a problem.
PyPI now only supports downloading packages over https, so it's redirecting to an https url.
Maybe it would be better to just bundle the coverage tarball with this plugin.
Can workaround this on Linux by fetching the package via shell, e.g:
cd ~/.config/sublime-text-2/Packages/Python\ Coverage
wget http://pypi.python.org/packages/source/c/coverage/coverage-3.5.2.tar.gz
tar -xzvf coverage-3.5.2.tar.gz coverage-3.5.2
mv coverage-3.5.2/coverage/ .
rm -rf coverage-3.5.2*
touch SublimePythonCoverage.py # Tell Sublime to reload the plugin