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

The Completions.py script throws if myget.org can't be reached #29

Open
wilfriedb opened this issue May 2, 2015 · 0 comments
Open

The Completions.py script throws if myget.org can't be reached #29

wilfriedb opened this issue May 2, 2015 · 0 comments

Comments

@wilfriedb
Copy link
Contributor

When starting Sublime Text and myget.org is not available (for example, blocked by the company's proxy, or when no wifi is available) then Completions.py aborts with the next message:

Reloading plugin Kulture.Completions
Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 97, in reload_plugin
    obj = t()
  File "/home/username/.config/sublime-text-3/Packages/Kulture/Completions.py", line 27, in __init__
    for package in response:
TypeError: 'bool' object is not iterable''

The script does actually check for errors but then ignores the result, leading to the abort.

@wilfriedb wilfriedb changed the title The Completions.py script throws when myget.org can be reached The Completions.py script throws if myget.org can't be reached May 2, 2015
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

1 participant