fnando/sublime-gem-description

JSONDecodeError just after installation

danilokleber opened this issue · 0 comments

Hi, thanks for the package and sorry if this is a dumb issue.

I installed the plugin but can't get it to work. I use asdf and edited the setting mentioned in the README. The stacktrace I get in Sublime console is the following:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/Lib/python38/sublime_plugin.py", line 1091, in on_hover
    run_view_callbacks('on_hover', view_id, point, hover_zone)
  File "/Applications/Sublime Text.app/Contents/MacOS/Lib/python38/sublime_plugin.py", line 741, in run_view_callbacks
    callback(v, *args)
  File "/Applications/Sublime Text.app/Contents/MacOS/Lib/python38/sublime_plugin.py", line 162, in profiler
    return event_handler(*args)
  File "/Users/bytes/Library/Application Support/Sublime Text 3/Installed Packages/Gem Description.sublime-package/GemDescription.py", line 130, in on_hover
    gem_info = get_gem_info(gem_name)
  File "/Users/bytes/Library/Application Support/Sublime Text 3/Installed Packages/Gem Description.sublime-package/GemDescription.py", line 72, in get_gem_info
    info = fetch_gem_info(gem_name)
  File "/Users/bytes/Library/Application Support/Sublime Text 3/Installed Packages/Gem Description.sublime-package/GemDescription.py", line 65, in fetch_gem_info
    return json.loads(result.stdout.read())
  File "./python3.8/json/__init__.py", line 357, in loads
  File "./python3.8/json/decoder.py", line 337, in decode
  File "./python3.8/json/decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)