jupyter-lsp / jupyterlab-lsp

Coding assistance for JupyterLab (code navigation + hover suggestions + linters + autocompletion + rename) using Language Server Protocol
https://jupyterlab-lsp.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.81k stars 149 forks source link

Jump to definition: No jump targets found #669

Closed jabbera closed 2 years ago

jabbera commented 3 years ago

Description

I don't know when this started, but I can't get jump to definition working anymore. Whenever I use it I get: No Jump Targets Found

Reproduce

image

Expected behavior

It would jump to definition.

Context

It's not clear to me if it's the same issue as: https://github.com/krassowski/jupyterlab-lsp/issues/466

I do use / as my "root folder".

Required: installed server extensions
Config option `kernel_spec_manager_class` not recognized by `ListServerExtensionsApp`.
Config dir: /mnt/z/research_hub/.jupyter

/opt/conda/lib/python3.9/site-packages/jupyter_server/transutils.py:13: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
  warnings.warn(warn_msg, FutureWarning)
/opt/conda/lib/python3.9/site-packages/jupyter_server/transutils.py:13: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
  warnings.warn(warn_msg, FutureWarning)
Config dir: /opt/conda/etc/jupyter
    gmo_jupyter_share_link enabled
    - Validating gmo_jupyter_share_link...
      gmo_jupyter_share_link 0.3.6 OK
    jupyter_lsp enabled
    - Validating jupyter_lsp...
      jupyter_lsp 1.4.1 OK
    jupyter_server_proxy enabled
    - Validating jupyter_server_proxy...
      jupyter_server_proxy  OK
    jupyter_resource_usage enabled
    - Validating jupyter_resource_usage...
      jupyter_resource_usage  OK
    jupyter_server_mathjax enabled
    - Validating jupyter_server_mathjax...
      jupyter_server_mathjax  OK
    jupyterlab enabled
    - Validating jupyterlab...
      jupyterlab 3.1.7 OK
    jupyterlab_git enabled
    - Validating jupyterlab_git...
      jupyterlab_git 0.32.2 OK
    jupyterlab_spellchecker enabled
    - Validating jupyterlab_spellchecker...
      jupyterlab_spellchecker 0.7.0 OK
    nbclassic enabled
    - Validating nbclassic...
      nbclassic  OK
    nbdime enabled
    - Validating nbdime...
      nbdime 3.1.0 OK
    retrolab enabled
    - Validating retrolab...
      retrolab 0.2.2 OK

Config dir: /usr/local/etc/jupyter
Required: installed lab extensions
Config option `kernel_spec_manager_class` not recognized by `ListLabExtensionsApp`.
[W 2021-08-26 00:45:45.686 LabApp] Config option `kernel_spec_manager_class` not recognized by `LabApp`.
JupyterLab v3.1.7
/opt/conda/share/jupyter/labextensions
        gmo_jupyter_share_link v0.3.6 enabled OK (python, gmo_jupyter_share_link)
        jupyterlab-system-monitor v0.8.0 enabled OK (python, jupyterlab-system-monitor)
        jupyterlab-execute-time v2.0.5 enabled OK (python, jupyterlab_execute_time)
        ipysheet v0.5.0 enabled OK (python, ipysheet)
        jupyterlab-plotly v5.2.2 enabled OK
        nbdime-jupyterlab v2.1.0 enabled OK
        jupyter-matplotlib v0.9.0 enabled OK
        jupyterlab-topbar-extension v0.6.1 enabled OK (python, jupyterlab-topbar)
        @krassowski/jupyterlab-lsp v3.8.1 enabled OK (python, jupyterlab-lsp)
        @ijmbarr/jupyterlab_spellchecker v0.7.0 enabled OK (python, jupyterlab-spellchecker)
        @jupyter-server/resource-usage v0.5.0 enabled OK (python, jupyter-resource-usage)
        @jupyter-widgets/jupyterlab-manager v3.0.0 enabled OK (python, jupyterlab_widgets)
        @jupyterlab/server-proxy v3.1.0 enabled OK
        @jupyterlab/git v0.32.2 enabled OK (python, jupyterlab-git)
        @retrolab/lab-extension v0.2.2 enabled OK

Other labextensions (built into JupyterLab)
   app dir: /opt/conda/share/jupyter/lab

Disabled extensions:
    @jupyterlab/filebrowser-extension:share-file
Troubleshoot Output
$PATH:
        /opt/conda/bin
        /opt/conda/condabin
        /opt/dotnet/tools
        /opt/conda/bin
        /usr/local/sbin
        /usr/local/bin
        /usr/sbin
        /usr/bin
        /sbin
        /bin
        /home/jovyan/.dotnet/tools
        /opt/mssql-tools/bin

sys.path:
        /opt/conda/bin
        /opt/conda/lib/python39.zip
        /opt/conda/lib/python3.9
        /opt/conda/lib/python3.9/lib-dynload
        /opt/conda/lib/python3.9/site-packages

sys.executable:
        /opt/conda/bin/python

sys.version:
        3.9.6 | packaged by conda-forge | (default, Jul 11 2021, 03:39:48) 
        [GCC 9.3.0]

platform.platform():
        Linux-5.4.0-1051-azure-x86_64-with-glibc2.31

which -a jupyter:
        /opt/conda/bin/jupyter
        /opt/conda/bin/jupyter

