kiteco / issue-tracker

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

"Kite: not running" status shown even though Kite is running #318

Open EladH1 opened 3 years ago

EladH1 commented 3 years ago

kite running fine on spyder. just installed the plug-in for jupyterlab. on the bottom left icon showing "Kite: not running" (even though it does) . also the last two items in the image are broken links (not directing anywhere) image

Your OS: windows Whether or not you have the Kite desktop app installed: YES The output of pip list: Package Version


alabaster 0.7.12 altair 4.1.0 anaconda-client 1.7.2 anaconda-navigator 1.9.12 anaconda-project 0.8.3 argh 0.26.2 asn1crypto 1.3.0 astroid 2.3.3 astropy 4.0.1.post1 atomicwrites 1.4.0 attrs 19.3.0 autopep8 1.5.3 Babel 2.8.0 backcall 0.2.0 backports.shutil-get-terminal-size 1.0.0 bcrypt 3.1.7 beautifulsoup4 4.9.1 biopython 1.77 bitarray 1.4.2 bkcharts 0.2 bleach 3.1.5 bokeh 2.1.1 boto 2.49.0 Bottleneck 1.3.2 branca 0.4.1 brotlipy 0.7.0 certifi 2020.6.20 cffi 1.14.0 chardet 3.0.4 click 7.1.2 click-spinner 0.1.10 cloudpickle 1.5.0 clyent 1.2.2 colorama 0.4.3 colorcet 2.0.1 colorlog 4.2.1 colour 0.1.5 comtypes 1.1.7 conda 4.8.3 conda-build 3.19.2 conda-package-handling 1.6.0 conda-verify 3.1.1 contextlib2 0.6.0.post1 cryptography 2.9.2 cycler 0.10.0 Cython 0.29.21 cytoolz 0.10.1 dacite 1.5.1 dask 2.21.0 datapane 0.6.11 dc-stat-think 1.1.0 decorator 4.4.2 defusedxml 0.6.0 diff-match-patch 20200713 distributed 2.21.0 docutils 0.16 dython 0.5.1 entrypoints 0.3 et-xmlfile 1.0.1 fastcache 1.1.0 fastcluster 1.1.26 filelock 3.0.12 flake8 3.8.3 Flask 1.1.2 flit-core 2.3.0 folium 0.11.0 fsspec 0.7.4 future 0.18.2 gevent 20.6.2 gitdb 4.0.5 GitPython 3.1.7 glob2 0.7 greenlet 0.4.16 gtfparse 1.2.0 h5py 2.10.0 HeapDict 1.0.1 holoviews 1.13.3 html5lib 1.1 hvplot 0.6.0 hypothesis 5.20.2 idna 2.10 imagecodecs 2020.5.30 imageio 2.9.0 imagesize 1.2.0 importlib-metadata 1.7.0 importlib-resources 3.0.0 intervaltree 3.0.2 ipykernel 5.3.3 ipython 7.16.1 ipython-genutils 0.2.0 ipywidgets 7.5.1 isort 4.3.21 itsdangerous 1.1.0 jdcal 1.4.1 jedi 0.17.1 Jinja2 2.11.2 joblib 0.16.0 json5 0.9.4 jsonpickle 1.4.1 jsonschema 3.2.0 jupyter-client 6.1.6 jupyter-console 6.1.0 jupyter-contrib-core 0.3.3 jupyter-contrib-nbextensions 0.5.1 jupyter-core 4.6.3 jupyter-highlight-selected-word 0.2.0 jupyter-kite 1.0.0 jupyter-latex-envs 1.4.4 jupyter-nbextensions-configurator 0.4.1 jupyterlab 2.2.0 jupyterlab-git 0.20.0 jupyterlab-server 1.2.0 jupyterthemes 0.20.0 keyring 21.2.1 kiwisolver 1.2.0 lazy-object-proxy 1.5.0 lesscpy 0.13.0 libarchive-c 2.9 llvmlite 0.33.0 locket 0.2.0 lxml 4.5.2 Markdown 3.2.2 MarkupSafe 1.1.1 matplotlib 3.3.0 mccabe 0.6.1 menuinst 1.4.16 mistune 0.8.4 mkl-fft 1.1.0 mkl-random 1.1.0 mkl-service 2.3.0 mock 4.0.2 more-itertools 8.4.0 mpmath 1.1.0 msgpack 1.0.0 multipledispatch 0.6.0 munch 2.5.0 navigator-updater 0.2.1 nbconvert 5.6.1 nbdime 2.0.0 nbformat 5.0.7 networkx 2.4 nltk 3.4.4 nose 1.3.7 notebook 6.0.3 numba 0.50.1 numexpr 2.7.1 numpy 1.19.0 numpydoc 1.1.0 olefile 0.46 openpyxl 3.0.4 packaging 20.4 pandas 1.0.5 pandas-bokeh 0.5 pandocfilters 1.4.2 panel 0.9.7 param 1.9.3 paramiko 2.7.1 parso 0.7.0 partd 1.1.0 path 13.1.0 pathlib2 2.3.5 pathtools 0.1.2 patsy 0.5.1 pep8 1.7.1 pexpect 4.8.0 pickleshare 0.7.5 Pillow 7.2.0 pip 20.1.1 pkginfo 1.5.0.1 plotly 4.9.0 pluggy 0.13.1 ply 3.11 prometheus-client 0.8.0 prompt-toolkit 3.0.5 psutil 5.7.2 ptyprocess 0.6.0 py 1.9.0 pyarrow 0.17.1 pycodestyle 2.6.0 pycosat 0.6.3 pycparser 2.20 pycrypto 2.6.1 pyct 0.4.6 pycurl 7.43.0.5 pydocstyle 5.0.2 pyflakes 2.2.0 Pygments 2.6.1 pylint 2.4.4 PyNaCl 1.3.0 pyodbc 4.0.30 pyOpenSSL 19.1.0 pyparsing 2.4.7 PyQt5 5.12.3 PyQt5-sip 4.19.18 PyQtChart 5.12 PyQtWebEngine 5.12.1 pyreadline 2.1 pyrsistent 0.16.0 PySocks 1.7.1 pytest 5.4.3 pytest-arraydiff 0.3 pytest-astropy 0.7.0 pytest-astropy-header 0.1.2 pytest-doctestplus 0.7.0 pytest-openfiles 0.5.0 pytest-remotedata 0.3.1 python-dateutil 2.8.1 python-jsonrpc-server 0.3.4 python-language-server 0.34.1 pytoml 0.1.21 pytz 2020.1 pyvis 0.1.8.1.1 pyviz-comms 0.7.6 PyWavelets 1.1.1 pywin32 227 pywin32-ctypes 0.2.0 pywinpty 0.5.7 PyYAML 5.3.1 pyzmq 19.0.1 QDarkStyle 2.8.1 QtAwesome 0.7.2 qtconsole 4.7.5 QtPy 1.9.0 readme-renderer 24.0 requests 2.24.0 requests-toolbelt 0.9.1 retrying 1.3.3 rope 0.17.0 Rtree 0.9.4 ruamel-yaml 0.15.80 ruamel.yaml 0.16.6 ruamel.yaml.clib 0.2.0 scikit-image 0.17.2 scikit-learn 0.23.1 scipy 1.5.0 seaborn 0.10.1 Send2Trash 1.5.0 setuptools 41.0.1 sidetable 0.6.0 simplegeneric 0.8.1 singledispatch 3.4.0.3 sip 4.19.23 six 1.15.0 smmap 3.0.4 snowballstemmer 2.0.0 sortedcollections 1.2.1 sortedcontainers 2.2.2 soupsieve 2.0.1 Sphinx 3.1.2 sphinxcontrib-applehelp 1.0.2 sphinxcontrib-devhelp 1.0.2 sphinxcontrib-htmlhelp 1.0.3 sphinxcontrib-jsmath 1.0.1 sphinxcontrib-qthelp 1.0.3 sphinxcontrib-serializinghtml 1.1.4 sphinxcontrib-websupport 1.2.3 spyder 4.1.4 spyder-kernels 1.9.2 SQLAlchemy 1.3.18 statsmodels 0.11.1 stringcase 1.2.0 styleframe 3.0.2 sympy 1.6.1 tables 3.6.1 tabulate 0.8.7 tblib 1.6.0 terminado 0.8.3 testpath 0.4.4 threadpoolctl 2.1.0 tifffile 2020.7.17 toml 0.10.1 toolz 0.10.0 tornado 6.0.4 tqdm 4.48.0 traitlets 4.3.3 twine 1.13.0 typed-ast 1.4.1 typing-extensions 3.7.4.2 ujson 1.35 unicodecsv 0.14.1 urllib3 1.25.9 validators 0.15.0 watchdog 0.10.3 wcwidth 0.2.5 webencodings 0.5.1 Werkzeug 1.0.1 wheel 0.33.4 widgetsnbextension 3.5.1 win-inet-pton 1.1.0 win-unicode-console 0.5 wincertstore 0.2 wrapt 1.12.1 xlrd 1.2.0 XlsxWriter 1.2.9 xlwings 0.19.5 xlwt 1.3.0 xmltodict 0.12.0 yapf 0.29.0 zict 2.0.0 zipp 3.1.0 zope.event 4.4 zope.interface 5.1.0 The output of jupyter labextension list: JupyterLab v2.2.0 Known labextensions: app dir: C:\Users\Elad.h.AYALA\AppData\Local\Continuum\anaconda3\share\jupyter\lab @jupyterlab/git v0.20.0 enabled ok @kiteco/jupyterlab-kite v1.0.0 enabled ok nbdime-jupyterlab v2.0.0 enabled ok

