gotools-sublime icon indicating copy to clipboard operation
gotools-sublime copied to clipboard

Is this an expected error? ( TypeError: object of type 'NoneType' has no len() )

Open asciifaceman opened this issue 6 years ago • 5 comments

While waiting on an autocomplete:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 672, in on_query_completions
    res = callback.on_query_completions(v, prefix, locations)
  File "/Users/me/Library/Application Support/Sublime Text 3/Installed Packages/Golang Tools Integration.sublime-package/gotools_suggestions.py", line 35, in on_query_completions
    if len(suggestionsJson) > 0:
TypeError: object of type 'NoneType' has no len()

asciifaceman avatar Aug 07 '18 01:08 asciifaceman

I'm getting the same issue

Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 672, in on_query_completions
    res = callback.on_query_completions(v, prefix, locations)
  File "/home/johnc/.config/sublime-text-3/Installed Packages/Golang Tools Integration.sublime-package/gotools_suggestions.py", line 35, in on_query_completions
    if len(suggestionsJson) > 0:
TypeError: object of type 'NoneType' has no len()

jcro21 avatar Nov 27 '18 22:11 jcro21

This partially led to me and my team abandoning SublimeText, the entire ST ecosystem, especially around Go crumbled with 3 while vscode is solid as a rock

asciifaceman avatar Nov 27 '18 22:11 asciifaceman

Sad to hear, I've been using ST pretty much my whole career, I'd hate to have to leave but it's becoming more likely. :(

jcro21 avatar Nov 27 '18 22:11 jcro21

same deal, ST for 10 years :(

also this isn't specific to gotools-sublime, they aren't at fault. the entire ST ecosystem fell apart

asciifaceman avatar Nov 27 '18 23:11 asciifaceman

I would have to leave it as well. it is irritating.

pgomat avatar May 16 '19 14:05 pgomat