pip list:
        Package                             Version
        ----------------------------------- -----------
        aiohttp                             3.7.4.post0
        alembic                             1.6.5
        ansiwrap                            0.8.4
        anyio                               3.3.0
        appdirs                             1.4.4
        argon2-cffi                         20.1.0
        astroid                             2.7.2
        async-generator                     1.10
        async-timeout                       3.0.1
        attrs                               21.2.0
        autopep8                            1.5.7
        azure-core                          1.17.0
        azure-identity                      1.6.1
        Babel                               2.9.1
        backcall                            0.2.0
        backports.functools-lru-cache       1.6.4
        black                               21.7b0
        bleach                              4.0.0
        blinker                             1.4
        brotlipy                            0.7.0
        certifi                             2021.5.30
        certipy                             0.1.3
        cffi                                1.14.6
        chardet                             4.0.0
        charset-normalizer                  2.0.0
        click                               8.0.1
        colorama                            0.4.4
        conda                               4.10.3
        conda-package-handling              1.7.3
        cryptography                        3.4.7
        cycler                              0.10.0
        data-catalog-gmo                    0.1a55
        dataclasses                         0.8
        dataclasses-json                    0.5.4
        debugpy                             1.4.1
        decorator                           5.0.9
        defusedxml                          0.7.1
        deltalake                           0.5.2
        docstring-to-markdown               0.9
        entrypoints                         0.3
        esg-scores-gmo                      0.1a22
        flake8                              3.9.2
        gitdb                               4.0.7
        GitPython                           3.1.18
        gmo.credential-manager              0.1a13
        gmo-jupyter-share-link              0.3.6
        greenlet                            1.1.1
        holdings-gmo                        0.1a73
        idna                                3.1
        importlib-metadata                  4.6.4
        ipykernel                           6.2.0
        ipympl                              0.7.0
        ipynbname                           2021.3.2
        ipysheet                            0.5.0
        ipython                             7.26.0
        ipython-genutils                    0.2.0
        ipywidgets                          7.6.3
        isort                               5.9.3
        jedi                                0.18.0
        jedi-language-server                0.34.3
        Jinja2                              3.0.1
        json5                               0.9.5
        jsonschema                          3.2.0
        jupyter-client                      6.1.12
        jupyter-core                        4.7.1
        jupyter-lsp                         1.4.1
        jupyter-resource-usage              0.5.1
        jupyter-server                      1.10.2
        jupyter-server-mathjax              0.2.3
        jupyter-server-proxy                3.1.0
        jupyter-telemetry                   0.1.0
        jupyter-vscode-proxy                0.1
        jupyterhub                          1.4.2
        jupyterlab                          3.1.7
        jupyterlab-execute-time             2.0.5
        jupyterlab-git                      0.32.2
        jupyterlab-lsp                      3.8.1
        jupyterlab-pygments                 0.1.2
        jupyterlab-server                   2.7.1
        jupyterlab-spellchecker             0.7.0
        jupyterlab-system-monitor           0.8.0
        jupyterlab-topbar                   0.6.1
        jupyterlab-widgets                  1.0.0
        kiwisolver                          1.3.1
        lazy-object-proxy                   1.6.0
        Mako                                1.1.5
        mamba                               0.15.3
        MarkupSafe                          2.0.1
        marshmallow                         3.13.0
        marshmallow-enum                    1.5.1
        matlab-production-server-client-gmo 1.1.21
        matplotlib                          3.4.3
        matplotlib-inline                   0.1.2
        mccabe                              0.6.1
        mistune                             0.8.4
        mplcursors                          0.4
        msal                                1.13.0
        msal-extensions                     0.3.0
        multidict                           5.1.0
        mypy-extensions                     0.4.3
        nb-conda-kernels                    2.3.1
        nbclassic                           0.3.1
        nbclient                            0.5.4
        nbconvert                           6.1.0
        nbdime                              3.1.0
        nbformat                            5.1.3
        nest-asyncio                        1.5.1
        networkx                            2.6.2
        notebook                            6.4.3
        nteract-on-jupyter                  2.1.3
        numpy                               1.21.2
        oauthlib                            3.1.1
        olefile                             0.46
        packaging                           21.0
        pamela                              1.0.0
        pandas                              1.3.2
        pandocfilters                       1.4.2
        papermill                           2.3.3
        parso                               0.8.2
        pathspec                            0.9.0
        pexpect                             4.8.0
        pickleshare                         0.7.5
        Pillow                              8.3.1
        pip                                 21.2.4
        platformdirs                        2.2.0
        plotly                              5.2.2
        pluggy                              0.13.1
        portalocker                         1.7.1
        prometheus-client                   0.11.0
        prompt-toolkit                      3.0.19
        protobuf                            3.17.3
        pscript                             0.7.5
        psutil                              5.8.0
        psycopg2                            2.9.1
        ptyprocess                          0.7.0
        pyarrow                             5.0.0
        pycodestyle                         2.7.0
        pycosat                             0.6.3
        pycparser                           2.20
        pycurl                              7.44.1
        pydantic                            1.8.2
        pydocstyle                          6.1.1
        pyflakes                            2.3.1
        pygls                               0.11.2
        Pygments                            2.10.0
        PyJWT                               2.1.0
        pylint                              2.10.2
        pymssql                             2.1.5
        pyodbc                              4.0.32
        pyOpenSSL                           20.0.1
        pyparsing                           2.4.7
        pyrsistent                          0.17.3
        PySocks                             1.7.1
        python-dateutil                     2.8.2
        python-dotenv                       0.19.0
        python-editor                       1.0.4
        python-json-logger                  2.0.1
        python-lsp-jsonrpc                  1.0.0
        python-lsp-server                   1.2.1
        pytz                                2021.1
        PyYAML                              5.4.1
        pyzmq                               22.2.1
        regex                               2021.8.21
        requests                            2.26.0
        requests-unixsocket                 0.2.0
        retrolab                            0.2.2
        rope                                0.19.0
        ruamel.yaml                         0.17.13
        ruamel.yaml.clib                    0.2.2
        ruamel-yaml-conda                   0.15.80
        Send2Trash                          1.8.0
        setuptools                          57.4.0
        simpervisor                         0.4
        six                                 1.16.0
        smmap                               3.0.5
        sniffio                             1.2.0
        snowballstemmer                     2.1.0
        SQLAlchemy                          1.4.23
        stringcase                          1.2.0
        tenacity                            8.0.1
        terminado                           0.11.1
        testpath                            0.5.0
        textwrap3                           0.9.2
        toml                                0.10.2
        tomli                               1.2.1
        tornado                             6.1
        tqdm                                4.62.1
        traitlets                           5.0.5
        typed-ast                           1.4.3
        typeguard                           2.12.1
        typing-extensions                   3.10.0.0
        typing-inspect                      0.7.1
        ujson                               4.0.2
        urllib3                             1.26.6
        wcwidth                             0.2.5
        webencodings                        0.5.1
        websocket-client                    0.57.0
        wheel                               0.37.0
        widgetsnbextension                  3.5.1
        wrapt                               1.12.1
        yapf                                0.31.0
        yarl                                1.6.3
        zipp                                3.5.0

