Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jacksmith15 opened this issue Jan 15, 2021 · 7 comments
Open

Comments

@jacksmith15
Copy link

jacksmith15 commented Jan 15, 2021

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!

@dimacodota
Copy link
Collaborator

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
Copy link
Author

@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
Copy link
Collaborator

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

@renan-batista
Copy link

Amazingly I have exactly the same problem.

@Balance8
Copy link

Balance8 commented Apr 1, 2021

Same issue here

@dimacodota
Copy link
Collaborator

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

@Flimm
Copy link

Flimm commented Sep 15, 2021

I also experience this issue, using tabnine-vim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants