Sublime Forum

Unable to run package setup

#1

I have a strange error which come to effect after i instaled faulty package ( i copy the code for the package from net with numbers in front of each line ) - i removed the numbers later but since then i cant get sublime running

i tried to reinstal it and remove its registry entries with no effect

the error is

Unable to run package setup:

Traceback (most recent call last):
File".\PackageSetup.py", line 125, in upgrade upgradePackage(pkg,pristinedir,datadir)
File".\PackageSetup.py", line 118, in upgradePackage upgradeArchive(pkg,pristinePkg,os.path.join(datadir,base))
File".\PackageSetup.py", line 32, in upgradeArchive newar = zipfile.ZipFile(src)

File".\zipfile.py", line 346, in_init__
File".\zipfile.py", line 366, in_GetContents
File".\zipfile.py", line 378, in_RealGetContents
zipfile.BadZipfile: File is not a zip file

0 Likes

#2

If you remove the offending .sublime-package file from %APPDATA%\Sublime Text\Installed Packages you should be fine (in Vista, %APPDATA% is C:\Users<username>\AppData\Roaming)

0 Likes

#3

Thank you for sharing us the answer, it’s ok now.

0 Likes