kiteco / issue-tracker

User-reported issues for Kite
https://Kite.com
1.75k stars 136 forks source link

Kite not running in jupyter lab #767

Open SMMousaviSP opened 3 years ago

SMMousaviSP commented 3 years ago

I had kite and jupyter lab extension for kite installed and it was working and showing me auto-completion but the docs following cursor feature was not working so I uninstalled kite and the extension and installed them again and now in jupyter lab's status bar it says kite is not running, I checked all prerequisites.

I'm using python 3.8.10 with pyenv and my jupyterlab version is:

jupyter core     : 4.7.1
jupyter-notebook : 6.4.0
qtconsole        : not installed
ipython          : 7.24.0
ipykernel        : 5.5.5
jupyter client   : 6.1.12
jupyter lab      : 3.0.16
nbconvert        : 6.0.7
ipywidgets       : not installed
nbformat         : 5.1.3
traitlets        : 5.0.5

here is the requested information.

Config dir: /home/mohammad/.pyenv/versions/3.8.10/etc/jupyter jupyter_kite enabled

Config dir: /usr/local/etc/jupyter

- ### The output of pip list:

Package Version


altgraph 0.17 anyio 3.1.0 argon2-cffi 20.1.0 async-generator 1.10 attrs 21.2.0 Babel 2.9.1 backcall 0.2.0 bleach 3.3.0 certifi 2020.12.5 cffi 1.14.5 chardet 4.0.0 cycler 0.10.0 decorator 5.0.9 defusedxml 0.7.1 entrypoints 0.3 idna 2.10 ipykernel 5.5.5 ipython 7.24.0 ipython-genutils 0.2.0 jedi 0.18.0 Jinja2 3.0.1 json5 0.9.5 jsonschema 3.2.0 jupyter-client 6.1.12 jupyter-core 4.7.1 jupyter-kite 2.0.2 jupyter-server 1.8.0 jupyterlab 3.0.16 jupyterlab-kite 2.0.2 jupyterlab-pygments 0.1.2 jupyterlab-server 2.5.2 kiwisolver 1.3.1 MarkupSafe 2.0.1 matplotlib 3.4.2 matplotlib-inline 0.1.2 mistune 0.8.4 nbclassic 0.3.1 nbclient 0.5.3 nbconvert 6.0.7 nbformat 5.1.3 nest-asyncio 1.5.1 notebook 6.4.0 numpy 1.20.3 packaging 20.9 pandas 1.2.4 pandocfilters 1.4.3 parso 0.8.2 pexpect 4.8.0 pickleshare 0.7.5 Pillow 8.2.0 pip 21.1.2 prometheus-client 0.10.1 prompt-toolkit 3.0.18 ptyprocess 0.7.0 pycparser 2.20 Pygments 2.9.0 pyinstaller 4.2 pyinstaller-hooks-contrib 2020.11 pyparsing 2.4.7 pyrsistent 0.17.3 python-dateutil 2.8.1 pytz 2018.7 pyzmq 22.1.0 requests 2.25.1 Send2Trash 1.5.0 setuptools 56.0.0 six 1.16.0 sniffio 1.2.0 terminado 0.10.0 testpath 0.5.0 tornado 6.1 traitlets 5.0.5 urllib3 1.26.5 wcwidth 0.2.5 webencodings 0.5.1 websocket-client 1.0.1

TroddenSpade commented 3 years ago

Hi @SMMousaviSP, check out this solution, I had the same problem.

SMMousaviSP commented 3 years ago

Hi @SMMousaviSP, check out this solution, I had the same problem.

Thanks, I downgraded to version 3.0.14 with this command:

pip install jupyterlab==3.0.14

And now kite is running and I can see autocompletions, but docs following curser feature still doesn't work.

Mahyar24 commented 2 years ago

I'm facing the same issue, and as @SMMousaviSP mentioned, I was forced to downgrade the Jupyterlab to 3.0.14 to make Kite work. With same stderr:

/tmp/build/140ee389/gopath/src/github.com/kiteco/kiteco/kite-go/lsp/server.go:182 runtime.goexit

profMastermind commented 2 years ago

I faced the same issue with jubyterlab==3.2.9 , but just downgrading to v3.2.4 worked for me. Using pip as well