EladH1 commented 3 years ago

log:https://s3.console.aws.amazon.com/s3/object/kite-client-logs/prod/276055/kite_local/client.log.2020-08-05_08-47-31-PM.bak.gz

itsdhung commented 3 years ago

Do you see any errors in your browser's JavaScript console when you refresh the page?

EladH1 commented 3 years ago

apparently yes: image

cookies blocked?

itsdhung commented 3 years ago

What are the contents of your browser's JavaScript console when you type code into a notebook?

EladH1 commented 3 years ago

adding two images: image

image

thanks for helping here Elad

edzkite commented 3 years ago

Closing as duplicate of https://github.com/kiteco/issue-tracker/issues/380

edzkite commented 3 years ago

@EladH1 Would you mind sharing the output of jupyter serverextension list? Also, the output in your terminal when you run jupyter lab?

EladH1 commented 3 years ago

config dir: C:\Users\Elad.h.AYALA\AppData\Local\Continuum\anaconda3\etc\jupyter jupyter_kite enabled jupyterlab enabled jupyterlab_git enabled nbdime enabled jupyter_nbextensions_configurator enabled

edzkite commented 3 years ago

Thanks @EladH1 ! I'm assuming when you navigate to the config dir, you see a directory named jupyter_notebook_config.d with a file named jupyter-kite-serverextension.json?

