{"action":"created","issue":{"url":"https://api.github.com/repos/wbond/package_control/issues/998","labels_url":"https://api.github.com/repos/wbond/package_control/issues/998/labels{/name}","comments_url":"https://api.github.com/repos/wbond/package_control/issues/998/comments","events_url":"https://api.github.com/repos/wbond/package_control/issues/998/events","html_url":"https://github.com/wbond/package_control/issues/998","id":107157475,"number":998,"title":"Exception when installing inside console","user":{"login":"Grokzen","id":892309,"avatar_url":"https://avatars.githubusercontent.com/u/892309?v=3","gravatar_id":"","url":"https://api.github.com/users/Grokzen","html_url":"https://github.com/Grokzen","followers_url":"https://api.github.com/users/Grokzen/followers","following_url":"https://api.github.com/users/Grokzen/following{/other_user}","gists_url":"https://api.github.com/users/Grokzen/gists{/gist_id}","starred_url":"https://api.github.com/users/Grokzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grokzen/subscriptions","organizations_url":"https://api.github.com/users/Grokzen/orgs","repos_url":"https://api.github.com/users/Grokzen/repos","events_url":"https://api.github.com/users/Grokzen/events{/privacy}","received_events_url":"https://api.github.com/users/Grokzen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-18T08:41:49Z","updated_at":"2015-09-18T13:54:07Z","closed_at":null,"body":"This is the output from when i installed the extension inside the console.\r\n\r\n```\r\n>>> 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)\r\n186789\r\nreloading plugin Package Control.1_reloader\r\nreloading plugin Package Control.2_bootstrap\r\nreloading plugin Package Control.Package Control\r\nPackage Control: Not running package cleanup since bootstrapping is not yet complete\r\nreloading Packages/Package Control/Package Control.sublime-settings\r\nPackage Control: Downloading bootstrapped dependency ssl-linux\r\nreloading plugin 0_package_control_loader.00-package_control\r\nPackage Control: Successfully downloaded bootstraped dependency ssl-linux\r\nException in thread Thread-944:\r\nTraceback (most recent call last):\r\n  File \"./threading.py\", line 901, in _bootstrap_inner\r\n  File \"./threading.py\", line 858, in run\r\n  File \"package_control.bootstrap in /home/grok/.config/sublime-text-3/Installed Packages/Package Control.sublime-package\", line 193, in bootstrap_dependency\r\n  File \"package_control.loader in /home/grok/.config/sublime-text-3/Installed Packages/Package Control.sublime-package\", line 207, in add\r\n  File \"/home/grok/.config/sublime-text-3/Installed Packages/0_package_control_loader.sublime-package/01-ssl-linux.py\", line 8, in <module>\r\nzipimport.ZipImportError: bad local file header in /home/grok/.config/sublime-text-3/Installed Packages/Package Control.sublime-package\r\n\r\nPackage Control: Settings change detected, clearing cache\r\n```\r\n\r\nPackages can not be installed after this. It can query all the packages from the server but gets this exception when tried to install\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"package_control.package_installer in /home/grok/.config/sublime-text-3/Installed Packages/Package Control.sublime-package\", line 159, in on_done\r\n  File \"package_control.package_disabler in /home/grok/.config/sublime-text-3/Installed Packages/Package Control.sublime-package\", line 74, in disable_packages\r\nzipimport.ZipImportError: bad local file header in /home/grok/.config/sublime-text-3/Installed Packages/Package Control.sublime-package\r\n```\r\n\r\nUsing sublime text 3 Build: 3095\r\n"},"comment":{"url":"https://api.github.com/repos/wbond/package_control/issues/comments/141457381","html_url":"https://github.com/wbond/package_control/issues/998#issuecomment-141457381","issue_url":"https://api.github.com/repos/wbond/package_control/issues/998","id":141457381,"user":{"login":"wbond","id":41734,"avatar_url":"https://avatars.githubusercontent.com/u/41734?v=3","gravatar_id":"","url":"https://api.github.com/users/wbond","html_url":"https://github.com/wbond","followers_url":"https://api.github.com/users/wbond/followers","following_url":"https://api.github.com/users/wbond/following{/other_user}","gists_url":"https://api.github.com/users/wbond/gists{/gist_id}","starred_url":"https://api.github.com/users/wbond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wbond/subscriptions","organizations_url":"https://api.github.com/users/wbond/orgs","repos_url":"https://api.github.com/users/wbond/repos","events_url":"https://api.github.com/users/wbond/events{/privacy}","received_events_url":"https://api.github.com/users/wbond/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T13:54:07Z","updated_at":"2015-09-18T13:54:07Z","body":"Did you already have Package Control installed, or was this a fresh install?\r\n\r\nAlso, did the issue go away after restarting Sublime Text?"}}