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

405 POST #18

Open zwy-Giser opened 2 years ago

zwy-Giser commented 2 years ago

I installed tabnine in jupyter lab, but it doesn't work. output in console is: [W 2021-09-23 05:54:22.141 ServerApp] 405 POST /tabnine?1632376462160 (::1) 6.07ms referer=http://162.105.159.47:20055/lab/tree/City's%20growth%20model%20with%20GAN/Untitled.ipynb [W 2021-09-23 05:54:32.148 ServerApp] 405 POST /tabnine?1632376472172 (::1) 5.86ms referer=http://162.105.159.47:20055/lab/tree/City's%20growth%20model%20with%20GAN/Untitled.ipynb [W 2021-09-23 05:54:42.135 ServerApp] 405 POST /tabnine?1632376482167 (::1) 3.06ms referer=http://162.105.159.47:20055/lab/tree/City's%20growth%20model%20with%20GAN/Untitled.ipynb [W 2021-09-23 05:54:52.149 ServerApp] 405 POST /tabnine?1632376492169 (::1) 5.54ms referer=http://162.105.159.47:20055/lab/tree/City's%20growth%20model%20with%20GAN/Untitled.ipynb [W 2021-09-23 05:55:02.140 ServerApp] 405 POST /tabnine?1632376502169 (::1) 6.09ms referer=http://162.105.159.47:20055/lab/tree/City's%20growth%20model%20with%20GAN/Untitled.ipynb [W 2021-09-23 05:55:12.140 ServerApp] 405 POST /tabnine?1632376512169 (::1) 5.79ms referer=http://162.105.159.47:20055/lab/tree/City's%20growth%20model%20with%20GAN/Untitled.ipynb [W 2021-09-23 05:55:22.139 ServerApp] 405 POST /tabnine?1632376522169 (::1) 5.52ms referer=http://162.105.159.47:20055/lab/tree/City's%20growth%20model%20with%20GAN/Untitled.ipynb [W 2021-09-23 05:55:32.133 ServerApp] 405 POST /tabnine?1632376532162 (::1) 5.84ms referer=http://162.105.159.47:20055/lab/tree/City's%20growth%20model%20with%20GAN/Untitled.ipynb [W 2021-09-23 05:55:42.147 ServerApp] 405 POST /tabnine?1632376542170 (::1) 5.52ms referer=http://162.105.159.47:20055/lab/tree/City's%20growth%20model%20with%20GAN/Untitled.ipynb [W 2021-09-23 05:55:52.138 ServerApp] 405 POST /tabnine?1632376552160 (::1) 5.89ms referer=http://162.105.159.47:20055/lab/tree/City's%20growth%20model%20with%20GAN/Untitled.ipynb [W 2021-09-23 05:56:02.136 ServerApp] 405 POST /tabnine?1632376562167 (::1) 5.24ms referer=http://162.105.159.47:20055/lab/tree/City's%20growth%20model%20with%20GAN/Untitled.ipynb [W 2021-09-23 05:56:12.146 ServerApp] 405 POST /tabnine?1632376572169 (::1) 4.82ms referer=http://162.105.159.47:20055/lab/tree/City's%20growth%20model%20with%20GAN/Untitled.ipynb [W 2021-09-23 05:56:22.132 ServerApp] 405 POST /tabnine?1632376582162 (::1) 5.28ms referer=http://162.105.159.47:20055/lab/tree/City's%20growth%20model%20with%20GAN/Untitled.ipynb [W 2021-09-23 05:56:32.136 ServerApp] 405 POST /tabnine?1632376592167 (::1) 5.91ms referer=http://162.105.159.47:20055/lab/tree/City's%20growth%20model%20with%20GAN/Untitled.ipynb [W 2021-09-23 05:56:42.144 ServerApp] 405 POST /tabnine?1632376602168 (::1) 5.56ms referer=http://162.105.159.47:20055/lab/tree/City's%20growth%20model%20with%20GAN/Untitled.ipynb [W 2021-09-23 05:56:52.144 ServerApp] 405 POST /tabnine?1632376612170 (::1) 3.66ms referer=http://162.105.159.47:20055/lab/tree/City's%20growth%20model%20with%20GAN/Untitled.ipynb [W 2021-09-23 05:57:02.144 ServerApp] 405 POST /tabnine?1632376622169 (::1) 5.54ms referer=http://162.105.159.47:20055/lab/tree/City's%20growth%20model%20with%20GAN/Untitled.ipynb [W 2021-09-23 05:57:12.130 ServerApp] 405 POST /tabnine?1632376632164 (::1) 5.36ms referer=http://162.105.159.47:20055/lab/tree/City's%20growth%20model%20with%20GAN/Untitled.ipynb [W 2021-09-23 05:57:22.137 ServerApp] 405 POST /tabnine?1632376642162 (::1) 5.50ms referer=http://162.105.159.47:20055/lab/tree/City's%20growth%20model%20with%20GAN/Untitled.ipynb