conda list:
        # packages in environment at /opt/conda:
        #
        # Name                    Version                   Build  Channel
        _libgcc_mutex             0.1                 conda_forge    conda-forge
        _openmp_mutex             4.5                       1_gnu    conda-forge
        aiohttp                   3.7.4.post0      py39h3811e60_0    conda-forge
        alembic                   1.6.5              pyhd8ed1ab_0    conda-forge
        ansiwrap                  0.8.4                      py_0    conda-forge
        anyio                     3.3.0            py39hf3d152e_0    conda-forge
        appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
        argon2-cffi               20.1.0           py39h3811e60_2    conda-forge
        astroid                   2.7.2            py39hf3d152e_0    conda-forge
        async-timeout             3.0.1                   py_1000    conda-forge
        async_generator           1.10                       py_0    conda-forge
        attrs                     21.2.0             pyhd8ed1ab_0    conda-forge
        autopep8                  1.5.7              pyhd8ed1ab_0    conda-forge
        azure-core                1.17.0                   pypi_0    pypi
        azure-identity            1.6.1                    pypi_0    pypi
        babel                     2.9.1              pyh44b312d_0    conda-forge
        backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
        backports                 1.0                        py_2    conda-forge
        backports.functools_lru_cache 1.6.4              pyhd8ed1ab_0    conda-forge
        black                     21.7b0             pyhd8ed1ab_0    conda-forge
        bleach                    4.0.0              pyhd8ed1ab_0    conda-forge
        blinker                   1.4                        py_1    conda-forge
        brotlipy                  0.7.0           py39h3811e60_1001    conda-forge
        bzip2                     1.0.8                h7f98852_4    conda-forge
        c-ares                    1.17.2               h7f98852_0    conda-forge
        ca-certificates           2021.5.30            ha878542_0    conda-forge
        certifi                   2021.5.30        py39hf3d152e_0    conda-forge
        certipy                   0.1.3                      py_0    conda-forge
        cffi                      1.14.6           py39he32792d_0    conda-forge
        chardet                   4.0.0            py39hf3d152e_1    conda-forge
        charset-normalizer        2.0.0              pyhd8ed1ab_0    conda-forge
        click                     8.0.1            py39hf3d152e_0    conda-forge
        colorama                  0.4.4              pyh9f0ad1d_0    conda-forge
        conda                     4.10.3           py39hf3d152e_0    conda-forge
        conda-package-handling    1.7.3            py39h3811e60_0    conda-forge
        configurable-http-proxy   4.5.0           node14_hfc12e6c_0    conda-forge
        cryptography              3.4.7            py39hbca0aa6_0    conda-forge
        cycler                    0.10.0                     py_2    conda-forge
        data-catalog-gmo          0.1a55                   pypi_0    pypi
        dataclasses               0.8                pyhc8e2a94_3    conda-forge
        dataclasses-json          0.5.4                    pypi_0    pypi
        debugpy                   1.4.1            py39he80948d_0    conda-forge
        decorator                 5.0.9              pyhd8ed1ab_0    conda-forge
        defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
        deltalake                 0.5.2                    pypi_0    pypi
        docstring-to-markdown     0.9                pyhd8ed1ab_0    conda-forge
        entrypoints               0.3             pyhd8ed1ab_1003    conda-forge
        esg-scores-gmo            0.1a22                   pypi_0    pypi
        flake8                    3.9.2              pyhd8ed1ab_0    conda-forge
        freetds                   1.1.15               h94af77a_0    conda-forge
        freetype                  2.10.4               h0708190_1    conda-forge
        gitdb                     4.0.7              pyhd8ed1ab_0    conda-forge
        gitpython                 3.1.18             pyhd8ed1ab_0    conda-forge
        gmo-credential-manager    0.1a13                   pypi_0    pypi
        gmo-jupyter-share-link    0.3.6                    pypi_0    pypi
        greenlet                  1.1.1            py39he80948d_0    conda-forge
        holdings-gmo              0.1a73                   pypi_0    pypi
        icu                       68.1                 h58526e2_0    conda-forge
        idna                      3.1                pyhd3deb0d_0    conda-forge
        importlib-metadata        4.6.4            py39hf3d152e_0    conda-forge
        ipykernel                 6.2.0            py39hef51801_0    conda-forge
        ipympl                    0.7.0              pyhd8ed1ab_0    conda-forge
        ipynbname                 2021.3.2           pyhd8ed1ab_0    conda-forge
        ipysheet                  0.5.0              pyhd8ed1ab_0    conda-forge
        ipython                   7.26.0           py39hef51801_0    conda-forge
        ipython_genutils          0.2.0                      py_1    conda-forge
        ipywidgets                7.6.3              pyhd3deb0d_0    conda-forge
        isort                     5.9.3              pyhd8ed1ab_0    conda-forge
        jbig                      2.1               h7f98852_2003    conda-forge
        jedi                      0.18.0           py39hf3d152e_2    conda-forge
        jedi-language-server      0.34.3             pyhd8ed1ab_0    conda-forge
        jinja2                    3.0.1              pyhd8ed1ab_0    conda-forge
        jpeg                      9d                   h36c2ea0_0    conda-forge
        json5                     0.9.5              pyh9f0ad1d_0    conda-forge
        jsonschema                3.2.0              pyhd8ed1ab_3    conda-forge
        jupyter-lsp               1.4.1              pyhd8ed1ab_0    conda-forge
        jupyter-resource-usage    0.5.1              pyhd8ed1ab_0    conda-forge
        jupyter-server-mathjax    0.2.3              pyhd8ed1ab_0    conda-forge
        jupyter-server-proxy      3.1.0              pyhd8ed1ab_0    conda-forge
        jupyter-vscode-proxy      0.1                      pypi_0    pypi
        jupyter_client            6.1.12             pyhd8ed1ab_0    conda-forge
        jupyter_core              4.7.1            py39hf3d152e_0    conda-forge
        jupyter_server            1.10.2             pyhd8ed1ab_0    conda-forge
        jupyter_telemetry         0.1.0              pyhd8ed1ab_1    conda-forge
        jupyterhub                1.4.2            py39hf3d152e_0    conda-forge
        jupyterhub-base           1.4.2            py39hf3d152e_0    conda-forge
        jupyterlab                3.1.7              pyhd8ed1ab_0    conda-forge
        jupyterlab-git            0.32.2             pyhd8ed1ab_0    conda-forge
        jupyterlab-lsp            3.8.1              pyhd8ed1ab_0    conda-forge
        jupyterlab-spellchecker   0.7.0              pyhd8ed1ab_0    conda-forge
        jupyterlab-system-monitor 0.8.0              pyhd8ed1ab_1    conda-forge
        jupyterlab-topbar         0.6.1              pyhd8ed1ab_2    conda-forge
        jupyterlab_execute_time   2.0.5              pyhd8ed1ab_0    conda-forge
        jupyterlab_pygments       0.1.2              pyh9f0ad1d_0    conda-forge
        jupyterlab_server         2.7.1              pyhd8ed1ab_0    conda-forge
        jupyterlab_widgets        1.0.0              pyhd8ed1ab_1    conda-forge
        kiwisolver                1.3.1            py39h1a9c180_1    conda-forge
        krb5                      1.19.2               hcc1bbae_0    conda-forge
        lazy-object-proxy         1.6.0            py39h3811e60_0    conda-forge
        lcms2                     2.12                 hddcbb42_0    conda-forge
        ld_impl_linux-64          2.36.1               hea4e1c9_2    conda-forge
        lerc                      2.2.1                h9c3ff4c_0    conda-forge
        libarchive                3.5.1                hccf745f_2    conda-forge
        libblas                   3.9.0           11_linux64_openblas    conda-forge
        libcblas                  3.9.0           11_linux64_openblas    conda-forge
        libcurl                   7.78.0               h2574ce0_0    conda-forge
        libdeflate                1.7                  h7f98852_5    conda-forge
        libedit                   3.1.20191231         he28a2e2_2    conda-forge
        libev                     4.33                 h516909a_1    conda-forge
        libffi                    3.3                  h58526e2_2    conda-forge
        libgcc-ng                 11.1.0               hc902ee8_8    conda-forge
        libgfortran-ng            11.1.0               h69a702a_8    conda-forge
        libgfortran5              11.1.0               h6c583b3_8    conda-forge
        libgomp                   11.1.0               hc902ee8_8    conda-forge
        libiconv                  1.16                 h516909a_0    conda-forge
        liblapack                 3.9.0           11_linux64_openblas    conda-forge
        libnghttp2                1.43.0               h812cca2_0    conda-forge
        libopenblas               0.3.17          pthreads_h8fe5266_1    conda-forge
        libpng                    1.6.37               h21135ba_2    conda-forge
        libpq                     13.3                 hd57d9b9_0    conda-forge
        libsodium                 1.0.18               h36c2ea0_1    conda-forge
        libsolv                   0.7.19               h780b84a_5    conda-forge
        libssh2                   1.9.0                ha56f1ee_6    conda-forge
        libstdcxx-ng              11.1.0               h56837e0_8    conda-forge
        libtiff                   4.3.0                hf544144_1    conda-forge
        libuuid                   2.32.1            h7f98852_1000    conda-forge
        libuv                     1.42.0               h7f98852_0    conda-forge
        libwebp-base              1.2.1                h7f98852_0    conda-forge
        libxml2                   2.9.12               h72842e0_0    conda-forge
        lz4-c                     1.9.3                h9c3ff4c_1    conda-forge
        lzo                       2.10              h516909a_1000    conda-forge
        mako                      1.1.5              pyhd8ed1ab_0    conda-forge
        mamba                     0.15.3           py39h951de11_0    conda-forge
        markupsafe                2.0.1            py39h3811e60_0    conda-forge
        marshmallow               3.13.0                   pypi_0    pypi
        marshmallow-enum          1.5.1                    pypi_0    pypi
        matlab-production-server-client-gmo 1.1.21                   pypi_0    pypi
        matplotlib-base           3.4.3            py39h2fa2bec_0    conda-forge
        matplotlib-inline         0.1.2              pyhd8ed1ab_2    conda-forge
        mccabe                    0.6.1                      py_1    conda-forge
        mistune                   0.8.4           py39h3811e60_1004    conda-forge
        mplcursors                0.4                pyhd8ed1ab_0    conda-forge
        msal                      1.13.0                   pypi_0    pypi
        msal-extensions           0.3.0                    pypi_0    pypi
        multidict                 5.1.0            py39h3811e60_1    conda-forge
        mypy_extensions           0.4.3            py39hf3d152e_3    conda-forge
        nb_conda_kernels          2.3.1            py39hf3d152e_0    conda-forge
        nbclassic                 0.3.1              pyhd8ed1ab_1    conda-forge
        nbclient                  0.5.4              pyhd8ed1ab_0    conda-forge
        nbconvert                 6.1.0            py39hf3d152e_0    conda-forge
        nbdime                    3.1.0              pyhd8ed1ab_0    conda-forge
        nbformat                  5.1.3              pyhd8ed1ab_0    conda-forge
        ncurses                   6.2                  h58526e2_4    conda-forge
        nest-asyncio              1.5.1              pyhd8ed1ab_0    conda-forge
        networkx                  2.6.2                    pypi_0    pypi
        nodejs                    14.17.4              h92b4a50_0    conda-forge
        notebook                  6.4.3              pyha770c72_0    conda-forge
        nteract_on_jupyter        2.1.3                      py_0    conda-forge
        numpy                     1.21.2           py39hdbf815f_0    conda-forge
        oauthlib                  3.1.1              pyhd8ed1ab_0    conda-forge
        olefile                   0.46               pyh9f0ad1d_1    conda-forge
        openjpeg                  2.4.0                hb52868f_1    conda-forge
        openssl                   1.1.1k               h7f98852_1    conda-forge
        packaging                 21.0               pyhd8ed1ab_0    conda-forge
        pamela                    1.0.0                      py_0    conda-forge
        pandas                    1.3.2                    pypi_0    pypi
        pandoc                    2.14.1               h7f98852_0    conda-forge
        pandocfilters             1.4.2                      py_1    conda-forge
        papermill                 2.3.3              pyhd8ed1ab_0    conda-forge
        parso                     0.8.2              pyhd8ed1ab_0    conda-forge
        pathspec                  0.9.0              pyhd8ed1ab_0    conda-forge
        pexpect                   4.8.0              pyh9f0ad1d_2    conda-forge
        pickleshare               0.7.5                   py_1003    conda-forge
        pillow                    8.3.1            py39ha612740_0    conda-forge
        pip                       21.2.4             pyhd8ed1ab_0    conda-forge
        platformdirs              2.2.0              pyhd8ed1ab_1    conda-forge
        plotly                    5.2.2                    pypi_0    pypi
        pluggy                    0.13.1           py39hf3d152e_4    conda-forge
        portalocker               1.7.1                    pypi_0    pypi
        prometheus_client         0.11.0             pyhd8ed1ab_0    conda-forge
        prompt-toolkit            3.0.19             pyha770c72_0    conda-forge
        protobuf                  3.17.3                   pypi_0    pypi
        pscript                   0.7.5              pyhd3deb0d_0    conda-forge
        psutil                    5.8.0            py39h3811e60_1    conda-forge
        psycopg2                  2.9.1            py39h3811e60_0    conda-forge
        ptyprocess                0.7.0              pyhd3deb0d_0    conda-forge
        pyarrow                   5.0.0                    pypi_0    pypi
        pycodestyle               2.7.0              pyhd8ed1ab_0    conda-forge
        pycosat                   0.6.3           py39h3811e60_1006    conda-forge
        pycparser                 2.20               pyh9f0ad1d_2    conda-forge
        pycurl                    7.44.1           py39h72e3413_0    conda-forge
        pydantic                  1.8.2            py39h3811e60_0    conda-forge
        pydocstyle                6.1.1              pyhd8ed1ab_0    conda-forge
        pyflakes                  2.3.1              pyhd8ed1ab_0    conda-forge
        pygls                     0.11.2             pyhd8ed1ab_0    conda-forge
        pygments                  2.10.0             pyhd8ed1ab_0    conda-forge
        pyjwt                     2.1.0              pyhd8ed1ab_0    conda-forge
        pylint                    2.10.2             pyhd8ed1ab_0    conda-forge
        pymssql                   2.1.5            py39he80948d_2    conda-forge
        pyodbc                    4.0.32           py39he80948d_0    conda-forge
        pyopenssl                 20.0.1             pyhd8ed1ab_0    conda-forge
        pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
        pyrsistent                0.17.3           py39h3811e60_2    conda-forge
        pysocks                   1.7.1            py39hf3d152e_3    conda-forge
        python                    3.9.6           h49503c6_1_cpython    conda-forge
        python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
        python-dotenv             0.19.0                   pypi_0    pypi
        python-editor             1.0.4                      py_0    conda-forge
        python-json-logger        2.0.1              pyh9f0ad1d_0    conda-forge
        python-lsp-jsonrpc        1.0.0              pyhd8ed1ab_0    conda-forge
        python-lsp-server         1.2.1              pyhd8ed1ab_0    conda-forge
        python_abi                3.9                      2_cp39    conda-forge
        pytz                      2021.1             pyhd8ed1ab_0    conda-forge
        pyyaml                    5.4.1            py39h3811e60_1    conda-forge
        pyzmq                     22.2.1           py39h37b5a0c_0    conda-forge
        readline                  8.1                  h46c0cb4_0    conda-forge
        regex                     2021.8.21        py39h3811e60_0    conda-forge
        reproc                    14.2.1               h36c2ea0_0    conda-forge
        reproc-cpp                14.2.1               h58526e2_0    conda-forge
        requests                  2.26.0             pyhd8ed1ab_0    conda-forge
        requests-unixsocket       0.2.0                      py_0    conda-forge
        retrolab                  0.2.2              pyhd8ed1ab_0    conda-forge
        rope                      0.19.0             pyhd8ed1ab_0    conda-forge
        ruamel.yaml               0.17.13          py39h3811e60_0    conda-forge
        ruamel.yaml.clib          0.2.2            py39h3811e60_2    conda-forge
        ruamel_yaml               0.15.80         py39h3811e60_1004    conda-forge
        send2trash                1.8.0              pyhd8ed1ab_0    conda-forge
        setuptools                57.4.0           py39hf3d152e_0    conda-forge
        simpervisor               0.4                pyhd8ed1ab_0    conda-forge
        six                       1.16.0             pyh6c4a22f_0    conda-forge
        smmap                     3.0.5              pyh44b312d_0    conda-forge
        sniffio                   1.2.0            py39hf3d152e_1    conda-forge
        snowballstemmer           2.1.0              pyhd8ed1ab_0    conda-forge
        sqlalchemy                1.4.23           py39h3811e60_0    conda-forge
        sqlite                    3.36.0               h9cd32fc_0    conda-forge
        stringcase                1.2.0                    pypi_0    pypi
        tenacity                  8.0.1              pyhd8ed1ab_0    conda-forge
        terminado                 0.11.1           py39hf3d152e_0    conda-forge
        testpath                  0.5.0              pyhd8ed1ab_0    conda-forge
        textwrap3                 0.9.2                      py_0    conda-forge
        tk                        8.6.11               h21135ba_0    conda-forge
        toml                      0.10.2             pyhd8ed1ab_0    conda-forge
        tomli                     1.2.1              pyhd8ed1ab_0    conda-forge
        tornado                   6.1              py39h3811e60_1    conda-forge
        tqdm                      4.62.1             pyhd8ed1ab_0    conda-forge
        traitlets                 5.0.5                      py_0    conda-forge
        typed-ast                 1.4.3            py39h3811e60_0    conda-forge
        typeguard                 2.12.1             pyhd8ed1ab_0    conda-forge
        typing-extensions         3.10.0.0             hd8ed1ab_0    conda-forge
        typing-inspect            0.7.1                    pypi_0    pypi
        typing_extensions         3.10.0.0           pyha770c72_0    conda-forge
        tzdata                    2021a                he74cb21_1    conda-forge
        ujson                     4.0.2            py39he80948d_0    conda-forge
        unixodbc                  2.3.9                hb166930_0    conda-forge
        urllib3                   1.26.6             pyhd8ed1ab_0    conda-forge
        wcwidth                   0.2.5              pyh9f0ad1d_2    conda-forge
        webencodings              0.5.1                      py_1    conda-forge
        websocket-client          0.57.0           py39hf3d152e_4    conda-forge
        wheel                     0.37.0             pyhd8ed1ab_1    conda-forge
        widgetsnbextension        3.5.1            py39hf3d152e_4    conda-forge
        wrapt                     1.12.1           py39h3811e60_3    conda-forge
        xeus                      1.0.4                h7d0c39e_0    conda-forge
        xeus-python               0.12.5           py39h1aaad98_2    conda-forge
        xz                        5.2.5                h516909a_1    conda-forge
        yaml                      0.2.5                h516909a_0    conda-forge
        yapf                      0.31.0             pyhd8ed1ab_0    conda-forge
        yarl                      1.6.3            py39h3811e60_2    conda-forge
        zeromq                    4.3.4                h9c3ff4c_0    conda-forge
        zipp                      3.5.0              pyhd8ed1ab_0    conda-forge
        zlib                      1.2.11            h516909a_1010    conda-forge
        zstd                      1.5.0                ha95c52a_0    conda-forge

