wbond/sublime_package_control — Issue #61: Sublime Text 2 won't start after installing SPC via console
Author: callum85
Created: 2011-12-09 17:08:29+00:00
State: open

I ran the command to install Sublime Package Control, as per http://wbond.net/sublime_packages/package_control

Then I closed Sublime Text 2. Then I tried to open it, and I just got this error message:

> 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 "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py", line 698, in __init__
> File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py", line 718, in _GetContents
> File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py", line 728, in _RealGetContents
> File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py", line 189, in _EndRecData
> IOError: [Errno 22] Invalid argument

Now I can't open Sublime Text 2. What should I do?