codota / tabnine-jupyterlab

JupyterLab client for Tabnine. https://pypi.org/project/jupyterlab-tabnine/
https://www.tabnine.com/install/jupyterlab
36 stars 8 forks source link

Uncaught exception POST /tabnine?1690370464724 (::1) #35

Open pdb159 opened 11 months ago

pdb159 commented 11 months ago

[E 2023-07-26 13:21:04.731 ServerApp] Uncaught exception POST /tabnine?1690370464724 (::1) HTTPServerRequest(protocol='http', host='localhost:8888', method='POST', uri='/tabnine?1690370464724', version='HTTP/1.1', remote_ip='::1') Traceback (most recent call last): File "C:\Users***\envs\MA_Thesis\Lib\site-packages\tornado\web.py", line 1784, in _execute result = method(*self.path_args, *self.path_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\**\envs\MA_Thesis\Lib\site-packages\tornado\web.py", line 3281, in wrapper return method(self, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\**\envs\MA_Thesis\Lib\site-packages\jupyterlab_tabnine\handler.py", line 19, in post response = self.tabnine.request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users***\envs\MA_Thesis\Lib\site-packages\jupyterlab_tabnine\tabnine.py", line 111, in request proc.stdin.write((data + "\n").encode("utf8")) OSError: [Errno 22] Invalid argument [W 2023-07-26 13:21:04.791 ServerApp] Unhandled error [E 2023-07-26 13:21:04.902 ServerApp] { "Host": "localhost:8888", "Accept": "/", "Referer": "http://localhost:8888/lab/tree/Documents/***/****/Crypto_ML/00_raw_data/scripts/SVC%20Classification.ipynb", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" } [E 2023-07-26 13:21:05.039 ServerApp] 500 POST /tabnine?1690370464724 (unknown@::1) 171.75ms referer=http://localhost:8888/lab/tree/Documents/*/***/Crypto_ML/00_raw_data/scripts/SVC%20Classification.ipynb

Jupyter Lab Version: 4.0.1 jupyterlab-tabnine: 0.0.24

I tried reinstalling both jupyter lab and tabnine extension, but nothing seems to work. I see the Tabnine Icon on the bottom left corner of jupyter lab and when i click on it works and opens the tabnine page, where i can login myself and change settings.