zwy-Giser commented 2 years ago

and my pip freeze output is: anaconda-client @ file:///tmp/build/80754af9/anaconda-client_1624473988214/work anaconda-navigator==2.0.3 anyio==3.2.1 argon2-cffi @ file:///tmp/build/80754af9/argon2-cffi_1613037097816/work async-generator @ file:///home/ktietz/src/ci/async_generator_1611927993394/work attrs @ file:///tmp/build/80754af9/attrs_1620827162558/work Babel @ file:///tmp/build/80754af9/babel_1620871417480/work backcall @ file:///home/ktietz/src/ci/backcall_1611930011877/work backports.functools-lru-cache @ file:///tmp/build/80754af9/backports.functools_lru_cache_1618170165463/work backports.tempfile @ file:///home/linux1/recipes/ci/backports.tempfile_1610991236607/work backports.weakref==1.0.post1 beautifulsoup4 @ file:///tmp/build/80754af9/beautifulsoup4_1631874778482/work bleach @ file:///tmp/build/80754af9/bleach_1628110601003/work blinker==1.4 boto3 @ file:///home/conda/feedstock_root/build_artifacts/boto3_1631951251863/work botocore @ file:///home/conda/feedstock_root/build_artifacts/botocore_1631930323635/work bravado @ file:///home/conda/feedstock_root/build_artifacts/bravado_1614723672758/work bravado-core==5.17.0 brotlipy==0.7.0 certifi==2021.5.30 cffi @ file:///tmp/build/80754af9/cffi_1625807838443/work chardet @ file:///tmp/build/80754af9/chardet_1607706746162/work charset-normalizer @ file:///tmp/build/80754af9/charset-normalizer_1630003229654/work click @ file:///tmp/build/80754af9/click_1621604852318/work clyent==1.2.2 colorama @ file:///tmp/build/80754af9/colorama_1607707115595/work conda==4.10.3 conda-build==3.21.4 conda-content-trust @ file:///tmp/build/80754af9/conda-content-trust_1617045594566/work conda-package-handling @ file:///tmp/build/80754af9/conda-package-handling_1618262148928/work conda-repo-cli @ file:///tmp/build/80754af9/conda-repo-cli_1620168426516/work conda-token @ file:///tmp/build/80754af9/conda-token_1620076980546/work conda-verify==3.4.2 cryptography @ file:///tmp/build/80754af9/cryptography_1616769286105/work cycler==0.10.0 debugpy @ file:///tmp/build/80754af9/debugpy_1629222698064/work decorator @ file:///tmp/build/80754af9/decorator_1621259047763/work defusedxml @ file:///tmp/build/80754af9/defusedxml_1615228127516/work deprecation==2.1.0 entrypoints==0.3 filelock @ file:///home/linux1/recipes/ci/filelock_1610993975404/work future==0.18.2 gitdb @ file:///tmp/build/80754af9/gitdb_1617117951232/work GitPython @ file:///home/conda/feedstock_root/build_artifacts/gitpython_1631317309109/work glob2 @ file:///home/linux1/recipes/ci/glob2_1610991677669/work idna @ file:///tmp/build/80754af9/idna_1622654382723/work importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916695836/work ipykernel @ file:///tmp/build/80754af9/ipykernel_1629995100487/work/dist/ipykernel-6.2.0-py3-none-any.whl ipython @ file:///tmp/build/80754af9/ipython_1632141392005/work ipython-genutils @ file:///tmp/build/80754af9/ipython_genutils_1606773439826/work jedi @ file:///tmp/build/80754af9/jedi_1606932564285/work Jinja2 @ file:///tmp/build/80754af9/jinja2_1624781299557/work jmespath @ file:///Users/ktietz/demo/mc3/conda-bld/jmespath_1630583964805/work json5 @ file:///tmp/build/80754af9/json5_1624432770122/work jsonref==0.2 jsonschema @ file:///Users/ktietz/demo/mc3/conda-bld/jsonschema_1630511932244/work jupyter-client @ file:///tmp/build/80754af9/jupyter_client_1630690655192/work jupyter-core @ file:///tmp/build/80754af9/jupyter_core_1612213311222/work jupyter-kite==2.0.2 jupyter-packaging==0.10.4 jupyter-server==1.9.0 jupyter-server-mathjax @ file:///home/conda/feedstock_root/build_artifacts/jupyter-server-mathjax_1622646097887/work jupyter-tabnine==1.2.3 jupyterlab @ file:///tmp/build/80754af9/jupyterlab_1619133235951/work jupyterlab-kite==2.0.2 jupyterlab-pygments @ file:///tmp/build/80754af9/jupyterlab_pygments_1601490720602/work jupyterlab-server @ file:///tmp/build/80754af9/jupyterlab_server_1631656558832/work jupyterlab-tabnine==0.0.24 kiwisolver @ file:///tmp/build/80754af9/kiwisolver_1612282420641/work libarchive-c @ file:///tmp/build/80754af9/python-libarchive-c_1617780486945/work MarkupSafe @ file:///tmp/build/80754af9/markupsafe_1621528148836/work matplotlib @ file:///tmp/build/80754af9/matplotlib-suite_1613407855456/work matplotlib-inline @ file:///tmp/build/80754af9/matplotlib-inline_1628242447089/work mistune==0.8.4 mkl-fft==1.3.0 mkl-random @ file:///tmp/build/80754af9/mkl_random_1626186064646/work mkl-service==2.4.0 monotonic==1.5 msgpack @ file:///tmp/build/80754af9/msgpack-python_1612287151062/work navigator-updater==0.2.1 nbclassic==0.3.1 nbclient @ file:///tmp/build/80754af9/nbclient_1614364831625/work nbconvert @ file:///tmp/build/80754af9/nbconvert_1624479060632/work nbdime @ file:///home/conda/feedstock_root/build_artifacts/nbdime_1621970816386/work nbformat @ file:///tmp/build/80754af9/nbformat_1617383369282/work neptune-client @ file:///home/conda/feedstock_root/build_artifacts/neptune-client_1631547883311/work neptune-notebooks @ file:///home/conda/feedstock_root/build_artifacts/neptune-notebooks_1612438459152/work nest-asyncio @ file:///tmp/build/80754af9/nest-asyncio_1613680548246/work notebook @ file:///tmp/build/80754af9/notebook_1629205607169/work numpy @ file:///tmp/build/80754af9/numpy_and_numpy_base_1626271506491/work oauthlib @ file:///tmp/build/80754af9/oauthlib_1623060228408/work olefile @ file:///Users/ktietz/demo/mc3/conda-bld/olefile_1629805411829/work packaging @ file:///tmp/build/80754af9/packaging_1625611678980/work pandas==1.2.5 pandocfilters @ file:///tmp/build/80754af9/pandocfilters_1605120460739/work parso==0.7.0 path @ file:///home/conda/feedstock_root/build_artifacts/path_1627365292303/work pexpect @ file:///tmp/build/80754af9/pexpect_1605563209008/work pickleshare @ file:///tmp/build/80754af9/pickleshare_1606932040724/work Pillow @ file:///tmp/build/80754af9/pillow_1625655817137/work pkginfo==1.7.1 prometheus-client @ file:///tmp/build/80754af9/prometheus_client_1623189609245/work prompt-toolkit @ file:///Users/ktietz/demo/mc3/conda-bld/prompt-toolkit_1629146841569/work psutil @ file:///tmp/build/80754af9/psutil_1612298023621/work ptyprocess @ file:///tmp/build/80754af9/ptyprocess_1609355006118/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl pycosat==0.6.3 pycparser @ file:///tmp/build/80754af9/pycparser_1594388511720/work Pygments @ file:///tmp/build/80754af9/pygments_1629234116488/work PyJWT @ file:///tmp/build/80754af9/pyjwt_1619651636675/work pyOpenSSL @ file:///tmp/build/80754af9/pyopenssl_1608057966937/work pyparsing @ file:///home/linux1/recipes/ci/pyparsing_1610983426697/work pyrsistent @ file:///tmp/build/80754af9/pyrsistent_1600141720057/work PySocks @ file:///tmp/build/80754af9/pysocks_1605305779399/work python-dateutil @ file:///tmp/build/80754af9/python-dateutil_1626374649649/work pytz @ file:///tmp/build/80754af9/pytz_1612215392582/work PyYAML==5.4.1 pyzmq @ file:///tmp/build/80754af9/pyzmq_1628276010766/work QtPy @ file:///tmp/build/80754af9/qtpy_1629397026935/work requests @ file:///tmp/build/80754af9/requests_1629994808627/work requests-oauthlib @ file:///home/conda/feedstock_root/build_artifacts/requests-oauthlib_1595492159598/work requests-unixsocket==0.2.0 ruamel-yaml-conda @ file:///tmp/build/80754af9/ruamel_yaml_1616016699510/work s3transfer @ file:///tmp/build/80754af9/s3transfer_1626435152308/work Send2Trash @ file:///tmp/build/80754af9/send2trash_1607525499227/work simplejson @ file:///tmp/build/80754af9/simplejson_1626446315254/work sip==4.19.13 six @ file:///tmp/build/80754af9/six_1623709665295/work smmap @ file:///tmp/build/80754af9/smmap_1611694433573/work sniffio @ file:///tmp/build/80754af9/sniffio_1614030475067/work soupsieve @ file:///tmp/build/80754af9/soupsieve_1616183228191/work swagger-spec-validator @ file:///home/conda/feedstock_root/build_artifacts/swagger-spec-validator_1593189905517/work terminado==0.9.4 testpath @ file:///tmp/build/80754af9/testpath_1624638946665/work tomlkit==0.7.2 torch==1.9.0 torchaudio==0.9.0a0+33b2469 torchvision==0.10.0 tornado @ file:///tmp/build/80754af9/tornado_1606942300299/work tqdm @ file:///tmp/build/80754af9/tqdm_1631818572807/work traitlets @ file:///home/ktietz/src/ci/traitlets_1611929699868/work typing-extensions @ file:///tmp/build/80754af9/typing_extensions_1631814937681/work urllib3 @ file:///tmp/build/80754af9/urllib3_1625084269274/work wcwidth @ file:///Users/ktietz/demo/mc3/conda-bld/wcwidth_1629357192024/work webencodings==0.5.1 websocket-client==1.1.0 xmltodict @ file:///Users/ktietz/demo/mc3/conda-bld/xmltodict_1629301980723/work zipp @ file:///tmp/build/80754af9/zipp_1625570634446/work

zwy-Giser commented 2 years ago

while I installed jupyter lab 3.0.14 in conda, is it the problem?

liuzj039 commented 2 years ago

For me uninstalling jupyter completely and then installing it using pip solved the issue.

starfire-lzd commented 2 years ago

I change the tornado's web.py code make it's running In web.py I remove [if self.default_host is not None:] in function add_handlers ,Thie plugin is running

dtlam26 commented 2 years ago

while I installed jupyter lab 3.0.14 in conda, is it the problem?

Yeah, I experience the same thing with conda installation, pip installation helps out