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

Exception while interacting with Tabnine subprocess (since 3.0.17) #102

Open jacksmith15 opened 3 years ago

jacksmith15 commented 3 years ago

please complete the following information:

If the issue is related to Tabnine failure, please provide log files: Type Tabnine::config in your editor, the logs are located at the bottom of the page.

No logs are provided at the bottom of this page - perhaps this template is out of date? That said - the message:

Lost connection - please reopen the TabNine hub

displays almost immediately, and I have to hide this layer to see the the menu, so that could be related.

Issue Details:

On install of 3.0.17, sublime logs the following continuously:

Exception while interacting with Tabnine subprocess: [Errno 32] Broken pipe
Tabnine: starting version 3.2.80
Exception while interacting with Tabnine subprocess: [Errno 32] Broken pipe
Tabnine: starting version 3.2.80
Exception while interacting with Tabnine subprocess: [Errno 32] Broken pipe
Tabnine: starting version 3.2.80
Exception while interacting with Tabnine subprocess: [Errno 32] Broken pipe
Tabnine: starting version 3.2.80
Exception while interacting with Tabnine subprocess: [Errno 32] Broken pipe
...

Naturally no completions work. For the brief interval between starting and the error, I can type TabNine::config to access the hub, but this will error with

Lost connection - please reopen the TabNine hub

within seconds.

Could this be related to the fact the linux build step has been failing for the last ~15 days or so on master? This period includes the 3.0.17 release. Unfortunately sublime does not make it easy to pin a version to test rolling back!

dimacodota commented 3 years ago

Hi @jacksmith15 , thanks for reaching out. can you please check if you have other Tabnine processes running, maybe from another IDE? If so please close and reopen them all.

jacksmith15 commented 3 years ago

@dimacodota No other Tabnine processes that I'm aware of. I followed the following steps:

  1. Exit Sublime
  2. ps aux | grep -i tabnine -> no results
  3. Start Sublime -> same problem as described in issue body
dimacodota commented 3 years ago

Please follow the steps below to get the log files:

renan-batista commented 3 years ago

Amazingly I have exactly the same problem.

Balance8 commented 3 years ago

Same issue here

dimacodota commented 3 years ago

‏All, we released a fix (3.3.104 engine version) please restart your sublime and try again

Flimm commented 2 years ago

I also experience this issue, using tabnine-vim