codota / tabnine-sublime

Tabnine Autocomplete AI: JavaScript, Python, TypeScript, PHP, C/C++, HTML/CSS, Go, Java, Ruby, C#, Rust, SQL, Bash, Kotlin, Julia, Lua, OCaml, Perl, Haskell, React
https://www.tabnine.com/install/sublime
MIT License
194 stars 36 forks source link

Stop working #48

Closed Nimond closed 4 years ago

Nimond commented 4 years ago

TabNine stops work in my SublimeText 3.2.2 Build 3211 sublime-text console output:

Traceback (most recent call last):
  File "/opt/sublime_text_3/sublime_plugin.py", line 610, in on_selection_modified_async
    callback.on_selection_modified_async(v)
  File "/home/dnomin/.config/sublime-text-3/Packages/TabNine/TabNine.py", line 334, in on_selection_modified_async
    response = tabnine_proc.request(request)
  File "/home/dnomin/.config/sublime-text-3/Packages/TabNine/TabNine.py", line 89, in request
    self.restart_tabnine_proc()
  File "/home/dnomin/.config/sublime-text-3/Packages/TabNine/TabNine.py", line 85, in restart_tabnine_proc
    startupinfo=get_startup_info(sublime.platform()))
  File "./python3.3/subprocess.py", line 819, in __init__
  File "./python3.3/subprocess.py", line 1370, in _execute_child
  File "./python3.3/os.py", line 791, in fsencode
TypeError: expect bytes or str, not NoneType
TheCrashDown commented 4 years ago

Seems like it caused by this commit - https://github.com/zxqfl/tabnine-sublime/commit/ea8244ef87930d6f52c07cc3fc42ad25ad43a7ca

Problem was fixed in last commit - https://github.com/zxqfl/tabnine-sublime/commit/5d8761d6ceeaccb2cc6e883008fdb6ad2bc517c3#diff-5c5733ecfc175b2cc067928438f28020.

Renaming two files as in the commit fixed problem for me

PPetky commented 4 years ago

On Decenmer the 13 - stopped working completely. Even the uninstall and cleanup does not helped. Something is very broken.

Boscop commented 4 years ago

I have the same issue!

amircodota commented 4 years ago

We released TabNine sublime plugin version 2.1.23 that fixes the issue. Closing.

Feel free to re-open if you still encounter issues