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

R language server (r-languageserver) does not initialize #266

Closed schmittst closed 3 years ago

schmittst commented 4 years ago

Description

I have an issue with jupyterlab-lsp. I am new to JupyterLab and use it within a Docker (jupyter/datascience-notebook:latest) and within a Galaxy installation (but I have the same issue without Galaxy). I installed jupyterlab-lsp as described in the manual (incl. R and Python LSP) and the language server for Python (pyls) initializes correctly and and jupyterlab-lsp works as expected. However, when I switch to the R kernel the jupyterlab-lsp stops as "connecting..." for a while and then just says "connected" for the r-languageserver (instead of "initialized" as it does for pyls). As one would expect, jupyterlab-lsp then does not work for the R notebook (i.e. does not display any suggestions).

Reproduce

  1. Get the jupyter/datascience-notebook:latest (build f9b134f) image
  2. Modify the DOCKERFILE to install (I) jupyter-lsp including all steps as described in the manual (incl. the language servers: pip install python-language-server, R -e 'install.packages("languageserver")'
  3. Start JupyterLab
  4. Open a Python Notebook
  5. Open a R Notebook

Expected behavior

For 4. and 5. from above I would expect the language server switching to "initialized" for both notebooks. This works for 4. (and e.g. autocomplete works) but not for 5. (here jupyterlab-lsp only shows "connected"). Expecially the output of the Browser JS concsole (see below) i find strange. Hee I get an "TypeError: can't convert undefined to object manager.js:" when opeing an R notebook. When opening an Python Notebook this does not happen.

Any ideas on how to solve this?

Context

Required: installed server extensions
config dir: /opt/conda/etc/jupyter
    ipyparallel.nbextension  enabled 
    - Validating...
      ipyparallel.nbextension  OK
    jupyter_lsp  enabled 
    - Validating...
      jupyter_lsp 0.8.0 OK
    jupyterlab  enabled 
    - Validating...
Required: installed lab extensions
JupyterLab v2.1.1
Known labextensions:
app dir: /opt/conda/share/jupyter/lab
        @bokeh/jupyter_bokeh v2.0.1  enabled  OK
        @jupyter-widgets/jupyterlab-manager v2.0.0  enabled  OK
        @krassowski/jupyterlab-lsp v1.0.0  enabled  OK
        jupyter-matplotlib v0.7.2  enabled  OK
Troubleshoot Output
$PATH:
        /home/jovyan/.local/bin
        /home/jovyan/.local/bin
        /opt/conda/bin
        /usr/local/sbin
        /usr/local/bin
        /usr/sbin
        /usr/bin
        /sbin
        /bin

sys.path:
        /opt/conda/bin
        /opt/conda/lib/python37.zip
        /opt/conda/lib/python3.7
        /opt/conda/lib/python3.7/lib-dynload
        /home/jovyan/.local/lib/python3.7/site-packages
        /opt/conda/lib/python3.7/site-packages

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

sys.version:
        3.7.7 (default, Mar 26 2020, 15:48:22) 
        [GCC 7.3.0]

platform.platform():
        Linux-4.18.0-147.8.1.el8_1.x86_64-x86_64-with-debian-buster-sid

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

pip list:
        Package                Version
        ---------------------- ----------------------------
        absl-py                0.9.0
        alembic                1.4.2
        ansible                2.9.7
        ansible-kernel         0.9.0
        ansible-runner         1.4.6
        appdirs                1.4.3
        astor                  0.8.0
        astroid                2.3.3
        async-generator        1.10
        attrs                  19.3.0
        autopep8               1.5.2
        backcall               0.1.0
        bash-kernel            0.7.2
        bcrypt                 3.1.7
        beautifulsoup4         4.9.0
        bioblend               0.13.0
        biopython              1.76
        bleach                 3.1.4
        blinker                1.4
        bokeh                  2.0.2
        boto                   2.49.0
        Bottleneck             1.3.2
        brotlipy               0.7.0
        cachetools             3.1.1
        certifi                2020.4.5.1
        certipy                0.1.3
        cffi                   1.14.0
        chardet                3.0.4
        click                  7.1.2
        cloudpickle            1.4.1
        conda                  4.8.3
        conda-package-handling 1.6.0
        cryptography           2.9.2
        cycler                 0.10.0
        Cython                 0.29.17
        cytoolz                0.10.1
        dask                   2.15.0
        decorator              4.4.2
        defusedxml             0.6.0
        dill                   0.3.1.1
        distributed            2.15.2
        docopt                 0.6.2
        docutils               0.16
        dogpile.cache          0.9.1
        entrypoints            0.3
        fastcache              1.1.0
        findspark              1.3.0
        flake8                 3.7.9
        fsspec                 0.7.3
        future                 0.18.2
        galaxy-ie-helpers      0.2.5
        gast                   0.2.2
        gmpy2                  2.1.0b1
        google-auth            1.14.1
        google-auth-oauthlib   0.4.1
        google-pasta           0.2.0
        grpcio                 1.27.2
        h5py                   2.10.0
        HeapDict               1.0.1
        httplib2               0.17.3
        idna                   2.9
        imageio                2.8.0
        importlib-metadata     1.6.0
        ipykernel              5.2.1
        ipympl                 0.5.6
        ipyparallel            6.2.5
        ipython                7.14.0
        ipython-genutils       0.2.0
        ipywidgets             7.5.1
        iso8601                0.1.12
        isort                  4.3.21
        jedi                   0.15.2
        Jinja2                 2.11.2
        jmespath               0.9.5
        joblib                 0.14.1
        json5                  0.9.4
        jsonpatch              1.24
        jsonpointer            2.0
        jsonschema             3.2.0
        jupyter-bokeh          2.0.1
        jupyter-client         6.1.3
        jupyter-core           4.6.3
        jupyter-lsp            0.8.0
        jupyter-telemetry      0.0.5
        jupyterhub             1.1.0
        jupyterlab             2.1.1
        jupyterlab-server      1.1.1
        Keras-Applications     1.0.8
        Keras-Preprocessing    1.1.0
        keystoneauth1          4.0.0
        kiwisolver             1.2.0
        lazy-object-proxy      1.4.3
        llvmlite               0.32.0
        locket                 0.2.0
        lockfile               0.12.2
        Mako                   1.1.2
        Markdown               3.2.1
        MarkupSafe             1.1.1
        matplotlib             3.2.1
        mccabe                 0.6.1
        metakernel             0.24.4
        mistune                0.8.4
        mock                   4.0.2
        mpmath                 1.1.0
        msgpack                1.0.0
        munch                  2.5.0
        nbconvert              5.6.1
        nbformat               5.0.6
        netifaces              0.10.9
        networkx               2.4
        notebook               6.0.3
        numba                  0.49.0
        numexpr                2.7.1
        numpy                  1.18.1
        oauthlib               3.1.0
        octave-kernel          0.31.1
        olefile                0.46
        openstacksdk           0.46.0
        opt-einsum             0+untagged.56.g2664021.dirty
        os-service-types       1.7.0
        packaging              20.3
        pamela                 1.0.0
        pandas                 1.0.3
        pandocfilters          1.4.2
        paramiko               2.7.1
        parso                  0.7.0
        partd                  1.1.0
        patsy                  0.5.1
        pbr                    5.4.4
        pexpect                4.8.0
        pickleshare            0.7.5
        Pillow                 7.1.2
        pip                    20.1
        pluggy                 0.13.1
        portalocker            1.7.0
        prometheus-client      0.7.1
        prompt-toolkit         3.0.5
        protobuf               3.11.4
        psutil                 5.7.0
        ptyprocess             0.6.0
        pyasn1                 0.4.8
        pyasn1-modules         0.2.7
        pycodestyle            2.5.0
        pycosat                0.6.3
        pycparser              2.20
        pycrypto               2.6.1
        pycurl                 7.43.0.5
        pydocstyle             5.0.2
        pyflakes               2.1.1
        Pygments               2.6.1
        PyJWT                  1.7.1
        pylint                 2.5.0
        PyNaCl                 1.3.0
        pyOpenSSL              19.1.0
        pyparsing              2.4.7
        pyrsistent             0.16.0
        PySocks                1.7.1
        python-daemon          2.2.4
        python-dateutil        2.8.1
        python-editor          1.0.4
        python-json-logger     0.1.11
        python-jsonrpc-server  0.3.4
        python-language-server 0.31.10
        pytz                   2020.1
        PyWavelets             1.1.1
        PyYAML                 5.3.1
        pyzmq                  19.0.0
        requests               2.23.0
        requests-oauthlib      1.3.0
        requests-toolbelt      0.9.1
        requestsexceptions     1.4.0
        rope                   0.16.0
        rpy2                   3.1.0
        rsa                    4.0
        ruamel-yaml            0.15.80
        ruamel.yaml            0.16.10
        ruamel.yaml.clib       0.2.0
        scikit-image           0.16.2
        scikit-learn           0.22.2.post1
        scipy                  1.4.1
        seaborn                0.10.1
        Send2Trash             1.5.0
        setuptools             46.1.3.post20200325
        simplegeneric          0.8.1
        six                    1.14.0
        snowballstemmer        2.0.0
        sortedcontainers       2.1.0
        soupsieve              2.0
        spylon                 0.3.0
        spylon-kernel          0.4.1
        SQLAlchemy             1.3.16
        statsmodels            0.11.1
        stevedore              1.30.1
        sympy                  1.5.1
        tables                 3.6.1
        tblib                  1.6.0
        tensorboard            2.1.1
        tensorflow             2.1.0
        tensorflow-estimator   2.1.0
        termcolor              1.1.0
        terminado              0.8.3
        testpath               0.4.4
        toolz                  0.10.0
        tornado                6.0.4
        tqdm                   4.45.0
        traitlets              4.3.3
        typed-ast              1.4.1
        typing-extensions      3.7.4.1
        tzlocal                2.0.0
        ujson                  1.35
        urllib3                1.25.9
        vincent                0.4.4
        wcwidth                0.1.9
        webencodings           0.5.1
        Werkzeug               1.0.1
        wheel                  0.34.2
        widgetsnbextension     3.5.1
        wrapt                  1.12.1
        xlrd                   1.2.0
        yapf                   0.29.0
        zict                   2.0.0
        zipp                   3.1.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_llvm    conda-forge
        _r-mutex                  1.0.1               anacondar_1    conda-forge
        _tflow_select             2.3.0                       mkl    defaults
        absl-py                   0.9.0            py37hc8dfbb8_1    conda-forge
        alembic                   1.4.2              pyh9f0ad1d_0    conda-forge
        ansible                   2.9.7            py37hc8dfbb8_0    conda-forge
        ansible-kernel            0.9.0                    py37_0    conda-forge
        ansible-runner            1.4.6              pyh9f0ad1d_0    conda-forge
        appdirs                   1.4.3                      py_1    conda-forge
        astor                     0.8.0                    py37_0    defaults
        astroid                   2.3.3                    py37_1    conda-forge
        async_generator           1.10                       py_0    conda-forge
        attrs                     19.3.0                     py_0    conda-forge
        autopep8                  1.5.2              pyh9f0ad1d_0    conda-forge
        backcall                  0.1.0                      py_0    conda-forge
        bash_kernel               0.7.2                      py_0    conda-forge
        bcrypt                    3.1.7            py37h8f50634_1    conda-forge
        beautifulsoup4            4.9.0            py37hc8dfbb8_0    conda-forge
        binutils_impl_linux-64    2.34                 h53a641e_0    conda-forge
        binutils_linux-64         2.34                hc952b39_18    conda-forge
        bioblend                  0.13.0                   pypi_0    pypi
        biopython                 1.76             py37h516909a_0    conda-forge
        blas                      2.16                   openblas    conda-forge
        bleach                    3.1.4              pyh9f0ad1d_0    conda-forge
        blinker                   1.4                        py_1    conda-forge
        blosc                     1.18.1               he1b5a44_0    conda-forge
        bokeh                     2.0.2                    py37_0    defaults
        boto                      2.49.0                     py_0    conda-forge
        bottleneck                1.3.2            py37h03ebfcd_1    conda-forge
        brotlipy                  0.7.0           py37h8f50634_1000    conda-forge
        bwidget                   1.9.14                        0    conda-forge
        bzip2                     1.0.8                h516909a_2    conda-forge
        c-ares                    1.15.0            h516909a_1001    conda-forge
        ca-certificates           2020.4.5.1           hecc5488_0    conda-forge
        cachetools                3.1.1                      py_0    conda-forge
        cairo                     1.16.0            hcf35c78_1003    conda-forge
        certifi                   2020.4.5.1       py37hc8dfbb8_0    conda-forge
        certipy                   0.1.3                      py_0    conda-forge
        cffi                      1.14.0           py37hd463f26_0    conda-forge
        chardet                   3.0.4           py37hc8dfbb8_1006    conda-forge
        click                     7.1.2              pyh9f0ad1d_0    conda-forge
        cloudpickle               1.4.1                      py_0    conda-forge
        conda                     4.8.3            py37hc8dfbb8_1    conda-forge
        conda-package-handling    1.6.0            py37h8f50634_2    conda-forge
        configurable-http-proxy   4.2.1           node13_he01fd0c_0    conda-forge
        cryptography              2.9.2            py37hb09aad4_0    conda-forge
        curl                      7.69.1               h33f0ec9_0    conda-forge
        cycler                    0.10.0                     py_2    conda-forge
        cython                    0.29.17          py37h3340039_0    conda-forge
        cytoolz                   0.10.1           py37h516909a_0    conda-forge
        dask                      2.15.0                     py_0    conda-forge
        dask-core                 2.15.0                     py_0    conda-forge
        decorator                 4.4.2                      py_0    conda-forge
        defusedxml                0.6.0                      py_0    conda-forge
        dill                      0.3.1.1          py37hc8dfbb8_1    conda-forge
        distributed               2.15.2           py37hc8dfbb8_0    conda-forge
        docopt                    0.6.2                      py_1    conda-forge
        docutils                  0.16             py37hc8dfbb8_1    conda-forge
        dogpile.cache             0.9.1              pyh9f0ad1d_0    conda-forge
        entrypoints               0.3             py37hc8dfbb8_1001    conda-forge
        fastcache                 1.1.0            py37h8f50634_1    conda-forge
        findspark                 1.3.0                      py_1    conda-forge
        flake8                    3.7.9            py37hc8dfbb8_1    conda-forge
        fontconfig                2.13.1            h86ecdb6_1001    conda-forge
        freetype                  2.10.1               he06d7ca_0    conda-forge
        fribidi                   1.0.9                h516909a_0    conda-forge
        fsspec                    0.7.3                      py_0    conda-forge
        future                    0.18.2           py37hc8dfbb8_1    conda-forge
        galaxy-ie-helpers         0.2.5                    pypi_0    pypi
        gast                      0.2.2                      py_0    conda-forge
        gcc_impl_linux-64         7.3.0                hd420e75_5    conda-forge
        gcc_linux-64              7.3.0               h553295d_18    conda-forge
        gettext                   0.19.8.1          hc5be6a0_1002    conda-forge
        gfortran_impl_linux-64    7.3.0                hdf63c60_5    conda-forge
        gfortran_linux-64         7.3.0               h553295d_18    conda-forge
        glib                      2.64.2               h6f030ca_0    conda-forge
        gmp                       6.2.0                he1b5a44_2    conda-forge
        gmpy2                     2.1.0b1          py37h04dde30_0    conda-forge
        google-auth               1.14.1             pyh9f0ad1d_0    conda-forge
        google-auth-oauthlib      0.4.1                      py_2    conda-forge
        google-pasta              0.2.0              pyh8c360ce_0    conda-forge
        graphite2                 1.3.13            he1b5a44_1001    conda-forge
        grpcio                    1.27.2           py37hf8bcb03_0    defaults
        gsl                       2.6                  h294904e_0    conda-forge
        gxx_impl_linux-64         7.3.0                hdf63c60_5    conda-forge
        gxx_linux-64              7.3.0               h553295d_18    conda-forge
        h5py                      2.10.0          nompi_py37h513d04c_102    conda-forge
        harfbuzz                  2.4.0                h9f30f68_3    conda-forge
        hdf5                      1.10.5          nompi_h3c11f04_1104    conda-forge
        heapdict                  1.0.1                      py_0    conda-forge
        httplib2                  0.17.3             pyh9f0ad1d_0    conda-forge
        icu                       64.2                 he1b5a44_1    conda-forge
        idna                      2.9                        py_1    conda-forge
        imageio                   2.8.0                      py_0    conda-forge
        importlib-metadata        1.6.0            py37hc8dfbb8_0    conda-forge
        importlib_metadata        1.6.0                         0    conda-forge
        ipykernel                 5.2.1            py37h43977f1_0    conda-forge
        ipympl                    0.5.6              pyh9f0ad1d_1    conda-forge
        ipyparallel               6.2.5            py37hc8dfbb8_0    conda-forge
        ipython                   7.14.0           py37hc8dfbb8_0    conda-forge
        ipython_genutils          0.2.0                      py_1    conda-forge
        ipywidgets                7.5.1                      py_0    conda-forge
        iso8601                   0.1.12                     py_1    conda-forge
        isort                     4.3.21           py37hc8dfbb8_1    conda-forge
        jedi                      0.15.2                   py37_0    conda-forge
        jinja2                    2.11.2             pyh9f0ad1d_0    conda-forge
        jmespath                  0.9.5                      py_0    conda-forge
        joblib                    0.14.1                     py_0    conda-forge
        jpeg                      9c                h14c3975_1001    conda-forge
        json5                     0.9.4                      py_0    defaults
        jsonpatch                 1.24                       py_0    conda-forge
        jsonpointer               2.0                        py_0    conda-forge
        jsonschema                3.2.0            py37hc8dfbb8_1    conda-forge
        jupyter-lsp               0.8.0                    pypi_0    pypi
        jupyter_bokeh             2.0.1                      py_0    bokeh
        jupyter_client            6.1.3                      py_0    conda-forge
        jupyter_core              4.6.3            py37hc8dfbb8_1    conda-forge
        jupyter_telemetry         0.0.5                      py_0    conda-forge
        jupyterhub                1.1.0                    py37_2    conda-forge
        jupyterhub-base           1.1.0                    py37_2    conda-forge
        jupyterlab                2.1.1                      py_0    conda-forge
        jupyterlab_server         1.1.1                      py_0    conda-forge
        keras-applications        1.0.8                      py_1    conda-forge
        keras-preprocessing       1.1.0                      py_0    conda-forge
        keystoneauth1             4.0.0                      py_0    conda-forge
        kiwisolver                1.2.0            py37h99015e2_0    conda-forge
        krb5                      1.17.1               h2fd8d38_0    conda-forge
        lazy-object-proxy         1.4.3            py37h8f50634_2    conda-forge
        ld_impl_linux-64          2.34                 h53a641e_0    conda-forge
        libblas                   3.8.0               16_openblas    conda-forge
        libcblas                  3.8.0               16_openblas    conda-forge
        libcurl                   7.69.1               hf7181ac_0    conda-forge
        libedit                   3.1.20181209         hc058e9b_0    defaults
        libffi                    3.2.1             he1b5a44_1007    conda-forge
        libgcc-ng                 9.2.0                h24d8f2e_2    conda-forge
        libgfortran-ng            7.3.0                hdf63c60_5    conda-forge
        libgomp                   9.2.0                h24d8f2e_2    conda-forge
        libiconv                  1.15              h516909a_1006    conda-forge
        liblapack                 3.8.0               16_openblas    conda-forge
        liblapacke                3.8.0               16_openblas    conda-forge
        libllvm8                  8.0.1                hc9558a2_0    conda-forge
        libopenblas               0.3.9                h5ec1e0e_0    conda-forge
        libpng                    1.6.37               hed695b0_1    conda-forge
        libprotobuf               3.11.4               h8b12597_0    conda-forge
        libsodium                 1.0.17               h516909a_0    conda-forge
        libssh2                   1.8.2                h22169c7_2    conda-forge
        libstdcxx-ng              9.2.0                hdf63c60_2    conda-forge
        libtiff                   4.1.0                hc7e4089_6    conda-forge
        libuuid                   2.32.1            h14c3975_1000    conda-forge
        libuv                     1.34.0               h516909a_0    conda-forge
        libwebp-base              1.1.0                h516909a_3    conda-forge
        libxcb                    1.13              h14c3975_1002    conda-forge
        libxml2                   2.9.10               hee79883_0    conda-forge
        llvm-openmp               10.0.0               hc9558a2_0    conda-forge
        llvmlite                  0.32.0           py37h5202443_0    conda-forge
        locket                    0.2.0                      py_2    conda-forge
        lockfile                  0.12.2                     py_1    conda-forge
        lz4-c                     1.9.2                he1b5a44_0    conda-forge
        lzo                       2.10              h14c3975_1000    conda-forge
        make                      4.3                  h516909a_0    conda-forge
        mako                      1.1.2                      py_0    defaults
        markdown                  3.2.1                      py_0    conda-forge
        markupsafe                1.1.1            py37h8f50634_1    conda-forge
        matplotlib-base           3.2.1            py37h30547a4_0    conda-forge
        mccabe                    0.6.1                      py_1    conda-forge
        metakernel                0.24.4             pyh9f0ad1d_0    conda-forge
        mistune                   0.8.4           py37h8f50634_1001    conda-forge
        mock                      4.0.2                      py_0    defaults
        mpc                       1.1.0             h04dde30_1007    conda-forge
        mpfr                      4.0.2                he80fd80_1    conda-forge
        mpmath                    1.1.0                      py_0    conda-forge
        msgpack-python            1.0.0            py37h99015e2_1    conda-forge
        munch                     2.5.0                      py_0    conda-forge
        nbconvert                 5.6.1            py37hc8dfbb8_1    conda-forge
        nbformat                  5.0.6                      py_0    conda-forge
        ncurses                   6.2                  he6710b0_1    defaults
        netifaces                 0.10.9          py37h8f50634_1002    conda-forge
        networkx                  2.4                        py_1    conda-forge
        nodejs                    13.13.0              hf5d1a2b_0    conda-forge
        notebook                  6.0.3                    py37_0    conda-forge
        numba                     0.49.0           py37h0573a6f_0    defaults
        numexpr                   2.7.1            py37h0da4684_1    conda-forge
        numpy                     1.18.1           py37h8960a57_1    conda-forge
        oauthlib                  3.1.0                      py_0    defaults
        octave_kernel             0.31.1             pyh9f0ad1d_0    conda-forge
        olefile                   0.46                       py_0    conda-forge
        openjdk                   8.0.152              h7b6447c_3    defaults
        openssl                   1.1.1g               h516909a_0    conda-forge
        openstacksdk              0.46.0                     py_0    conda-forge
        opt_einsum                3.2.1                      py_0    conda-forge
        os-service-types          1.7.0              pyh9f0ad1d_0    conda-forge
        packaging                 20.3                       py_0    defaults
        pamela                    1.0.0                      py_0    conda-forge
        pandas                    1.0.3            py37h0da4684_1    conda-forge
        pandoc                    2.9.2.1                       0    conda-forge
        pandocfilters             1.4.2                      py_1    conda-forge
        pango                     1.42.4               h7062337_4    conda-forge
        paramiko                  2.7.1                    py37_0    conda-forge
        parso                     0.7.0              pyh9f0ad1d_0    conda-forge
        partd                     1.1.0                      py_0    conda-forge
        patsy                     0.5.1                      py_0    conda-forge
        pbr                       5.4.4                      py_0    defaults
        pcre                      8.44                 he1b5a44_0    conda-forge
        pexpect                   4.8.0            py37hc8dfbb8_1    conda-forge
        pickleshare               0.7.5           py37hc8dfbb8_1001    conda-forge
        pillow                    7.1.2            py37h718be6c_0    conda-forge
        pip                       20.1               pyh9f0ad1d_0    conda-forge
        pixman                    0.38.0            h516909a_1003    conda-forge
        pluggy                    0.13.1                   py37_0    defaults
        portalocker               1.7.0            py37hc8dfbb8_0    conda-forge
        prometheus_client         0.7.1                      py_0    conda-forge
        prompt-toolkit            3.0.5                      py_0    conda-forge
        protobuf                  3.11.4           py37h3340039_1    conda-forge
        psutil                    5.7.0            py37h8f50634_1    conda-forge
        pthread-stubs             0.4               h14c3975_1001    conda-forge
        ptyprocess                0.6.0                   py_1001    conda-forge
        pyasn1                    0.4.8                      py_0    conda-forge
        pyasn1-modules            0.2.7                      py_0    conda-forge
        pycodestyle               2.5.0                      py_0    conda-forge
        pycosat                   0.6.3           py37h8f50634_1004    conda-forge
        pycparser                 2.20                       py_0    conda-forge
        pycrypto                  2.6.1           py37h8f50634_1004    conda-forge
        pycurl                    7.43.0.5         py37h16ce93b_0    conda-forge
        pydocstyle                5.0.2                      py_0    conda-forge
        pyflakes                  2.1.1                    py37_0    defaults
        pygments                  2.6.1                      py_0    conda-forge
        pyjwt                     1.7.1                      py_0    conda-forge
        pylint                    2.5.0                    py37_0    defaults
        pynacl                    1.3.0           py37h516909a_1001    conda-forge
        pyopenssl                 19.1.0                     py_1    conda-forge
        pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
        pyrsistent                0.16.0           py37h8f50634_0    conda-forge
        pysocks                   1.7.1            py37hc8dfbb8_1    conda-forge
        pytables                  3.6.1            py37h9f153d1_1    conda-forge
        python                    3.7.7           hcf32534_0_cpython    defaults
        python-daemon             2.2.4                    py37_1    conda-forge
        python-dateutil           2.8.1                      py_0    conda-forge
        python-editor             1.0.4                      py_0    conda-forge
        python-json-logger        0.1.11                     py_0    conda-forge
        python-jsonrpc-server     0.3.4                      py_0    conda-forge
        python-language-server    0.31.10          py37hc8dfbb8_0    conda-forge
        python_abi                3.7                     1_cp37m    conda-forge
        pytz                      2020.1             pyh9f0ad1d_0    conda-forge
        pywavelets                1.1.1            py37h03ebfcd_1    conda-forge
        pyyaml                    5.3.1            py37h8f50634_0    conda-forge
        pyzmq                     19.0.0           py37hac76be4_1    conda-forge
        r-askpass                 1.1               r36hcdcec82_2    conda-forge
        r-assertthat              0.2.1             r36h6115d3f_1    conda-forge
        r-backports               1.1.6             r36hcdcec82_2    conda-forge
        r-base                    3.6.3                h316533a_2    conda-forge
        r-base64enc               0.1_3           r36hcdcec82_1004    conda-forge
        r-bit                     1.1_15.2          r36hcdcec82_1    conda-forge
        r-bit64                   0.9_7           r36hcdcec82_1001    conda-forge
        r-bitops                  1.0_6           r36hcdcec82_1004    conda-forge
        r-blob                    1.2.1             r36h6115d3f_0    conda-forge
        r-brew                    1.0_6           r36h6115d3f_1002    conda-forge
        r-broom                   0.5.6             r36h6115d3f_0    conda-forge
        r-callr                   3.4.3             r36h6115d3f_0    conda-forge
        r-caret                   6.0_86            r36hcdcec82_1    conda-forge
        r-cellranger              1.1.0           r36h6115d3f_1002    conda-forge
        r-class                   7.3_17            r36hcdcec82_1    conda-forge
        r-cli                     2.0.2             r36h6115d3f_0    conda-forge
        r-clipr                   0.7.0             r36h6115d3f_0    conda-forge
        r-codetools               0.2_16          r36h6115d3f_1001    conda-forge
        r-colorspace              1.4_1             r36hcdcec82_2    conda-forge
        r-commonmark              1.7             r36hcdcec82_1001    conda-forge
        r-covr                    3.5.0             r36h0357c0b_0    conda-forge
        r-crayon                  1.3.4           r36h6115d3f_1002    conda-forge
        r-crosstalk               1.1.0.1           r36h6115d3f_0    conda-forge
        r-curl                    4.3               r36hcdcec82_1    conda-forge
        r-data.table              1.12.8            r36hcdcec82_1    conda-forge
        r-dbi                     1.1.0             r36h6115d3f_0    conda-forge
        r-dbplyr                  1.4.3             r36h6115d3f_0    conda-forge
        r-desc                    1.2.0           r36h6115d3f_1002    conda-forge
        r-devtools                2.3.0             r36h6115d3f_0    conda-forge
        r-digest                  0.6.25            r36h0357c0b_2    conda-forge
        r-dplyr                   0.8.5             r36h0357c0b_0    conda-forge
        r-dt                      0.13              r36h6115d3f_0    conda-forge
        r-ellipsis                0.3.0             r36hcdcec82_1    conda-forge
        r-evaluate                0.14              r36h6115d3f_1    conda-forge
        r-fansi                   0.4.1             r36hcdcec82_1    conda-forge
        r-farver                  2.0.3             r36h0357c0b_1    conda-forge
        r-fastmap                 1.0.1             r36h0357c0b_1    conda-forge
        r-forcats                 0.5.0             r36h6115d3f_0    conda-forge
        r-foreach                 1.5.0             r36h6115d3f_0    conda-forge
        r-forecast                8.12              r36hc8faad4_0    conda-forge
        r-fracdiff                1.5_1             r36hc57f18f_0    conda-forge
        r-fs                      1.4.1             r36h0357c0b_1    conda-forge
        r-generics                0.0.2           r36h6115d3f_1002    conda-forge
        r-ggplot2                 3.3.0             r36h6115d3f_0    conda-forge
        r-gh                      1.1.0             r36h6115d3f_0    conda-forge
        r-git2r                   0.26.1            r36h7253d3a_2    conda-forge
        r-glue                    1.4.0             r36hcdcec82_1    conda-forge
        r-gower                   0.2.1             r36hcdcec82_1    conda-forge
        r-gtable                  0.3.0             r36h6115d3f_2    conda-forge
        r-haven                   2.2.0             r36hde08347_0    conda-forge
        r-hexbin                  1.28.1            r36h9bbef5b_1    conda-forge
        r-highr                   0.8               r36h6115d3f_1    conda-forge
        r-hms                     0.5.3             r36h6115d3f_0    conda-forge
        r-htmltools               0.4.0             r36h0357c0b_0    conda-forge
        r-htmlwidgets             1.5.1             r36h6115d3f_0    conda-forge
        r-httpuv                  1.5.2             r36h0357c0b_1    conda-forge
        r-httr                    1.4.1             r36h6115d3f_1    conda-forge
        r-ini                     0.3.1           r36h6115d3f_1002    conda-forge
        r-ipred                   0.9_9             r36hcdcec82_1    conda-forge
        r-irdisplay               0.7                    r36_1001    conda-forge
        r-irkernel                1.1               r36h6115d3f_0    conda-forge
        r-isoband                 0.2.1             r36h0357c0b_0    conda-forge
        r-iterators               1.0.12            r36h6115d3f_0    conda-forge
        r-jsonlite                1.6.1             r36hcdcec82_1    conda-forge
        r-kernsmooth              2.23_17           r36hfa343cc_1    conda-forge
        r-knitr                   1.28              r36h6115d3f_0    conda-forge
        r-labeling                0.3             r36h6115d3f_1002    conda-forge
        r-later                   1.0.0             r36h0357c0b_0    conda-forge
        r-lattice                 0.20_41           r36hcdcec82_2    conda-forge
        r-lava                    1.6.7             r36h6115d3f_0    conda-forge
        r-lazyeval                0.2.2             r36hcdcec82_2    conda-forge
        r-lifecycle               0.2.0             r36h6115d3f_0    conda-forge
        r-lmtest                  0.9_37            r36h9bbef5b_3    conda-forge
        r-lubridate               1.7.8             r36h0357c0b_0    conda-forge
        r-magrittr                1.5             r36h6115d3f_1002    conda-forge
        r-markdown                1.1               r36hcdcec82_0    conda-forge
        r-mass                    7.3_51.6          r36hcdcec82_2    conda-forge
        r-matrix                  1.2_18            r36h7fa42b6_3    conda-forge
        r-memoise                 1.1.0           r36h6115d3f_1003    conda-forge
        r-mgcv                    1.8_31            r36h7fa42b6_1    conda-forge
        r-mime                    0.9               r36hcdcec82_1    conda-forge
        r-modelmetrics            1.2.2.2           r36h0357c0b_0    conda-forge
        r-modelr                  0.1.7             r36h6115d3f_0    conda-forge
        r-munsell                 0.5.0           r36h6115d3f_1002    conda-forge
        r-nlme                    3.1_147           r36h9bbef5b_1    conda-forge
        r-nnet                    7.3_14            r36hcdcec82_1    conda-forge
        r-numderiv                2016.8_1.1        r36h6115d3f_1    conda-forge
        r-nycflights13            1.0.1             r36h6115d3f_0    conda-forge
        r-openssl                 1.4.1             r36he5c4762_1    conda-forge
        r-pbdzmq                  0.3_3           r36h559a7a4_1002    conda-forge
        r-pillar                  1.4.3             r36h6115d3f_0    conda-forge
        r-pkgbuild                1.0.7             r36h6115d3f_0    conda-forge
        r-pkgconfig               2.0.3             r36h6115d3f_0    conda-forge
        r-pkgload                 1.0.2           r36h0357c0b_1001    conda-forge
        r-plogr                   0.2.0           r36h6115d3f_1002    conda-forge
        r-plyr                    1.8.6             r36h0357c0b_1    conda-forge
        r-praise                  1.0.0           r36h6115d3f_1003    conda-forge
        r-prettyunits             1.1.1             r36h6115d3f_0    conda-forge
        r-proc                    1.16.2            r36h0357c0b_0    conda-forge
        r-processx                3.4.2             r36hcdcec82_0    conda-forge
        r-prodlim                 2019.11.13        r36h0357c0b_0    conda-forge
        r-progress                1.2.2             r36h6115d3f_1    conda-forge
        r-promises                1.1.0             r36h0357c0b_0    conda-forge
        r-ps                      1.3.2             r36hcdcec82_1    conda-forge
        r-purrr                   0.3.4             r36hcdcec82_0    conda-forge
        r-quadprog                1.5_8             r36hfa343cc_2    conda-forge
        r-quantmod                0.4.17            r36h6115d3f_0    conda-forge
        r-r6                      2.4.1             r36h6115d3f_0    conda-forge
        r-randomforest            4.6_14          r36h9bbef5b_1002    conda-forge
        r-rcmdcheck               1.3.3             r36h6115d3f_2    conda-forge
        r-rcolorbrewer            1.1_2           r36h6115d3f_1002    conda-forge
        r-rcpp                    1.0.4.6           r36h0357c0b_1    conda-forge
        r-rcpparmadillo           0.9.870.2.0       r36h51c796c_1    conda-forge
        r-rcurl                   1.98_1.2          r36hcdcec82_0    conda-forge
        r-readr                   1.3.1           r36h0357c0b_1002    conda-forge
        r-readxl                  1.3.1             r36hde08347_3    conda-forge
        r-recipes                 0.1.12            r36h6115d3f_0    conda-forge
        r-rematch                 1.0.1           r36h6115d3f_1002    conda-forge
        r-rematch2                2.1.2             r36h6115d3f_0    conda-forge
        r-remotes                 2.1.1             r36h6115d3f_0    conda-forge
        r-repr                    1.1.0             r36h6115d3f_0    conda-forge
        r-reprex                  0.3.0             r36h6115d3f_1    conda-forge
        r-reshape2                1.4.4             r36h0357c0b_0    conda-forge
        r-rex                     1.2.0             r36h6115d3f_0    conda-forge
        r-rlang                   0.4.5             r36hcdcec82_3    conda-forge
        r-rmarkdown               2.1               r36h6115d3f_0    conda-forge
        r-roxygen2                7.1.0             r36h0357c0b_0    conda-forge
        r-rpart                   4.1_15            r36hcdcec82_2    conda-forge
        r-rprojroot               1.3_2           r36h6115d3f_1002    conda-forge
        r-rsqlite                 2.2.0             r36h0357c0b_0    conda-forge
        r-rstudioapi              0.11              r36h6115d3f_0    conda-forge
        r-rversions               2.0.1             r36h6115d3f_0    conda-forge
        r-rvest                   0.3.5             r36h6115d3f_0    conda-forge
        r-scales                  1.1.0             r36h6115d3f_0    conda-forge
        r-selectr                 0.4_2             r36h6115d3f_0    conda-forge
        r-sessioninfo             1.1.1           r36h6115d3f_1001    conda-forge
        r-shiny                   1.4.0.2           r36h6115d3f_0    conda-forge
        r-sourcetools             0.1.7           r36he1b5a44_1002    conda-forge
        r-squarem                 2020.2            r36h6115d3f_0    conda-forge
        r-stringi                 1.4.6             r36h0e574ca_2    conda-forge
        r-stringr                 1.4.0             r36h6115d3f_1    conda-forge
        r-survival                3.1_12            r36hcdcec82_1    conda-forge
        r-sys                     3.3               r36hcdcec82_1    conda-forge
        r-testthat                2.3.2             r36h0357c0b_0    conda-forge
        r-tibble                  3.0.1             r36hcdcec82_0    conda-forge
        r-tidyr                   1.0.2             r36h0357c0b_0    conda-forge
        r-tidyselect              1.0.0             r36h6115d3f_0    conda-forge
        r-tidyverse               1.3.0             r36h6115d3f_1    conda-forge
        r-timedate                3043.102        r36h6115d3f_1001    conda-forge
        r-tinytex                 0.22              r36h6115d3f_0    conda-forge
        r-tseries                 0.10_47           r36hfa343cc_3    conda-forge
        r-ttr                     0.23_6            r36hcdcec82_0    conda-forge
        r-urca                    1.3_0           r36h9bbef5b_1004    conda-forge
        r-usethis                 1.6.1             r36h6115d3f_0    conda-forge
        r-utf8                    1.1.4           r36hcdcec82_1003    conda-forge
        r-uuid                    0.1_4             r36hcdcec82_1    conda-forge
        r-vctrs                   0.2.4             r36hcdcec82_0    conda-forge
        r-viridislite             0.3.0           r36h6115d3f_1002    conda-forge
        r-whisker                 0.4               r36h6115d3f_0    conda-forge
        r-withr                   2.2.0             r36h6115d3f_0    conda-forge
        r-xfun                    0.13              r36h6115d3f_0    conda-forge
        r-xml                     3.99_0.3          r36hcdcec82_1    conda-forge
        r-xml2                    1.3.2             r36h0357c0b_1    conda-forge
        r-xopen                   1.0.0           r36h6115d3f_1002    conda-forge
        r-xtable                  1.8_4             r36h6115d3f_2    conda-forge
        r-xts                     0.12_0            r36hcdcec82_1    conda-forge
        r-yaml                    2.2.1             r36hcdcec82_1    conda-forge
        r-zeallot                 0.1.0           r36h6115d3f_1001    conda-forge
        r-zoo                     1.8_7             r36hcdcec82_1    conda-forge
        readline                  8.0                  h7b6447c_0    defaults
        requests                  2.23.0             pyh8c360ce_2    conda-forge
        requests-oauthlib         1.3.0                      py_0    defaults
        requests-toolbelt         0.9.1                    pypi_0    pypi
        requestsexceptions        1.4.0                      py_0    conda-forge
        rope                      0.16.0                     py_0    conda-forge
        rpy2                      3.1.0           py37r36hc1659b7_3    conda-forge
        rsa                       4.0                        py_0    conda-forge
        ruamel.yaml               0.16.10          py37h7b6447c_1    defaults
        ruamel.yaml.clib          0.2.0            py37h8f50634_1    conda-forge
        ruamel_yaml               0.15.80         py37h8f50634_1001    conda-forge
        scijava-jupyter-kernel    0.6.1                         0    conda-forge
        scikit-image              0.16.2           py37hb3f55d8_0    conda-forge
        scikit-learn              0.22.2.post1     py37hcdab131_0    conda-forge
        scipy                     1.4.1            py37ha3d9a3c_3    conda-forge
        seaborn                   0.10.1                     py_0    conda-forge
        sed                       4.7               h1bed415_1000    conda-forge
        send2trash                1.5.0                      py_0    conda-forge
        setuptools                46.1.3           py37hc8dfbb8_0    conda-forge
        simplegeneric             0.8.1                      py_1    conda-forge
        six                       1.14.0                     py_1    conda-forge
        snowballstemmer           2.0.0                      py_0    conda-forge
        sortedcontainers          2.1.0                      py_0    conda-forge
        soupsieve                 2.0                        py_0    defaults
        spylon                    0.3.0                      py_1    conda-forge
        spylon-kernel             0.4.1                   py_1000    conda-forge
        sqlalchemy                1.3.16           py37h8f50634_0    conda-forge
        sqlite                    3.31.1               h62c20be_1    defaults
        statsmodels               0.11.1           py37h8f50634_1    conda-forge
        stevedore                 1.30.1                     py_0    conda-forge
        sympy                     1.5.1            py37hc8dfbb8_3    conda-forge
        tbb                       2020.1               hc9558a2_0    conda-forge
        tblib                     1.6.0                      py_0    conda-forge
        tensorboard               2.1.1                      py_1    conda-forge
        tensorflow                2.1.0           mkl_py37h80a91df_0    defaults
        tensorflow-base           2.1.0           mkl_py37h6d63fb7_0    defaults
        tensorflow-estimator      2.1.0              pyhd54b08b_0    defaults
        termcolor                 1.1.0                      py_2    conda-forge
        terminado                 0.8.3            py37hc8dfbb8_1    conda-forge
        testpath                  0.4.4                      py_0    conda-forge
        tini                      0.18.0            h14c3975_1001    conda-forge
        tk                        8.6.10               hed695b0_0    conda-forge
        tktable                   2.10                 h555a92e_3    conda-forge
        toolz                     0.10.0                     py_0    conda-forge
        tornado                   6.0.4            py37h8f50634_1    conda-forge
        tqdm                      4.45.0             pyh9f0ad1d_1    conda-forge
        traitlets                 4.3.3            py37hc8dfbb8_1    conda-forge
        typed-ast                 1.4.1            py37h516909a_0    conda-forge
        typing_extensions         3.7.4.1          py37hc8dfbb8_3    conda-forge
        tzlocal                   2.0.0                      py_0    conda-forge
        ujson                     1.35            py37h3340039_1002    conda-forge
        urllib3                   1.25.9                     py_0    conda-forge
        vincent                   0.4.4                      py_1    conda-forge
        wcwidth                   0.1.9              pyh9f0ad1d_0    conda-forge
        webencodings              0.5.1                      py_1    conda-forge
        werkzeug                  1.0.1              pyh9f0ad1d_0    conda-forge
        wheel                     0.34.2                     py_1    conda-forge
        widgetsnbextension        3.5.1                    py37_0    conda-forge
        wrapt                     1.12.1           py37h8f50634_1    conda-forge
        xlrd                      1.2.0                      py_0    conda-forge
        xorg-kbproto              1.0.7             h14c3975_1002    conda-forge
        xorg-libice               1.0.10               h516909a_0    conda-forge
        xorg-libsm                1.2.3             h84519dc_1000    conda-forge
        xorg-libx11               1.6.9                h516909a_0    conda-forge
        xorg-libxau               1.0.9                h14c3975_0    conda-forge
        xorg-libxdmcp             1.1.3                h516909a_0    conda-forge
        xorg-libxext              1.3.4                h516909a_0    conda-forge
        xorg-libxrender           0.9.10            h516909a_1002    conda-forge
        xorg-renderproto          0.11.1            h14c3975_1002    conda-forge
        xorg-xextproto            7.3.0             h14c3975_1002    conda-forge
        xorg-xproto               7.0.31            h14c3975_1007    conda-forge
        xz                        5.2.5                h516909a_0    conda-forge
        yaml                      0.2.4                h516909a_0    conda-forge
        yapf                      0.29.0                     py_0    conda-forge
        zeromq                    4.3.2                he1b5a44_2    conda-forge
        zict                      2.0.0                      py_0    conda-forge
        zipp                      3.1.0                      py_0    conda-forge
        zlib                      1.2.11            h516909a_1006    conda-forge
        zstd                      1.4.4                h6597ccf_3    conda-forge
Command Line Output
[D 15:36:41.403 LabApp] Searching ['/import', '/home/jovyan/.jupyter', '/opt/conda/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[D 15:36:41.403 LabApp] Looking for jupyter_config in /etc/jupyter
[D 15:36:41.404 LabApp] Looking for jupyter_config in /usr/local/etc/jupyter
[D 15:36:41.404 LabApp] Looking for jupyter_config in /opt/conda/etc/jupyter
[D 15:36:41.404 LabApp] Looking for jupyter_config in /home/jovyan/.jupyter
[D 15:36:41.404 LabApp] Looking for jupyter_config in /import
[D 15:36:41.405 LabApp] Looking for jupyter_notebook_config in /etc/jupyter
[D 15:36:41.406 LabApp] Loaded config file: /etc/jupyter/jupyter_notebook_config.py
[D 15:36:41.406 LabApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter
[D 15:36:41.407 LabApp] Looking for jupyter_notebook_config in /opt/conda/etc/jupyter
[D 15:36:41.407 LabApp] Looking for jupyter_notebook_config in /home/jovyan/.jupyter
[D 15:36:41.407 LabApp] Loaded config file: /home/jovyan/.jupyter/jupyter_notebook_config.py
[D 15:36:41.408 LabApp] Looking for jupyter_notebook_config in /import
[D 15:36:41.417 LabApp] Paths used for configuration of jupyter_notebook_config: 
        /etc/jupyter/jupyter_notebook_config.json
[D 15:36:41.417 LabApp] Paths used for configuration of jupyter_notebook_config: 
        /usr/local/etc/jupyter/jupyter_notebook_config.json
[D 15:36:41.418 LabApp] Paths used for configuration of jupyter_notebook_config: 
        /opt/conda/etc/jupyter/jupyter_notebook_config.d/ipyparallel-serverextension.json
        /opt/conda/etc/jupyter/jupyter_notebook_config.d/jupyter-lsp-serverextension.json
        /opt/conda/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json
        /opt/conda/etc/jupyter/jupyter_notebook_config.json
[D 15:36:41.420 LabApp] Paths used for configuration of jupyter_notebook_config: 
        /home/jovyan/.jupyter/jupyter_notebook_config.json
[W 15:36:41.707 LabApp] All authentication is disabled.  Anyone who can connect to this server will be able to run code.
[I 15:36:41.708 LabApp] The port 8888 is already in use, trying another port.
[I 15:36:41.728 LabApp] Loading IPython parallel extension
[D 15:36:41.789 LabApp] Checking for /import/node_modules/bash-language-server/bin/main.js
[D 15:36:41.789 LabApp] Checking for /opt/conda/share/jupyter/lab/staging/node_modules/bash-language-server/bin/main.js
[D 15:36:41.789 LabApp] Checking for /opt/conda/lib/node_modules/bash-language-server/bin/main.js
[D 15:36:41.789 LabApp] Checking for /opt/conda/node_modules/bash-language-server/bin/main.js
[D 15:36:41.789 LabApp] bash-language-server/bin/main.js not found in node_modules of [PosixPath('/import'), PosixPath('/opt/conda/share/jupyter/lab/staging'), PosixPath('/opt/conda/lib'), PosixPath('/opt/conda')]
[D 15:36:41.790 LabApp] Checking for /import/node_modules/dockerfile-language-server-nodejs/lib/server.js
[D 15:36:41.790 LabApp] Checking for /opt/conda/share/jupyter/lab/staging/node_modules/dockerfile-language-server-nodejs/lib/server.js
[D 15:36:41.790 LabApp] Checking for /opt/conda/lib/node_modules/dockerfile-language-server-nodejs/lib/server.js
[D 15:36:41.790 LabApp] Checking for /opt/conda/node_modules/dockerfile-language-server-nodejs/lib/server.js
[D 15:36:41.790 LabApp] dockerfile-language-server-nodejs/lib/server.js not found in node_modules of [PosixPath('/import'), PosixPath('/opt/conda/share/jupyter/lab/staging'), PosixPath('/opt/conda/lib'), PosixPath('/opt/conda')]
[D 15:36:41.790 LabApp] Checking for /import/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js
[D 15:36:41.791 LabApp] Checking for /opt/conda/share/jupyter/lab/staging/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js
[D 15:36:41.791 LabApp] Checking for /opt/conda/lib/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js
[D 15:36:41.791 LabApp] Checking for /opt/conda/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js
[D 15:36:41.791 LabApp] javascript-typescript-langserver/lib/language-server-stdio.js not found in node_modules of [PosixPath('/import'), PosixPath('/opt/conda/share/jupyter/lab/staging'), PosixPath('/opt/conda/lib'), PosixPath('/opt/conda')]
[D 15:36:41.794 LabApp] Checking for /import/node_modules/unified-language-server/src/server.js
[D 15:36:41.794 LabApp] Checking for /opt/conda/share/jupyter/lab/staging/node_modules/unified-language-server/src/server.js
[D 15:36:41.795 LabApp] Checking for /opt/conda/lib/node_modules/unified-language-server/src/server.js
[D 15:36:41.795 LabApp] Checking for /opt/conda/node_modules/unified-language-server/src/server.js
[D 15:36:41.795 LabApp] unified-language-server/src/server.js not found in node_modules of [PosixPath('/import'), PosixPath('/opt/conda/share/jupyter/lab/staging'), PosixPath('/opt/conda/lib'), PosixPath('/opt/conda')]
[D 15:36:41.795 LabApp] Checking for /import/node_modules/vscode-css-languageserver-bin/cssServerMain.js
[D 15:36:41.795 LabApp] Checking for /opt/conda/share/jupyter/lab/staging/node_modules/vscode-css-languageserver-bin/cssServerMain.js
[D 15:36:41.795 LabApp] Checking for /opt/conda/lib/node_modules/vscode-css-languageserver-bin/cssServerMain.js
[D 15:36:41.795 LabApp] Checking for /opt/conda/node_modules/vscode-css-languageserver-bin/cssServerMain.js
[D 15:36:41.796 LabApp] vscode-css-languageserver-bin/cssServerMain.js not found in node_modules of [PosixPath('/import'), PosixPath('/opt/conda/share/jupyter/lab/staging'), PosixPath('/opt/conda/lib'), PosixPath('/opt/conda')]
[D 15:36:41.796 LabApp] Checking for /import/node_modules/vscode-html-languageserver-bin/htmlServerMain.js
[D 15:36:41.796 LabApp] Checking for /opt/conda/share/jupyter/lab/staging/node_modules/vscode-html-languageserver-bin/htmlServerMain.js
[D 15:36:41.796 LabApp] Checking for /opt/conda/lib/node_modules/vscode-html-languageserver-bin/htmlServerMain.js
[D 15:36:41.796 LabApp] Checking for /opt/conda/node_modules/vscode-html-languageserver-bin/htmlServerMain.js
[D 15:36:41.796 LabApp] vscode-html-languageserver-bin/htmlServerMain.js not found in node_modules of [PosixPath('/import'), PosixPath('/opt/conda/share/jupyter/lab/staging'), PosixPath('/opt/conda/lib'), PosixPath('/opt/conda')]
[D 15:36:41.797 LabApp] Checking for /import/node_modules/vscode-json-languageserver-bin/jsonServerMain.js
[D 15:36:41.797 LabApp] Checking for /opt/conda/share/jupyter/lab/staging/node_modules/vscode-json-languageserver-bin/jsonServerMain.js
[D 15:36:41.797 LabApp] Checking for /opt/conda/lib/node_modules/vscode-json-languageserver-bin/jsonServerMain.js
[D 15:36:41.797 LabApp] Checking for /opt/conda/node_modules/vscode-json-languageserver-bin/jsonServerMain.js
[D 15:36:41.797 LabApp] vscode-json-languageserver-bin/jsonServerMain.js not found in node_modules of [PosixPath('/import'), PosixPath('/opt/conda/share/jupyter/lab/staging'), PosixPath('/opt/conda/lib'), PosixPath('/opt/conda')]
[D 15:36:41.797 LabApp] Checking for /import/node_modules/yaml-language-server/bin/yaml-language-server
[D 15:36:41.798 LabApp] Checking for /opt/conda/share/jupyter/lab/staging/node_modules/yaml-language-server/bin/yaml-language-server
[D 15:36:41.798 LabApp] Checking for /opt/conda/lib/node_modules/yaml-language-server/bin/yaml-language-server
[D 15:36:41.798 LabApp] Checking for /opt/conda/node_modules/yaml-language-server/bin/yaml-language-server
[D 15:36:41.798 LabApp] yaml-language-server/bin/yaml-language-server not found in node_modules of [PosixPath('/import'), PosixPath('/opt/conda/share/jupyter/lab/staging'), PosixPath('/opt/conda/lib'), PosixPath('/opt/conda')]
[D 15:36:41.904 LabApp] [lsp] rootUri will be file:///import
[D 15:36:41.904 LabApp] [lsp] virtualDocumentsUri will be file:///import/.virtual_documents
[D 15:36:41.906 LabApp] [lsp] The following Language Servers will be available: {
      "pyls": {
        "argv": [
          "/opt/conda/bin/pyls"
        ],
        "config_schema": {
          "properties": {
            "pyls.configurationSources": {
              "default": [
                "pycodestyle"
              ],
              "description": "List of configuration sources to use.",
              "items": {
                "enum": [
                  "pycodestyle",
                  "pyflakes"
                ],
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.executable": {
              "default": "pyls",
              "description": "Language server executable",
              "type": "string"
            },
            "pyls.plugins.jedi_completion.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_completion.include_params": {
              "default": true,
              "description": "Auto-completes methods and classes with tabstops for each parameter.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_definition.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_definition.follow_builtin_imports": {
              "default": true,
              "description": "If follow_imports is True will decide if it follow builtin imports.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_definition.follow_imports": {
              "default": true,
              "description": "The goto call will follow imports.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_hover.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_references.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_signature_help.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_symbols.all_scopes": {
              "default": true,
              "description": "If True lists the names of all scopes instead of only the module namespace.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_symbols.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.mccabe.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.mccabe.threshold": {
              "default": 15,
              "description": "The minimum threshold that triggers warnings about cyclomatic complexity.",
              "type": "number"
            },
            "pyls.plugins.preload.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.preload.modules": {
              "default": null,
              "description": "List of modules to import on startup",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pycodestyle.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.pycodestyle.exclude": {
              "default": null,
              "description": "Exclude files or directories which match these patterns.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pycodestyle.filename": {
              "default": null,
              "description": "When parsing directories, only check filenames matching these patterns.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pycodestyle.hangClosing": {
              "default": null,
              "description": "Hang closing bracket instead of matching indentation of opening bracket's line.",
              "type": "boolean"
            },
            "pyls.plugins.pycodestyle.ignore": {
              "default": null,
              "description": "Ignore errors and warnings",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pycodestyle.maxLineLength": {
              "default": null,
              "description": "Set maximum allowed line length.",
              "type": "number"
            },
            "pyls.plugins.pycodestyle.select": {
              "default": null,
              "description": "Select errors and warnings",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pydocstyle.addIgnore": {
              "default": null,
              "description": "Ignore errors and warnings in addition to the specified convention.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pydocstyle.addSelect": {
              "default": null,
              "description": "Select errors and warnings in addition to the specified convention.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pydocstyle.convention": {
              "default": null,
              "description": "Choose the basic list of checked errors by specifying an existing convention.",
              "enum": [
                "pep257",
                "numpy"
              ],
              "type": "string"
            },
            "pyls.plugins.pydocstyle.enabled": {
              "default": false,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.pydocstyle.ignore": {
              "default": null,
              "description": "Ignore errors and warnings",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pydocstyle.match": {
              "default": "(?!test_).*\\.py",
              "description": "Check only files that exactly match the given regular expression; default is to match files that don't start with 'test_' but end with '.py'.",
              "type": "string"
            },
            "pyls.plugins.pydocstyle.matchDir": {
              "default": "[^\\.].*",
              "description": "Search only dirs that exactly match the given regular expression; default is to match dirs which do not begin with a dot.",
              "type": "string"
            },
            "pyls.plugins.pydocstyle.select": {
              "default": null,
              "description": "Select errors and warnings",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pyflakes.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.pylint.args": {
              "default": null,
              "description": "Arguments to pass to pylint.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": false
            },
            "pyls.plugins.pylint.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.rope_completion.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.yapf.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.rope.extensionModules": {
              "default": null,
              "description": "Builtin and c-extension modules that are allowed to be imported and inspected by rope.",
              "type": "string"
            },
            "pyls.rope.ropeFolder": {
              "default": null,
              "description": "The name of the folder in which rope stores project configurations and data.  Pass `null` for not using such a folder at all.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            }
          },
          "title": "Python Language Server Configuration",
          "type": "object"
        },
        "display_name": "pyls",
        "env": {
          "PYTHONUNBUFFERED": "1"
        },
        "extend": [
          {
            "display_name": "pyls-mypy",
            "install": {
              "pip": "pip install pyls-mypy"
            }
          },
          {
            "display_name": "pyls-black",
            "install": {
              "pip": "pip install pyls-black"
            }
          },
          {
            "display_name": "pyls-isort",
            "install": {
              "pip": "pip install pyls-isort"
            }
          }
        ],
        "install": {
          "conda": "conda install -c conda-forge python-language-server",
          "pip": "pip install python-language-server[all]"
        },
        "languages": [
          "python"
        ],
        "mime_types": [
          "text/python",
          "text/x-ipython"
        ],
        "urls": {
          "home": "https://github.com/palantir/python-language-server",
          "issues": "https://github.com/palantir/python-language-server/issues"
        },
        "version": 2
      },
      "r-languageserver": {
        "argv": [
          "/opt/conda/bin/Rscript",
          "--slave",
          "/opt/conda/lib/python3.7/site-packages/jupyter_lsp/specs/helpers/languageserver.R"
        ],
        "display_name": "r-languageserver",
        "install": {
          "conda": "conda install -c conda-forge r-languageserver",
          "cran": "install.packages(\"languageserver\")"
        },
        "languages": [
          "r"
        ],
        "mime_types": [
          "text/x-rsrc"
        ],
        "urls": {
          "home": "https://github.com/REditorSupport/languageserver",
          "issues": "https://github.com/REditorSupport/languageserver/issues"
        },
        "version": 2
      }
    }
[I 15:36:42.533 LabApp] JupyterLab extension loaded from /opt/conda/lib/python3.7/site-packages/jupyterlab
[I 15:36:42.534 LabApp] JupyterLab application directory is /opt/conda/share/jupyter/lab
[I 15:36:42.541 LabApp] Serving notebooks from local directory: /import
[I 15:36:42.542 LabApp] The Jupyter Notebook is running at:
[I 15:36:42.542 LabApp] http://xxxxx/gie_proxy/JupyterLab/ipython/
[I 15:36:42.542 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
Browser Output
LSP: waiting for Untitled2.ipynb to fully load notebook.js:66:24
Starting WebSocket: ws://xxxxxx/gie_proxy/JupyterLab/ipython/api/kernels/db30e60f-2892-415b-a9c7-a2dc8d95f54f default.js:40:13
LSP: Untitled2.ipynb ready for connection notebook.js:78:20
LSP: will connect using language: r jl_adapter.js:260:43
LSP: connection requested 
Object { virtual_document: {…}, language: "r", document_path: "Untitled2.ipynb" }
connection_manager.js:122:39
LSP: Connection Socket 
Object { virtual_document: {…}, language: "r", document_path: "Untitled2.ipynb" }
connection_manager.js:81:40
TypeError: can't convert undefined to object manager.js:161:47
krassowski commented 4 years ago

Thanks for reporting it. I will check on the weekend, but I guess it might be a compatibility issue for the newer version. It works great for me with 0.3.4 (packageVersion('languageserver')); if you need it ASAP you could try downgrading the server (or maybe the kernel?).

schmittst commented 4 years ago

I quickly tried to downgrade the languageserver package to 0.3.4 like you suggested - did not help. So I guess I would need to downgrade the kernel. Not that urgent - I will wait until it is compatible! Thanks for the great work you have done with jupyterlab-lsp!

kwon14 commented 4 years ago

If you use dockerfile, try this.. you should install JupyterLab 2.1.2 that following this script. make sure follow the steps below.

lsp install

RUN pip install jupyter-lsp && \ conda install -c conda-forge nodejs && \ jupyter labextension install @krassowski/jupyterlab-lsp --no-build && \ conda install -c conda-forge python-language-server

schmittst commented 4 years ago

Thanks. I am using the jupyter/datascience-notebook (3b1f4f5) docker image. And I already used those commands in the dockerfile to setup the lsp (w/o the --no-build flag) However, I realized that this is running on JupyterLab 2.1.3 So it might be just incompatibility with 2.1.3?

krassowski commented 4 years ago

Unlikely - it works for me with:

but then, I do not use docker...

Does the R language server return any suspicious messages if run from an R console with languageserver::run(debug = TRUE)?

krassowski commented 4 years ago

@schmittst we had a major release recently aimed at JupyterLab 2.2. Would you like to try it out and check if this is still an issue for you?

krassowski commented 3 years ago

I will close it for now as it seems to be working fine with R for other users (and myself), but please feel welcome to re-open or create a new issue if you need any assistance.