Hello,
since a few days I am not able to start any more Package Control from Subllime, it worked fine since almoust 2 years now.
I tried to reactivate Package Control using the snipped found in : https://packagecontrol.io/installation
and got this error message, any clue ? It is Build 3114
>>> import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
186789
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 725, in _scan_zip
self.contents[pkg_path] = z.read(f).decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc6 in position 6000: invalid continuation byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 750, in update_compressed_packages
multi_importer.loaders.append(ZipLoader(p))
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 609, in __init__
self._scan_zip()
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 728, in _scan_zip
print(f, "in", zippath, "is not utf-8 encoded, unable to load plugin")
NameError: global name 'zippath' is not defined