conda env:
        name: base
        channels:
          - conda-forge
        dependencies:
          - _libgcc_mutex=0.1=conda_forge
          - _openmp_mutex=4.5=1_gnu
          - aiohttp=3.7.4.post0=py39h3811e60_0
          - alembic=1.6.5=pyhd8ed1ab_0
          - ansiwrap=0.8.4=py_0
          - anyio=3.3.0=py39hf3d152e_0
          - appdirs=1.4.4=pyh9f0ad1d_0
          - argon2-cffi=20.1.0=py39h3811e60_2
          - astroid=2.7.2=py39hf3d152e_0
          - async-timeout=3.0.1=py_1000
          - async_generator=1.10=py_0
          - attrs=21.2.0=pyhd8ed1ab_0
          - autopep8=1.5.7=pyhd8ed1ab_0
          - babel=2.9.1=pyh44b312d_0
          - backcall=0.2.0=pyh9f0ad1d_0
          - backports=1.0=py_2
          - backports.functools_lru_cache=1.6.4=pyhd8ed1ab_0
          - black=21.7b0=pyhd8ed1ab_0
          - bleach=4.0.0=pyhd8ed1ab_0
          - blinker=1.4=py_1
          - brotlipy=0.7.0=py39h3811e60_1001
          - bzip2=1.0.8=h7f98852_4
          - c-ares=1.17.2=h7f98852_0
          - ca-certificates=2021.5.30=ha878542_0
          - certifi=2021.5.30=py39hf3d152e_0
          - certipy=0.1.3=py_0
          - cffi=1.14.6=py39he32792d_0
          - chardet=4.0.0=py39hf3d152e_1
          - charset-normalizer=2.0.0=pyhd8ed1ab_0
          - click=8.0.1=py39hf3d152e_0
          - colorama=0.4.4=pyh9f0ad1d_0
          - conda=4.10.3=py39hf3d152e_0
          - conda-package-handling=1.7.3=py39h3811e60_0
          - configurable-http-proxy=4.5.0=node14_hfc12e6c_0
          - cryptography=3.4.7=py39hbca0aa6_0
          - cycler=0.10.0=py_2
          - dataclasses=0.8=pyhc8e2a94_3
          - debugpy=1.4.1=py39he80948d_0
          - decorator=5.0.9=pyhd8ed1ab_0
          - defusedxml=0.7.1=pyhd8ed1ab_0
          - docstring-to-markdown=0.9=pyhd8ed1ab_0
          - entrypoints=0.3=pyhd8ed1ab_1003
          - flake8=3.9.2=pyhd8ed1ab_0
          - freetds=1.1.15=h94af77a_0
          - freetype=2.10.4=h0708190_1
          - gitdb=4.0.7=pyhd8ed1ab_0
          - gitpython=3.1.18=pyhd8ed1ab_0
          - greenlet=1.1.1=py39he80948d_0
          - icu=68.1=h58526e2_0
          - idna=3.1=pyhd3deb0d_0
          - importlib-metadata=4.6.4=py39hf3d152e_0
          - ipykernel=6.2.0=py39hef51801_0
          - ipympl=0.7.0=pyhd8ed1ab_0
          - ipynbname=2021.3.2=pyhd8ed1ab_0
          - ipysheet=0.5.0=pyhd8ed1ab_0
          - ipython=7.26.0=py39hef51801_0
          - ipython_genutils=0.2.0=py_1
          - ipywidgets=7.6.3=pyhd3deb0d_0
          - isort=5.9.3=pyhd8ed1ab_0
          - jbig=2.1=h7f98852_2003
          - jedi=0.18.0=py39hf3d152e_2
          - jedi-language-server=0.34.3=pyhd8ed1ab_0
          - jinja2=3.0.1=pyhd8ed1ab_0
          - jpeg=9d=h36c2ea0_0
          - json5=0.9.5=pyh9f0ad1d_0
          - jsonschema=3.2.0=pyhd8ed1ab_3
          - jupyter-lsp=1.4.1=pyhd8ed1ab_0
          - jupyter-resource-usage=0.5.1=pyhd8ed1ab_0
          - jupyter-server-mathjax=0.2.3=pyhd8ed1ab_0
          - jupyter-server-proxy=3.1.0=pyhd8ed1ab_0
          - jupyter_client=6.1.12=pyhd8ed1ab_0
          - jupyter_core=4.7.1=py39hf3d152e_0
          - jupyter_server=1.10.2=pyhd8ed1ab_0
          - jupyter_telemetry=0.1.0=pyhd8ed1ab_1
          - jupyterhub=1.4.2=py39hf3d152e_0
          - jupyterhub-base=1.4.2=py39hf3d152e_0
          - jupyterlab=3.1.7=pyhd8ed1ab_0
          - jupyterlab-git=0.32.2=pyhd8ed1ab_0
          - jupyterlab-lsp=3.8.1=pyhd8ed1ab_0
          - jupyterlab-spellchecker=0.7.0=pyhd8ed1ab_0
          - jupyterlab-system-monitor=0.8.0=pyhd8ed1ab_1
          - jupyterlab-topbar=0.6.1=pyhd8ed1ab_2
          - jupyterlab_execute_time=2.0.5=pyhd8ed1ab_0
          - jupyterlab_pygments=0.1.2=pyh9f0ad1d_0
          - jupyterlab_server=2.7.1=pyhd8ed1ab_0
          - jupyterlab_widgets=1.0.0=pyhd8ed1ab_1
          - kiwisolver=1.3.1=py39h1a9c180_1
          - krb5=1.19.2=hcc1bbae_0
          - lazy-object-proxy=1.6.0=py39h3811e60_0
          - lcms2=2.12=hddcbb42_0
          - ld_impl_linux-64=2.36.1=hea4e1c9_2
          - lerc=2.2.1=h9c3ff4c_0
          - libarchive=3.5.1=hccf745f_2
          - libblas=3.9.0=11_linux64_openblas
          - libcblas=3.9.0=11_linux64_openblas
          - libcurl=7.78.0=h2574ce0_0
          - libdeflate=1.7=h7f98852_5
          - libedit=3.1.20191231=he28a2e2_2
          - libev=4.33=h516909a_1
          - libffi=3.3=h58526e2_2
          - libgcc-ng=11.1.0=hc902ee8_8
          - libgfortran-ng=11.1.0=h69a702a_8
          - libgfortran5=11.1.0=h6c583b3_8
          - libgomp=11.1.0=hc902ee8_8
          - libiconv=1.16=h516909a_0
          - liblapack=3.9.0=11_linux64_openblas
          - libnghttp2=1.43.0=h812cca2_0
          - libopenblas=0.3.17=pthreads_h8fe5266_1
          - libpng=1.6.37=h21135ba_2
          - libpq=13.3=hd57d9b9_0
          - libsodium=1.0.18=h36c2ea0_1
          - libsolv=0.7.19=h780b84a_5
          - libssh2=1.9.0=ha56f1ee_6
          - libstdcxx-ng=11.1.0=h56837e0_8
          - libtiff=4.3.0=hf544144_1
          - libuuid=2.32.1=h7f98852_1000
          - libuv=1.42.0=h7f98852_0
          - libwebp-base=1.2.1=h7f98852_0
          - libxml2=2.9.12=h72842e0_0
          - lz4-c=1.9.3=h9c3ff4c_1
          - lzo=2.10=h516909a_1000
          - mako=1.1.5=pyhd8ed1ab_0
          - mamba=0.15.3=py39h951de11_0
          - markupsafe=2.0.1=py39h3811e60_0
          - matplotlib-base=3.4.3=py39h2fa2bec_0
          - matplotlib-inline=0.1.2=pyhd8ed1ab_2
          - mccabe=0.6.1=py_1
          - mistune=0.8.4=py39h3811e60_1004
          - mplcursors=0.4=pyhd8ed1ab_0
          - multidict=5.1.0=py39h3811e60_1
          - mypy_extensions=0.4.3=py39hf3d152e_3
          - nb_conda_kernels=2.3.1=py39hf3d152e_0
          - nbclassic=0.3.1=pyhd8ed1ab_1
          - nbclient=0.5.4=pyhd8ed1ab_0
          - nbconvert=6.1.0=py39hf3d152e_0
          - nbdime=3.1.0=pyhd8ed1ab_0
          - nbformat=5.1.3=pyhd8ed1ab_0
          - ncurses=6.2=h58526e2_4
          - nest-asyncio=1.5.1=pyhd8ed1ab_0
          - nodejs=14.17.4=h92b4a50_0
          - notebook=6.4.3=pyha770c72_0
          - nteract_on_jupyter=2.1.3=py_0
          - numpy=1.21.2=py39hdbf815f_0
          - oauthlib=3.1.1=pyhd8ed1ab_0
          - olefile=0.46=pyh9f0ad1d_1
          - openjpeg=2.4.0=hb52868f_1
          - openssl=1.1.1k=h7f98852_1
          - packaging=21.0=pyhd8ed1ab_0
          - pamela=1.0.0=py_0
          - pandoc=2.14.1=h7f98852_0
          - pandocfilters=1.4.2=py_1
          - papermill=2.3.3=pyhd8ed1ab_0
          - parso=0.8.2=pyhd8ed1ab_0
          - pathspec=0.9.0=pyhd8ed1ab_0
          - pexpect=4.8.0=pyh9f0ad1d_2
          - pickleshare=0.7.5=py_1003
          - pillow=8.3.1=py39ha612740_0
          - pip=21.2.4=pyhd8ed1ab_0
          - platformdirs=2.2.0=pyhd8ed1ab_1
          - pluggy=0.13.1=py39hf3d152e_4
          - prometheus_client=0.11.0=pyhd8ed1ab_0
          - prompt-toolkit=3.0.19=pyha770c72_0
          - pscript=0.7.5=pyhd3deb0d_0
          - psutil=5.8.0=py39h3811e60_1
          - psycopg2=2.9.1=py39h3811e60_0
          - ptyprocess=0.7.0=pyhd3deb0d_0
          - pycodestyle=2.7.0=pyhd8ed1ab_0
          - pycosat=0.6.3=py39h3811e60_1006
          - pycparser=2.20=pyh9f0ad1d_2
          - pycurl=7.44.1=py39h72e3413_0
          - pydantic=1.8.2=py39h3811e60_0
          - pydocstyle=6.1.1=pyhd8ed1ab_0
          - pyflakes=2.3.1=pyhd8ed1ab_0
          - pygls=0.11.2=pyhd8ed1ab_0
          - pygments=2.10.0=pyhd8ed1ab_0
          - pyjwt=2.1.0=pyhd8ed1ab_0
          - pylint=2.10.2=pyhd8ed1ab_0
          - pymssql=2.1.5=py39he80948d_2
          - pyodbc=4.0.32=py39he80948d_0
          - pyopenssl=20.0.1=pyhd8ed1ab_0
          - pyparsing=2.4.7=pyh9f0ad1d_0
          - pyrsistent=0.17.3=py39h3811e60_2
          - pysocks=1.7.1=py39hf3d152e_3
          - python=3.9.6=h49503c6_1_cpython
          - python-dateutil=2.8.2=pyhd8ed1ab_0
          - python-editor=1.0.4=py_0
          - python-json-logger=2.0.1=pyh9f0ad1d_0
          - python-lsp-jsonrpc=1.0.0=pyhd8ed1ab_0
          - python-lsp-server=1.2.1=pyhd8ed1ab_0
          - python_abi=3.9=2_cp39
          - pytz=2021.1=pyhd8ed1ab_0
          - pyyaml=5.4.1=py39h3811e60_1
          - pyzmq=22.2.1=py39h37b5a0c_0
          - readline=8.1=h46c0cb4_0
          - regex=2021.8.21=py39h3811e60_0
          - reproc=14.2.1=h36c2ea0_0
          - reproc-cpp=14.2.1=h58526e2_0
          - requests=2.26.0=pyhd8ed1ab_0
          - requests-unixsocket=0.2.0=py_0
          - retrolab=0.2.2=pyhd8ed1ab_0
          - rope=0.19.0=pyhd8ed1ab_0
          - ruamel.yaml=0.17.13=py39h3811e60_0
          - ruamel.yaml.clib=0.2.2=py39h3811e60_2
          - ruamel_yaml=0.15.80=py39h3811e60_1004
          - send2trash=1.8.0=pyhd8ed1ab_0
          - setuptools=57.4.0=py39hf3d152e_0
          - simpervisor=0.4=pyhd8ed1ab_0
          - six=1.16.0=pyh6c4a22f_0
          - smmap=3.0.5=pyh44b312d_0
          - sniffio=1.2.0=py39hf3d152e_1
          - snowballstemmer=2.1.0=pyhd8ed1ab_0
          - sqlalchemy=1.4.23=py39h3811e60_0
          - sqlite=3.36.0=h9cd32fc_0
          - tenacity=8.0.1=pyhd8ed1ab_0
          - terminado=0.11.1=py39hf3d152e_0
          - testpath=0.5.0=pyhd8ed1ab_0
          - textwrap3=0.9.2=py_0
          - tk=8.6.11=h21135ba_0
          - toml=0.10.2=pyhd8ed1ab_0
          - tomli=1.2.1=pyhd8ed1ab_0
          - tornado=6.1=py39h3811e60_1
          - tqdm=4.62.1=pyhd8ed1ab_0
          - traitlets=5.0.5=py_0
          - typed-ast=1.4.3=py39h3811e60_0
          - typeguard=2.12.1=pyhd8ed1ab_0
          - typing-extensions=3.10.0.0=hd8ed1ab_0
          - typing_extensions=3.10.0.0=pyha770c72_0
          - tzdata=2021a=he74cb21_1
          - ujson=4.0.2=py39he80948d_0
          - unixodbc=2.3.9=hb166930_0
          - urllib3=1.26.6=pyhd8ed1ab_0
          - wcwidth=0.2.5=pyh9f0ad1d_2
          - webencodings=0.5.1=py_1
          - websocket-client=0.57.0=py39hf3d152e_4
          - wheel=0.37.0=pyhd8ed1ab_1
          - widgetsnbextension=3.5.1=py39hf3d152e_4
          - wrapt=1.12.1=py39h3811e60_3
          - xeus=1.0.4=h7d0c39e_0
          - xeus-python=0.12.5=py39h1aaad98_2
          - xz=5.2.5=h516909a_1
          - yaml=0.2.5=h516909a_0
          - yapf=0.31.0=pyhd8ed1ab_0
          - yarl=1.6.3=py39h3811e60_2
          - zeromq=4.3.4=h9c3ff4c_0
          - zipp=3.5.0=pyhd8ed1ab_0
          - zlib=1.2.11=h516909a_1010
          - zstd=1.5.0=ha95c52a_0
          - pip:
            - azure-core==1.17.0
            - azure-identity==1.6.1
            - data-catalog-gmo==0.1a55
            - dataclasses-json==0.5.4
            - deltalake==0.5.2
            - esg-scores-gmo==0.1a22
            - gmo-credential-manager==0.1a13
            - gmo-jupyter-share-link==0.3.6
            - holdings-gmo==0.1a73
            - jupyter-vscode-proxy==0.1
            - marshmallow==3.13.0
            - marshmallow-enum==1.5.1
            - matlab-production-server-client-gmo==1.1.21
            - msal==1.13.0
            - msal-extensions==0.3.0
            - networkx==2.6.2
            - pandas==1.3.2
            - plotly==5.2.2
            - portalocker==1.7.1
            - protobuf==3.17.3
            - pyarrow==5.0.0
            - python-dotenv==0.19.0
            - stringcase==1.2.0
            - typing-inspect==0.7.1
        prefix: /opt/conda
Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
Browser Output (recommended for all interface issues)
12364.bcd4554426e534c4224f.js:1 LSP: is_visible failed TypeError: Cannot read property 'model' of undefined
    at ae.context_from_active_document (364.bcd4554426e534c4224f.js:1)
    at ce.get_context (364.bcd4554426e534c4224f.js:1)
    at ce.is_visible (364.bcd4554426e534c4224f.js:1)
    at isVisible (364.bcd4554426e534c4224f.js:1)
    at e.isVisible (jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2)
    at e.get [as isVisible] (jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2)
    at l (jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2)
    at Object.o [as search] (jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2)
    at t.onUpdateRequest (jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2)
    at t.e.processMessage (jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2)
is_visible @ 364.bcd4554426e534c4224f.js:1
isVisible @ 364.bcd4554426e534c4224f.js:1
e.isVisible @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
get @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
l @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
o @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
t.onUpdateRequest @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
e.processMessage @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
b @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
t @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
y @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
requestAnimationFrame (async)
_ @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
n @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
e.fit @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
t.attachWidget @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
t.insertWidget @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
t.addWidget @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
ve @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
y @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
ge @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
createNewWidget @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
createNew @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
createWidget @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
_createOrOpenDocument @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
open @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
openOrReveal @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
(anonymous) @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
Promise.then (async)
execute @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
e.execute @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
(anonymous) @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
Promise.then (async)
x @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
execute @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
e.execute @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
p @ jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2
qe @ 3935.640625791c067ed14c45.js?v=640625791c067ed14c45:2
Je @ 3935.640625791c067ed14c45.js?v=640625791c067ed14c45:2
en @ 3935.640625791c067ed14c45.js?v=640625791c067ed14c45:2
Yr @ 3935.640625791c067ed14c45.js?v=640625791c067ed14c45:2
Xr @ 3935.640625791c067ed14c45.js?v=640625791c067ed14c45:2
(anonymous) @ 3935.640625791c067ed14c45.js?v=640625791c067ed14c45:2
Ae @ 3935.640625791c067ed14c45.js?v=640625791c067ed14c45:2
We @ 3935.640625791c067ed14c45.js?v=640625791c067ed14c45:2
tl @ 3935.640625791c067ed14c45.js?v=640625791c067ed14c45:2
ft @ 3935.640625791c067ed14c45.js?v=640625791c067ed14c45:2
ct @ 3935.640625791c067ed14c45.js?v=640625791c067ed14c45:2
n.unstable_runWithPriority @ 3935.640625791c067ed14c45.js?v=640625791c067ed14c45:2
ha @ 3935.640625791c067ed14c45.js?v=640625791c067ed14c45:2
Fe @ 3935.640625791c067ed14c45.js?v=640625791c067ed14c45:2
it @ 3935.640625791c067ed14c45.js?v=640625791c067ed14c45:2
12364.bcd4554426e534c4224f.js:1 LSP: is_visible failed TypeError: Cannot read property 'model' of undefined
    at ae.context_from_active_document (364.bcd4554426e534c4224f.js:1)
    at ce.get_context (364.bcd4554426e534c4224f.js:1)
    at ce.is_visible (364.bcd4554426e534c4224f.js:1)
    at isVisible (364.bcd4554426e534c4224f.js:1)
    at e.isVisible (jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2)
    at e.get [as isVisible] (jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2)
    at l (jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2)
    at Object.o [as search] (jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2)
    at t.onUpdateRequest (jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2)
    at t.e.processMessage (jlab_core.e9e49407afea635b7583.js?v=e9e49407afea635b7583:2)

achimgaedke commented 3 years ago

I have set up the .lsp_symlinks to point to /home and /usr. The OS is debian-11.

Installing all as a private conda environment:

jupyterlab 3.1.9 and lsp from conda-forge

I can't access python modules located next to the notebook. "No jump targets found.", as described above.

I also fail to access python library modules, e.g. csv. Furthermore, the python library filename is changed from csv.py to csv.py (external) - which corrupts the conda based python installation. :scream:

Installing all as a venv using the system's python3.9:

The behaviour changes, when trying to reproduce the findings with a venv environment. An editor window appears with the csv.py and the jupyter-lab logs show

[W 2021-09-05 11:31:44.418 ServerApp] 403 GET /api/contents/.lsp_symlink/usr/lib/python3.9/csv.py/checkpoints?1630798304412 (::1) 2.10ms referer=http://localhost:8888/lab/tree/.lsp_symlink/usr/lib/python3.9/csv.py
[W 2021-09-05 11:31:44.464 ServerApp] 403 GET /api/contents/.lsp_symlink/usr/lib/python3.9/csv.py/checkpoints?1630798304450 (::1): Permission denied: .lsp_symlink/usr/lib/python3.9/.ipynb_checkpoints
[W 2021-09-05 11:31:44.465 ServerApp] Permission denied: .lsp_symlink/usr/lib/python3.9/.ipynb_checkpoints
[W 2021-09-05 11:31:44.466 ServerApp] 403 GET /api/contents/.lsp_symlink/usr/lib/python3.9/csv.py/checkpoints?1630798304450 (::1) 3.33ms referer=http://localhost:8888/lab/tree/.lsp_symlink/usr/lib/python3.9/csv.py
[W 2021-09-05 11:31:44.485 ServerApp] 403 PATCH /api/contents/.lsp_symlink/usr/lib/python3.9/csv.py?1630798304478 (::1): Permission denied: .lsp_symlink/usr/lib/python3.9/csv.py (external)
[W 2021-09-05 11:31:44.486 ServerApp] Permission denied: .lsp_symlink/usr/lib/python3.9/csv.py (external)

and so on...

No luck with the local modules.

krassowski commented 3 years ago

Furthermore, the python library filename is changed from csv.py to csv.py (external) - which corrupts the conda based python installation. scream

Ouch, that's bad! Thank you for letting me know (this is due to a change of the behaviour in JupyterLab 3.1 I believe; previously changing tab title was just that, but now it apparently actually changes the file name on the disk :scream:

achimgaedke commented 3 years ago

Please let me know whether you like to have a fully "engineered" example project for reproducing my finding. - Weather is too good at the moment, so I didn't prepare one upfront.

Btw, I really appreciate the jupyterlab-lsp extension.

krassowski commented 3 years ago

@jabbera, @achimgaedke As for the original issue of code navigation when starting JupyterLab from a root directory (which I do not recommend, but I consider it a valid use case nonetheless):

The problem is that the language server does not know where is your project. This extension assumes that it is in the place where you started the JupyterLab, as it is typically started within the project directory. In that case you need to instruct the language server to scan additional paths. As I see that you have python-lsp-server installed, I can recommend trying to set: pylsp.plugins.jedi.extra_paths (see the https://github.com/python-lsp/python-lsp-server/blob/develop/CONFIGURATION.md), by going to SettingsAdvanced Settings EditorLanguage Server and pasting the following (after appropriate modifications) into the User Preferences (right pane):

{
    "language_servers": {
        "pylsp": {
            "serverSettings": {
                "pylsp.plugins.jedi.extra_paths": ["/some/path"]
            }
        }
    }
}

(do not forget to save). I am not sure how the path should look for you, I guess it will depend on the operating system you use.

I have just tested it on binder, and it works for sub-folders:

Screenshot from 2021-09-05 01-05-16

(before setting test I was not able to jump to definition of x, but after that I was able to do so).

@achimgaedke I see what is causing this issue (it is the same as https://github.com/jupyterlab/jupyterlab/issues/10856#issue-972712283), but your feedback led me to reevaluate the importance of it; I can only recommend not using .lsp_symlinks with JupyterLab 3.1 for now, but I really hope we can fix it upstream soon.

krassowski commented 3 years ago

And please let me know if it helped in your setup, as this one is a common question and a good candidate to be added to the documentation :)

achimgaedke commented 3 years ago

Excellent, that solves the problem of accessing python code in a local notebook project.

It would be great to refer to the necessity of this configuration also in the https://github.com/krassowski/jupyterlab-lsp#jump-to-definition section.

I'm still a bit puzzled why I need to provide the path. Given that the language server has to consider the kernel's PYTHONPATH anyway, which contains the PWD of the python process (implying a notebook location if located on a file system). That bit of information would allow static analysis to predict what the importer would do. - Hmm maybe I need to read more about how and when the LSP process is started and investigates the execution environment.

mathematicalmichael commented 2 years ago

just lost a couple hours to trying to understand what was happening.

here's a summary for anyone else coming across it:

pip install 'jupyterlab~=3.0.0' && \
    pip install jupyterlab-lsp==3.9.0 jupyter-lsp==1.4.1 && \
    # pip install git+https://github.com/krassowski/python-language-server.git@main && \
    pip install 'python-lsp-server[all]' && \
    mkdir -p /home/jovyan/.lsp_symlink && \
    cd /home/jovyan/.lsp_symlink && \
    ln -s /home home && \
    ln -s /opt opt

(the commented out line was me trying to rule out the python language server as the cause of the problem, I suppose either one can be used, and the pinned versions are also an artifact of trying to nail down the problem, should also be removable but I wanted to document a working example)

question: is it supposed to be ln -s /home home or ln -s /home/jovyan home? the instructions are not exactly clear but I presume the mappings should mirror the real paths.

UPDATE:

juanep97 commented 2 years ago

Hello! I think just removing the renaming of the tab would be a good idea, it would instantly fix the -currently present- bug and I don't think renaming the tab is essential... even if it is nice, no renaming is better than jumping not working :)

$ git diff fix_jumping origin/master
diff --git a/packages/code-jumpers/src/jumpers/jumper.ts b/packages/code-jumpers/src/jumpers/jumper.ts
index 4237c7d..714af70 100644
--- a/packages/code-jumpers/src/jumpers/jumper.ts
+++ b/packages/code-jumpers/src/jumpers/jumper.ts
@@ -91,7 +91,7 @@ export abstract class CodeJumper {

   private protectFromAccidentalEditing(document_widget: IDocumentWidget) {
     let editor_widget = document_widget as IDocumentWidget<FileEditor>;
-    editor_widget.title.label = editor_widget.title.label + '';
+    editor_widget.title.label = editor_widget.title.label + ' (external)';
     let editor = editor_widget.content.editor;
     let disposable = editor.addKeydownHandler(
       (editor: IEditor, event: KeyboardEvent) => {

I checked that this way it works.

krassowski commented 2 years ago

Yes, that would be a good workaround for now. Though obviously changing the title label should not be bound to changing file name (as described in https://github.com/jupyterlab/jupyterlab/issues/10856).

krassowski commented 2 years ago

@jepcor97 would you like to send a PR?

juanep97 commented 2 years ago

Yes, fine!

krassowski commented 2 years ago

The fix from #712 was included in newly released v3.9.2. Many thank to @jepcor97 for the help with this one!