Skip to content
This repository

Install Package dialog does not display #74

Closed
hrp opened this Issue January 16, 2012 · 9 comments

5 participants

Hiten Parmar Will Bond Austin Rasmus Josh
Hiten Parmar
hrp commented January 16, 2012

When I cmd-shift-p install package, the dialog to choose which package to install does not display. The status bar does display the loading packages message.

Here's what the console says:

Package Control: Skipping automatic upgrade, last run at 2012-01-14 09:42:06, next run at 2012-01-14 10:42:06 or after
Traceback (most recent call last):
  File "./Package Control.py", line 1706, in show_quick_panel
TypeError: No registered converter was able to produce a C++ rvalue of type std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > from this Python object of type NoneType`
Will Bond
Owner

Hmm... did you override the repository_channels setting in Preferences > Package Settings > Package Control > Settings – User? Or remove it from the Settings – Default file?

Hiten Parmar
hrp commented January 16, 2012

From Settings - Default:

// A list of URLs that each contain a JSON file with a list of repositories.
// The repositories from these channels are placed in order after the
// repositories from the "repositories" setting
"repository_channels": [
    "http://sublime.wbond.net/repositories.json"
],

From Settings - User:

"auto_upgrade_last_run": 1326647795,
"installed_packages":
[
    "Alignment",
    "BeautifyRuby",
    "BracketHighlighter",
    "CoffeeScript",
    "CTags",
    "Git",
    "Package Control",
    "SCSS",
    "SideBarGit",
    "sublime-jslint",
    "SublimeCodeIntel",
    "SublimeLinter",
    "Theme - Soda",
    "WordHighlight"
],
"repositories":
[
    "https://github.com/ChrisKempson/TextMate-Tomorrow-Theme"
]
Austin

I'm having the same issue. I'm running sublime beta, build 2165 on mac osx 10.6.8. Here's my package control.sublime-settings (user) file:

{
    "auto_upgrade_last_run": 1327341781,
    "installed_packages":
    [
        "Alignment",
        "CSS Less(ish)",
        "Package Control"
    ]
}
Austin

Well, I wiped my~/Library/Application Support/Sublime Text 2 folder entirely, and reinstalled my plugins from scratch, and now everything is working well. I'm guessing I borked a settings file at some point on accident. I'll let you know if the issue comes back.

Rasmus

Happened here as well. Wiping ~/Library/Application Support/Sublime Text 2 indeed solved the problem.
Thanks @austinhappel!

Hiten Parmar

Worked for me too!

Hiten Parmar hrp closed this February 07, 2012
Hiten Parmar

So this is back and I think I can reproduce it.

Specifically adding this repo to repositories causes the above error:

https://github.com/chriskempson/TextMate-Tomorrow-Theme

Josh

I'm getting a similiar issue on Windows though I am using the portable edition of ST2.

Packages
"Alignment",
"DocBlockr",
"SFTP",
"SideBarEnhancements",
"Terminal",
"YUI Compressor",
"ZenCoding"

The Console

Writing file /C/Users/Josh/Dropbox/Apps/Sublime Text 2/Data/Packages/User/Package Control.sublime-settings with encoding UTF-8
reloading /C/Users/Josh/Dropbox/Apps/Sublime Text 2/Data/Packages/User/Package Control.sublime-settings
Exception in thread Thread-29:
Traceback (most recent call last):
  File ".\threading.py", line 532, in __bootstrap_inner
  File ".\Package Control.py", line 1699, in run
  File ".\Package Control.py", line 1574, in make_package_list
  File ".\Package Control.py", line 955, in list_available_packages
  File ".\Package Control.py", line 910, in list_repositories
  File ".\Package Control.py", line 96, in get_repositories
  File ".\Package Control.py", line 69, in fetch_channel
  File ".\Package Control.py", line 858, in download_url
  File ".\Package Control.py", line 484, in download
  File ".\socket.py", line 329, in read
  File ".\httplib.py", line 538, in read
  File ".\socket.py", line 353, in read
timeout: timed out
Will Bond
Owner

My server has been under ever-increasing load over the past few days. It is possible I am going to need to offload at least the repositories.json file in the near future to handle the load I am seeing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.