Just as a sanity check, is the Kite process running? On Windows, it should be named kited.exe.

EladH1 commented 3 years ago

@edzkite you are correct. dir 06/10/2020 09:40

. 06/10/2020 09:40 .. 06/10/2020 09:40 89 jupyter-kite-serverextension.json 24/08/2020 22:58 87 jupyterlab.json 05/08/2020 19:26 102 jupyterlab_git.json 05/08/2020 19:26 90 nbdime.json 4 File(s) 368 bytes

I'm not sure what you meant : "Just as a sanity check, is the Kite process running? On Windows, it should be named kited.exe." kite co-pilot is active. os: windows.

edzkite commented 3 years ago

@EladH1 On Windows two processes need to be active for JupyterLab to work: kited.exe and kite-lsp.exe.

If Process Manager reports those two processes are active, could you navigate to [your home dir]/.jupyter? Are there any JSON files in that directory? If so, could you try removing them, or editing out any contents related to "Language Server Managers"?

EladH1 commented 3 years ago

@edzkite thank you for working with me step by step. both apps are working: image under [home dir]/.jupyter there is no .json files.

edzkite commented 3 years ago

Thanks for working with me on this @EladH1! I don't see anything immediately obvious that would cause the errors you're experiencing.

The last piece of information that could be useful: Do you mind running JupyterLab with jupyter lab --debug, and giving me the output? It'd be especially helpful to capture any output when you open a notebook file and type.

The only other reasons I can think of is if there's a conflict with one of the other plugins you have installed, or the install was somehow corrupted. Maybe an uninstall / reinstall of the jupyter-kite and the lab extension "@kiteco/jupyterlab-kite" would help.

edzkite commented 3 years ago

@EladH1 Do you experience this by any chance? https://github.com/kiteco/issue-tracker/issues/420#issuecomment-705695118