Skip to content

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

@wilfriedb

Description

@wilfriedb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions