Sublime Forum

Startup error with dev 2117

#1

Sublime Text 2

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 31, in upgradeArchive
newar = zipfile.ZipFile(src)
File “.\zipfile.py”, line 696, in init
File “.\zipfile.py”, line 716, in _GetContents
File “.\zipfile.py”, line 728, in _RealGetContents
zipfile.BadZipfile: File is not a zip file


OK

I just recently updated to 2117 and get this error upon startup. I’m on Windows XP. Help please!

0 Likes

#2

I found the problem. I had tried to install a new package, Package Control.sublime-package. But there was an error doing the setup, and Package Control.sublime-package was an empty file (0kB). I guess this is the file that caused the error. Once I deleted this file, ST started up fine.

0 Likes