If you experience an error like the following when opening Sublime Text:
- Code: Select all
Unable to run package setup:
Traceback (most recent call last):
File "./PackageSetup.py", line 155, in upgrade
upgradePackage(pkg, pristinedir, datadir, backupdir)
File "./PackageSetup.py", line 148, in upgradePackage
os.path.join(backupdir, base), inhibitOverwrite)
File "./PackageSetup.py", line 64, in upgradeArchive
fname = os.path.join(pkgdir, f)
File ".\posixpath.py", line 70, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 49: ordinal not in range(128)
Go to your Packages directory, then go up a level and into the Installed Packages directory. Delete HTML5.sublime-package.
The new version of Package Control (v1.1.4) should prevent the Installed Packages directory from getting in this state such that PackageSetup.py (part of Sublime Text) fails in this way.