Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PC 2.0.1 KeyError: u'codeload.github.com' #575

Closed
FichteFoll opened this issue Aug 19, 2013 · 6 comments
Closed

PC 2.0.1 KeyError: u'codeload.github.com' #575

FichteFoll opened this issue Aug 19, 2013 · 6 comments

Comments

@FichteFoll
Copy link
Collaborator

Package Control: Installing 1 upgrades
SublimeLinter: javascript enabled (using node.js)
SublimeLinter: python enabled (built in)
found 1 files for base name Soda Dark.sublime-theme
theme loaded
loaded 1796 snippets
found 1 files for base name Soda Dark.sublime-theme
reloading /C/Users/<user>/AppData/Roaming/Sublime Text 2/Packages/User/Preferences.sublime-settings
theme loaded
found 1 files for base name Soda Dark.sublime-theme
theme loaded

Reloading plugin C:\Users\<user>\AppData\Roaming\Sublime Text 2\Packages\Package Control\Package Control.py
reloading /C/Users/<user>/AppData/Roaming/Sublime Text 2/Packages/Package Control/Package Control.sublime-settings
found 59 files for base name Main.sublime-menu
Package Control: Upgraded Package Control to v2.0.1
reloading /C/Users/<user>/AppData/Roaming/Sublime Text 2/Packages/User/Package Control.sublime-settings

Package Control: Installing 3 upgrades
ignored packages updated to: [LiveCSS, SublimeCodeIntel, Vintage, AutoFileName, Schemr, Moonscript, Inc-Dec-Value, WakaTime, DocBlockr, GitGutter, Markdown Preview]
found 1 files for base name Soda Dark.sublime-theme
reloading /C/Users/<user>/AppData/Roaming/Sublime Text 2/Packages/DocBlockr/Base File.sublime-settings
Unloading plugin C:\Users\<user>\AppData\Roaming\Sublime Text 2\Packages\DocBlockr\jsdocs.py
reloading /C/Users/<user>/AppData/Roaming/Sublime Text 2/Packages/GitGutter/GitGutter.sublime-settings
Unloading plugin C:\Users\<user>\AppData\Roaming\Sublime Text 2\Packages\GitGutter\git_gutter.py
Unloading plugin C:\Users\<user>\AppData\Roaming\Sublime Text 2\Packages\GitGutter\git_gutter_change.py
Unloading plugin C:\Users\<user>\AppData\Roaming\Sublime Text 2\Packages\GitGutter\git_gutter_events.py
Unloading plugin C:\Users\<user>\AppData\Roaming\Sublime Text 2\Packages\GitGutter\git_gutter_handler.py
Unloading plugin C:\Users\<user>\AppData\Roaming\Sublime Text 2\Packages\GitGutter\git_helper.py
Unloading plugin C:\Users\<user>\AppData\Roaming\Sublime Text 2\Packages\GitGutter\view_collection.py
Unloading plugin C:\Users\<user>\AppData\Roaming\Sublime Text 2\Packages\Markdown Preview\helper.py
Unloading plugin C:\Users\<user>\AppData\Roaming\Sublime Text 2\Packages\Markdown Preview\markdown2.py
Unloading plugin C:\Users\<user>\AppData\Roaming\Sublime Text 2\Packages\Markdown Preview\MarkdownPreview.py
found 24 files for base name Default.sublime-keymap
found 56 files for base name Main.sublime-menu
reloading /C/Users/<user>/AppData/Roaming/Sublime Text 2/Packages/User/Preferences.sublime-settings
theme loaded
top level value must be an array
found 1 files for base name Soda Dark.sublime-theme
theme loaded
Package Control: Upgraded DocBlockr to v2013.08.19.08.06.16

ignored packages updated to: [LiveCSS, SublimeCodeIntel, Vintage, AutoFileName, WakaTime, Schemr, Moonscript, Inc-Dec-Value, Markdown Preview, GitGutter]
found 1 files for base name Soda Dark.sublime-theme
reloading /C/Users/<user>/AppData/Roaming/Sublime Text 2/Packages/User/Package Control.sublime-settings
reloading /C/Users/<user>/AppData/Roaming/Sublime Text 2/Packages/User/Preferences.sublime-settings
theme loaded
found 1 files for base name Soda Dark.sublime-theme
reloading /C/Users/<user>/AppData/Roaming/Sublime Text 2/Packages/DocBlockr/Base File.sublime-settings
Reloading plugin C:\Users\<user>\AppData\Roaming\Sublime Text 2\Packages\DocBlockr\jsdocs.py
found 26 files for base name Default.sublime-keymap
found 57 files for base name Main.sublime-menu
theme loaded
top level value must be an array

Exception in thread Thread-21:
Traceback (most recent call last):
  File ".\threading.py", line 532, in __bootstrap_inner
  File ".\threading.py", line 484, in run
  File ".\package_control\automatic_upgrader.py", line 198, in do_upgrades
  File ".\package_control\package_manager.py", line 504, in install_package
  File ".\contextlib.py", line 23, in __exit__
  File ".\package_control\download_manager.py", line 49, in downloader
  File ".\package_control\download_manager.py", line 82, in _release
KeyError: u'codeload.github.com'

Packages to upgrade are DocBlockr, GitGutter and Markdown Preview.

Haven't seen this error before. I tried to split various parts of my log to make it clearer where things happen.

Here is the debug log after restarting and manually starting upgrades: http://pastie.org/private/j1doqvlwzj7bmsfoen6rw (which also shows another error)

@wbond
Copy link
Owner

wbond commented Aug 19, 2013

Hmm, looking over the errors they seem to be related to Package Control upgrading itself and then trying to run other upgrades.

@FichteFoll
Copy link
Collaborator Author

FYI, I was using the prerelease version from #558 before the update.

As I restarted just now, here is another error log: http://pastie.org/private/2fl9bjk2kqz0hpmsret7ea

Also note that PC seems to have failed loading because none of the commands are visible in the command palette.

@FichteFoll
Copy link
Collaborator Author

I'm also getting this after I removed the PC folder and the archive from Installed Packages and reinstalled using the console command.

This is all on ST2 (2221), Win7.

@FichteFoll
Copy link
Collaborator Author

Another thing I noticed: Quite a few plugins fail to load. For example the exec and convert_file (from https://github.com/FichteFoll/AAAPackageDev) commands can not be found.

@FichteFoll
Copy link
Collaborator Author

Well, after some thinking I found how to reproduce this:

Set "install_prereleases": true and add https://sublime.wbond.net/prerelease/packages.json to the repository list. Whenever I install PC using the "installation instructions" on the site I get the errors outlined above on first run.

@FichteFoll
Copy link
Collaborator Author

I think this can be closed now, considering it was a bug in a PC alpha version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants