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

Exception while interacting with Tabnine subprocess (since 3.0.17)

Open jacksmith15 opened this issue 3 years ago • 7 comments

please complete the following information:

  • OS version: Ubuntu 20.10
  • Editor version: Sublime 3210
  • Programming language: N/A
  • Tabnine extension version: 3.0.17

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!

jacksmith15 avatar Jan 15 '21 10:01 jacksmith15

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.

dimacodota avatar Jan 15 '21 13:01 dimacodota

@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

jacksmith15 avatar Jan 15 '21 14:01 jacksmith15

Please follow the steps below to get the log files:

  • go to Tabnine's user settings in sublime and add the log_file_path property, It should contain an absolute path.
  • restart Sublime and send us the log file.

Thanks

dimacodota avatar Jan 16 '21 13:01 dimacodota

Amazingly I have exactly the same problem.

renan-batista avatar Apr 01 '21 15:04 renan-batista

Same issue here

Balance8 avatar Apr 01 '21 20:04 Balance8

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

dimacodota avatar Apr 02 '21 10:04 dimacodota

I also experience this issue, using tabnine-vim

Flimm avatar Sep 15 '21 17:09 Flimm