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

linux issue #60

Open
amircodota opened this issue Nov 30, 2020 · 4 comments
Open

linux issue #60

amircodota opened this issue Nov 30, 2020 · 4 comments

Comments

@amircodota
Copy link

Hi folks,

Amir from codota here (the company behind TabNine).

We have recently introduced an issue were some linux users might have TabNine stop working. We suspect it might affect jupyter notebooks users (on linux only).

The issue started with TabNine 3.2.22 and was fixed in TabNine 3.2.28 which is already released. Therefore, new users should not be affected by this issue.

However, existing users that have updated to one of the problematic versions might have TabNine disappear.

The workaround to this issue is simple.

  1. Locate TabNine's binaries dir, which is located under your jupyter_tabnine installation dir. (On my machine it was /home/amir/.local/lib/python3.6/site-packages/jupyter_tabnine/binaries but YMMV).
  2. Under this directory there are multiple versions of TabNine's binary. Locate the latest version.
  3. Under the version directory, you should have a directory named x86_64-unknown-linux-musl. Rename that directory to x86_64-unknown-linux-gnu.
  4. Restart your jupyter notebook.

Hope this helps and apologies for any inconvenience caused
Amir

@wenmin-wu
Copy link
Contributor

Hi @amircodota, thanks for sharing. I did come across this problem and solved by using an old version under https://github.com/codota/tabnine-vim/tree/master/binaries/2.9.2

@wenmin-wu
Copy link
Contributor

wenmin-wu commented Dec 6, 2020

Hi @amircodota, could you build a binary for ARM, I would like to deploy a server on raspberry pi 4. However, no binary available. Really appreciate it if you can help with this.

@amircodota
Copy link
Author

@wenmin-wu I'm afraid we do not currently support ARM.

@victormaricato
Copy link

victormaricato commented Jan 6, 2021

Will just paste the error I was getting so Google can send people here:

Traceback (most recent call last):
      File "/home/victor/anaconda3/lib/python3.8/site-packages/tornado/web.py", line 1703, in _execute
        result = await result
      File "/home/victor/anaconda3/lib/python3.8/site-packages/jupyter_tabnine/handler.py", line 14, in get
        self.write(response)
      File "/home/victor/anaconda3/lib/python3.8/site-packages/tornado/web.py", line 834, in write
        raise TypeError(message)
    TypeError: write() only accepts bytes, unicode, and dict objects

Thank you for your attention for promptly posting this

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

3 participants