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

Connect timed out to python on first launch #468

Closed senfbrot closed 3 years ago

senfbrot commented 3 years ago

Description

When I start JupyterLab for the first time after a fresh installation and create a new notebook, then LSP fails to start properly. In the Browser console it shows that it could not connect:

image

When I then reload the page, everything works.

Reproduce

  1. Start with a fresh installation of JupyterLab
  2. Start JupyterLab
  3. Create new Python notebook
  4. Status bar shows Initialized (additional servers needed)
  5. Open browser console and wait a few seconds
  6. Timeout is shown in console
  7. Status bar switches to Fully initialized
  8. Refresh page in Browser
  9. Everything works

Expected behavior

No timeout, LSP working without manual Browser refresh

Context

Required: installed server extensions
config dir: /opt/anaconda3/etc/jupyter
    jupyter_lsp  enabled 
    - Validating...
      jupyter_lsp 0.9.3 OK
    jupyterlab  enabled 
    - Validating...
      jupyterlab 2.2.6 OK
    jupyterlab_git  enabled 
    - Validating...
      jupyterlab_git 0.23.3 OK
    nbdime  enabled 
    - Validating...
      nbdime 2.1.0 OK
Required: installed lab extensions
JupyterLab v2.2.6
Known labextensions:
   app dir: /opt/anaconda3/share/jupyter/lab
        @jupyter-widgets/jupyterlab-manager v2.0.0  enabled  OK
        @jupyterlab/git v0.23.3  enabled  OK
        @krassowski/jupyterlab-lsp v2.1.2  enabled  OK
        jupyter-matplotlib v0.7.4  enabled  OK
        nbdime-jupyterlab v2.0.1  enabled  OK
Troubleshoot Output
$PATH:
        /opt/anaconda3/bin
        /bin
        /usr/local/sbin
        /usr/local/bin
        /usr/sbin
        /usr/bin
        /opt/anaconda3/bin
        /home/uidk9081/.local/bin
        /home/uidk9081/bin

sys.path:
        /opt/anaconda3/bin
        /opt/anaconda3/lib/python37.zip
        /opt/anaconda3/lib/python3.7
        /opt/anaconda3/lib/python3.7/lib-dynload
        /opt/anaconda3/lib/python3.7/site-packages

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

sys.version:
        3.7.9 (default, Aug 31 2020, 12:42:55) 
        [GCC 7.3.0]

platform.platform():
        Linux-4.14.209-160.339.amzn2.x86_64-x86_64-with-glibc2.10

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

pip list:
        Package                            Version
        ---------------------------------- -------------------
        absl-py                            0.11.0
        alabaster                          0.7.12
        alembic                            1.4.3
        anaconda-client                    1.7.2
        anaconda-navigator                 1.10.0
        anaconda-project                   0.8.3
        appdirs                            1.4.4
        argh                               0.26.2
        argon2-cffi                        20.1.0
        asn1crypto                         1.4.0
        astor                              0.8.1
        astroid                            2.4.2
        astropy                            4.0.2
        async-generator                    1.10
        atomicwrites                       1.4.0
        attrs                              20.3.0
        autopep8                           1.5.4
        Babel                              2.8.1
        backcall                           0.2.0
        backports.functools-lru-cache      1.6.1
        backports.shutil-get-terminal-size 1.0.0
        backports.tempfile                 1.0
        backports.weakref                  1.0.post1
        beautifulsoup4                     4.9.3
        bitarray                           1.6.1
        bkcharts                           0.2
        black                              20.8b1
        blaze                              0.11.3
        bleach                             3.2.1
        blinker                            1.4
        bokeh                              2.2.3
        boto                               2.49.0
        boto3                              1.16.51
        botocore                           1.19.51
        Bottleneck                         1.3.2
        branca                             0.4.2
        brotlipy                           0.7.0
        certifi                            2020.6.20
        certipy                            0.1.3
        cffi                               1.14.3
        chardet                            3.0.4
        click                              7.1.2
        cloudpickle                        1.6.0
        clyent                             1.2.2
        colorama                           0.4.4
        conda                              4.9.2
        conda-build                        3.21.1
        conda-package-handling             1.7.2
        conda-verify                       3.4.2
        contextlib2                        0.6.0.post1
        coverage                           5.3.1
        cryptography                       3.1.1
        cycler                             0.10.0
        Cython                             0.29.21
        cytoolz                            0.11.0
        dask                               2.30.0
        datashape                          0.5.4
        decorator                          4.4.2
        defusedxml                         0.6.0
        diff-match-patch                   20200713
        distributed                        2.30.1
        docutils                           0.16
        entrypoints                        0.3
        et-xmlfile                         1.0.1
        fastcache                          1.1.0
        fastparquet                        0.4.2
        filelock                           3.0.12
        flake8                             3.8.4
        Flask                              1.1.2
        Flask-Cors                         3.0.8
        folium                             0.0.0
        fsspec                             0.8.3
        future                             0.18.2
        gast                               0.4.0
        gevent                             20.9.0
        gitdb                              4.0.5
        GitPython                          3.1.12
        glob2                              0.7
        gmpy2                              2.0.8
        google-pasta                       0.2.0
        graphviz                           0.8.4
        greenlet                           0.4.17
        grpcio                             1.33.2
        h5py                               2.10.0
        HeapDict                           1.0.1
        html5lib                           1.1
        hypothesis                         6.0.0
        idna                               2.10
        imageio                            2.9.0
        imagesize                          1.2.0
        importlib-metadata                 2.0.0
        iniconfig                          1.1.1
        intervaltree                       3.1.0
        ipykernel                          5.3.4
        ipympl                             0.5.8
        ipython                            7.19.0
        ipython-genutils                   0.2.0
        ipywidgets                         7.5.1
        isort                              5.6.4
        itsdangerous                       1.1.0
        jdcal                              1.4.1
        jedi                               0.17.1
        jeepney                            0.5.0
        Jinja2                             2.11.2
        jmespath                           0.10.0
        joblib                             0.17.0
        json5                              0.9.5
        jsonschema                         3.2.0
        jupyter                            1.0.0
        jupyter-client                     6.1.7
        jupyter-console                    6.2.0
        jupyter-core                       4.6.3
        jupyter-lsp                        0.9.3
        jupyter-telemetry                  0.1.0
        jupyterhub                         1.1.0
        jupyterlab                         2.2.6
        jupyterlab-git                     0.23.3
        jupyterlab-pygments                0.1.2
        jupyterlab-server                  1.2.0
        Keras                              2.3.1
        Keras-Applications                 1.0.8
        Keras-Preprocessing                1.1.0
        keyring                            21.4.0
        kiwisolver                         1.3.0
        lazy-object-proxy                  1.4.3
        libarchive-c                       2.9
        llvmlite                           0.34.0
        locket                             0.2.0
        lxml                               4.6.1
        Mako                               1.1.3
        Markdown                           3.3.3
        MarkupSafe                         1.1.1
        matplotlib                         3.3.2
        mccabe                             0.6.1
        mistune                            0.8.4
        mkl-fft                            1.2.0
        mkl-random                         1.1.1
        mkl-service                        2.3.0
        mock                               4.0.2
        more-itertools                     8.6.0
        mpmath                             1.1.0
        msgpack                            1.0.0
        multipledispatch                   0.6.0
        mxnet                              1.7.0.post1
        mypy-extensions                    0.4.3
        navigator-updater                  0.2.1
        nbclient                           0.5.1
        nbconvert                          6.0.7
        nbdime                             2.1.0
        nbformat                           5.0.8
        nest-asyncio                       1.4.2
        networkx                           2.5
        nltk                               3.5
        nose                               1.3.7
        notebook                           6.1.4
        numba                              0.51.2
        numexpr                            2.7.1
        numpy                              1.19.2
        numpydoc                           1.1.0
        oauthlib                           3.0.1
        odo                                0.5.1
        olefile                            0.46
        openpyxl                           3.0.5
        packaging                          20.4
        pamela                             1.0.0
        pandas                             1.1.3
        pandocfilters                      1.4.3
        parso                              0.7.0
        partd                              1.1.0
        path                               15.0.0
        pathlib2                           2.3.5
        pathspec                           0.8.1
        pathtools                          0.1.2
        patsy                              0.5.1
        pep8                               1.7.1
        pexpect                            4.8.0
        pickleshare                        0.7.5
        Pillow                             8.0.1
        pip                                20.2.4
        pkginfo                            1.6.1
        pluggy                             0.13.1
        ply                                3.11
        prometheus-client                  0.8.0
        prompt-toolkit                     3.0.8
        protobuf                           3.13.0
        psutil                             5.7.2
        psycopg2                           2.8.6
        ptyprocess                         0.6.0
        py                                 1.9.0
        py4j                               0.10.7
        pycodestyle                        2.6.0
        pycosat                            0.6.3
        pycparser                          2.20
        pycrypto                           2.6.1
        pycurl                             7.43.0.6
        pydocstyle                         5.1.1
        pyflakes                           2.2.0
        Pygments                           2.7.2
        pygpu                              0.7.6
        PyJWT                              2.0.0
        pylint                             2.6.0
        pyodbc                             4.0.0-unsupported
        pyOpenSSL                          19.1.0
        pyparsing                          2.4.7
        pyrsistent                         0.17.3
        PySocks                            1.7.1
        pyspark                            2.4.6
        pytest                             0.0.0
        pytest-arraydiff                   0.3
        pytest-astropy                     0.8.0
        pytest-astropy-header              0.1.2
        pytest-cov                         2.10.1
        pytest-doctestplus                 0.8.0
        pytest-filter-subpackage           0.1.1
        pytest-mock                        3.5.1
        pytest-openfiles                   0.5.0
        pytest-remotedata                  0.3.2
        python-dateutil                    2.8.1
        python-editor                      1.0.4
        python-json-logger                 2.0.1
        python-jsonrpc-server              0.4.0
        python-language-server             0.35.1
        pytz                               2020.1
        PyWavelets                         1.1.1
        pyxdg                              0.27
        PyYAML                             5.3.1
        pyzmq                              19.0.2
        QDarkStyle                         2.8.1
        QtAwesome                          1.0.1
        qtconsole                          4.7.7
        QtPy                               1.9.0
        regex                              2020.10.15
        reportlab                          3.5.51
        requests                           2.24.0
        rope                               0.18.0
        Rtree                              0.9.4
        ruamel-yaml                        0.15.87
        ruamel.yaml                        0.16.12
        ruamel.yaml.clib                   0.2.2
        s3fs                               0.2.2
        s3transfer                         0.3.3
        scikit-image                       0.17.2
        scikit-learn                       0.23.2
        scipy                              1.5.2
        seaborn                            0.11.0
        SecretStorage                      3.1.2
        Send2Trash                         1.5.0
        setuptools                         50.3.1.post20201107
        simplegeneric                      0.8.1
        singledispatch                     3.4.0.3
        six                                1.15.0
        smmap                              3.0.4
        snowballstemmer                    2.0.0
        sortedcollections                  1.2.1
        sortedcontainers                   2.2.2
        soupsieve                          2.0.1
        Sphinx                             3.2.1
        sphinxcontrib-applehelp            1.0.2
        sphinxcontrib-devhelp              1.0.2
        sphinxcontrib-htmlhelp             1.0.3
        sphinxcontrib-jsmath               1.0.1
        sphinxcontrib-qthelp               1.0.3
        sphinxcontrib-serializinghtml      1.1.4
        sphinxcontrib-websupport           1.2.4
        spyder                             4.1.5
        spyder-kernels                     1.9.4
        SQLAlchemy                         1.3.20
        statsmodels                        0.12.0
        sympy                              1.6.2
        tables                             3.6.1
        tblib                              1.7.0
        tensorboard                        1.14.0
        tensorflow                         1.14.0
        tensorflow-estimator               1.14.0
        termcolor                          1.1.0
        terminado                          0.9.1
        testpath                           0.4.4
        Theano                             1.0.5
        threadpoolctl                      2.1.0
        thrift                             0.11.0
        tifffile                           2020.10.1
        toml                               0.10.1
        toolz                              0.11.1
        tornado                            6.0.4
        tqdm                               4.50.2
        traitlets                          5.0.5
        twilio                             6.50.1
        typed-ast                          1.4.1
        typing-extensions                  3.7.4.3
        ujson                              4.0.1
        unicodecsv                         0.14.1
        urllib3                            1.25.11
        watchdog                           0.10.3
        wcwidth                            0.2.5
        webencodings                       0.5.1
        Werkzeug                           1.0.1
        wheel                              0.35.1
        widgetsnbextension                 3.5.1
        wrapt                              1.11.2
        wurlitzer                          2.0.1
        xlrd                               1.2.0
        XlsxWriter                         1.3.7
        xlwt                               1.3.0
        xmltodict                          0.12.0
        yapf                               0.30.0
        zict                               2.0.0
        zipp                               3.4.0
        zope.event                         4.5.0
        zope.interface                     5.1.2

conda list:
        # packages in environment at /opt/anaconda3:
        #
        # Name                    Version                   Build  Channel
        _ipyw_jlab_nb_ext_conf    0.1.0                    py37_0  
        _libgcc_mutex             0.1                        main    conda-forge
        absl-py                   0.11.0           py37h89c1867_0    conda-forge
        alabaster                 0.7.12                   py37_0  
        alembic                   1.4.3              pyh9f0ad1d_0    conda-forge
        anaconda                  2020.11                  py37_0  
        anaconda-client           1.7.2                    py37_0  
        anaconda-navigator        1.10.0                   py37_0  
        anaconda-project          0.8.4                      py_0  
        appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
        argh                      0.26.2                   py37_0  
        argon2-cffi               20.1.0           py37h7b6447c_1  
        asn1crypto                1.4.0                      py_0  
        astor                     0.8.1              pyh9f0ad1d_0    conda-forge
        astroid                   2.4.2                    py37_0  
        astropy                   4.0.2            py37h7b6447c_0  
        async_generator           1.10             py37h28b3542_0  
        atomicwrites              1.4.0                      py_0  
        attrs                     20.3.0             pyhd3eb1b0_0  
        autopep8                  1.5.4                      py_0  
        babel                     2.8.1              pyhd3eb1b0_0  
        backcall                  0.2.0                      py_0  
        backports                 1.0                        py_2    conda-forge
        backports.functools_lru_cache 1.6.1                      py_0    conda-forge
        backports.shutil_get_terminal_size 1.0.0                    py37_2  
        backports.tempfile        1.0                        py_0    conda-forge
        backports.weakref         1.0.post1       py37hc8dfbb8_1002    conda-forge
        beautifulsoup4            4.9.3              pyhb0f4dca_0    conda-forge
        binutils_impl_linux-64    2.31.1               h6176602_1  
        binutils_linux-64         2.31.1               h6176602_9  
        bitarray                  1.6.1            py37h27cfd23_0  
        bkcharts                  0.2                      py37_0  
        black                     20.8b1                     py_1    conda-forge
        blas                      1.0                         mkl  
        blaze                     0.11.3                   py37_0  
        bleach                    3.2.1                      py_0  
        blinker                   1.4                        py_1    conda-forge
        blosc                     1.20.1               hd408876_0  
        bokeh                     2.2.3                    py37_0  
        boto                      2.49.0                   py37_0  
        boto3                     1.16.51            pyhd8ed1ab_0    conda-forge
        botocore                  1.19.51            pyhd8ed1ab_0    conda-forge
        bottleneck                1.3.2            py37heb32a55_1  
        branca                    0.4.2              pyhd8ed1ab_0    conda-forge
        brotlipy                  0.7.0           py37h7b6447c_1000  
        bzip2                     1.0.8                h7b6447c_0  
        c-ares                    1.17.1               h36c2ea0_0    conda-forge
        ca-certificates           2020.10.14                    0  
        cairo                     1.14.12              h8948797_3  
        certifi                   2020.6.20          pyhd3eb1b0_3  
        certipy                   0.1.3                      py_0    conda-forge
        cffi                      1.14.3           py37he30daa8_0  
        chardet                   3.0.4                 py37_1003    conda-forge
        click                     7.1.2                      py_0  
        cloudpickle               1.6.0                      py_0    conda-forge
        clyent                    1.2.2                    py37_1  
        colorama                  0.4.4                      py_0  
        conda                     4.9.2            py37h89c1867_0    conda-forge
        conda-build               3.21.1           py37h06a4308_0  
        conda-env                 2.6.0                         1  
        conda-package-handling    1.7.2            py37hb5d75c8_0    conda-forge
        conda-verify              3.4.2                      py_1  
        configurable-http-proxy   4.2.1           node10_h1f298a6_0    conda-forge
        contextlib2               0.6.0.post1                py_0    conda-forge
        coverage                  5.3.1            py37h27cfd23_2  
        cryptography              3.1.1            py37h1ba5d50_0  
        curl                      7.71.1               hbc83047_1  
        cycler                    0.10.0                   py37_0  
        cython                    0.29.21          py37he6710b0_0  
        cytoolz                   0.11.0           py37h7b6447c_0  
        dask                      2.30.0                     py_0    conda-forge
        dask-core                 2.30.0                     py_0  
        dataclasses               0.7                pyhb2cacf7_7    conda-forge
        datashape                 0.5.4                      py_1    conda-forge
        dbus                      1.13.18              hb2f20db_0  
        decorator                 4.4.2                      py_0    conda-forge
        defusedxml                0.6.0                      py_0    conda-forge
        diff-match-patch          20200713                   py_0  
        distributed               2.30.1           py37h06a4308_0  
        docutils                  0.16                     py37_1  
        entrypoints               0.3                      py37_0  
        et_xmlfile                1.0.1                   py_1001    conda-forge
        expat                     2.2.10               he6710b0_2  
        fastcache                 1.1.0            py37h7b6447c_0  
        fastparquet               0.4.2            py37h6323ea4_0  
        filelock                  3.0.12                     py_0  
        flake8                    3.8.4                      py_0    conda-forge
        flask                     1.1.2                      py_0  
        flask-cors                3.0.8                      py_0    conda-forge
        folium                    0.12.0             pyhd8ed1ab_0    conda-forge
        fontconfig                2.13.0               h9420a91_0  
        freetype                  2.10.4               h5ab3b9f_0  
        fribidi                   1.0.10               h7b6447c_0  
        fsspec                    0.8.3                      py_0    conda-forge
        future                    0.18.2                   py37_1  
        gast                      0.4.0              pyh9f0ad1d_0    conda-forge
        gcc_impl_linux-64         7.3.0                habb00fd_1  
        gcc_linux-64              7.3.0                h553295d_9  
        get_terminal_size         1.0.0                haa9412d_0  
        gevent                    20.9.0           py37h7b6447c_0  
        gitdb                     4.0.5                      py_0    conda-forge
        gitpython                 3.1.12             pyhd8ed1ab_0    conda-forge
        glib                      2.66.1               h92f7085_0  
        glob2                     0.7                        py_0    conda-forge
        gmp                       6.1.2                h6c8ec71_1  
        gmpy2                     2.0.8            py37h10f8cd9_2  
        google-pasta              0.2.0              pyh8c360ce_0    conda-forge
        graphite2                 1.3.14               h23475e2_0  
        greenlet                  0.4.17           py37h7b6447c_0  
        grpcio                    1.33.2           py37haffed2e_2    conda-forge
        gst-plugins-base          1.14.0               hbbd80ab_1  
        gstreamer                 1.14.0               hb31296c_0  
        gxx_impl_linux-64         7.3.0                hdf63c60_1  
        gxx_linux-64              7.3.0                h553295d_9  
        h5py                      2.10.0           py37h7918eee_0  
        harfbuzz                  2.4.0                hca77d97_1  
        hdf5                      1.10.4               hb1b8bf9_0  
        heapdict                  1.0.1                      py_0    conda-forge
        html5lib                  1.1                        py_0  
        hypothesis                6.0.0              pyhd8ed1ab_0    conda-forge
        icu                       58.2                 he6710b0_3  
        idna                      2.10                       py_0  
        imageio                   2.9.0                      py_0    conda-forge
        imagesize                 1.2.0                      py_0    conda-forge
        importlib-metadata        2.0.0                      py_1  
        importlib_metadata        2.0.0                         1    conda-forge
        iniconfig                 1.1.1                      py_0  
        intel-openmp              2020.2                      254  
        intervaltree              3.1.0                      py_0  
        ipykernel                 5.3.4            py37h5ca1d4c_0  
        ipympl                    0.5.8              pyh9f0ad1d_0    conda-forge
        ipython                   7.19.0           py37hb070fc8_0  
        ipython_genutils          0.2.0                    py37_0  
        ipywidgets                7.5.1                      py_1  
        isort                     5.6.4                      py_0  
        itsdangerous              1.1.0                    py37_0  
        jbig                      2.1                  hdba287a_0  
        jdcal                     1.4.1                      py_0    conda-forge
        jedi                      0.17.1                   py37_0  
        jeepney                   0.5.0              pyhd3eb1b0_0  
        jinja2                    2.11.2                     py_0  
        jmespath                  0.10.0             pyh9f0ad1d_0    conda-forge
        joblib                    0.17.0                     py_0    conda-forge
        jpeg                      9b                   h024ee3a_2  
        json5                     0.9.5                      py_0  
        jsonschema                3.2.0                      py_2    conda-forge
        jupyter                   1.0.0                    py37_7  
        jupyter-lsp               0.9.3              pyhd8ed1ab_0    conda-forge
        jupyter-lsp-python        0.9.3                hd8ed1ab_0    conda-forge
        jupyter_client            6.1.7                      py_0  
        jupyter_console           6.2.0                      py_0    conda-forge
        jupyter_core              4.6.3                    py37_0  
        jupyter_telemetry         0.1.0              pyhd8ed1ab_1    conda-forge
        jupyterhub                1.1.0                    py37_0    conda-forge
        jupyterlab                2.2.6                      py_0    conda-forge
        jupyterlab-git            0.23.3             pyhd8ed1ab_0    conda-forge
        jupyterlab_pygments       0.1.2                      py_0  
        jupyterlab_server         1.2.0                      py_0  
        keras                     2.3.1                    py37_0    conda-forge
        keras-applications        1.0.8                      py_1    conda-forge
        keras-preprocessing       1.1.0                      py_0    conda-forge
        keyring                   21.4.0                   py37_1  
        kiwisolver                1.3.0            py37h2531618_0  
        krb5                      1.18.2               h173b8e3_0  
        lazy-object-proxy         1.4.3            py37h7b6447c_0  
        lcms2                     2.11                 h396b838_0  
        ld_impl_linux-64          2.33.1               h53a641e_7  
        libarchive                3.4.2                h62408e4_0  
        libcurl                   7.71.1               h20c2e04_1  
        libedit                   3.1.20191231         h14c3975_1  
        libffi                    3.3                  he6710b0_2  
        libgcc-ng                 9.1.0                hdf63c60_0  
        libgfortran-ng            7.3.0                hdf63c60_0  
        libgpuarray               0.7.6             h14c3975_1003    conda-forge
        liblief                   0.10.1               he6710b0_0  
        libllvm10                 10.0.1               hbcb73fb_5  
        libpng                    1.6.37               hbc83047_0  
        libprotobuf               3.13.0.1             h8b12597_0    conda-forge
        libsodium                 1.0.18               h7b6447c_0  
        libspatialindex           1.9.3                he6710b0_0  
        libssh2                   1.9.0                h1ba5d50_1  
        libstdcxx-ng              9.1.0                hdf63c60_0  
        libtiff                   4.1.0                h2733197_1  
        libtool                   2.4.6             h7b6447c_1005  
        libuuid                   1.0.3                h1bed415_2  
        libxcb                    1.14                 h7b6447c_0  
        libxml2                   2.9.10               hb55368b_3  
        libxslt                   1.1.34               hc22bd24_0  
        llvmlite                  0.34.0           py37h269e1b5_4  
        locket                    0.2.0                    py37_1  
        lxml                      4.6.1            py37hefd8a0e_0  
        lz4-c                     1.9.2                heb0550a_3  
        lzo                       2.10                 h7b6447c_2  
        mako                      1.1.3              pyh9f0ad1d_0    conda-forge
        markdown                  3.3.3              pyh9f0ad1d_0    conda-forge
        markupsafe                1.1.1            py37h14c3975_1  
        matplotlib                3.3.2                         0  
        matplotlib-base           3.3.2            py37h817c723_0  
        mccabe                    0.6.1                    py37_1  
        mistune                   0.8.4           py37h14c3975_1001  
        mkl                       2020.2                      256  
        mkl-service               2.3.0            py37he904b0f_0  
        mkl_fft                   1.2.0            py37h23d657b_0  
        mkl_random                1.1.1            py37h0573a6f_0  
        mock                      4.0.2                      py_0  
        more-itertools            8.6.0              pyhd3eb1b0_0  
        mpc                       1.1.0                h10f8cd9_1  
        mpfr                      4.0.2                hb69a4c5_1  
        mpmath                    1.1.0                    py37_0  
        msgpack-python            1.0.0            py37hfd86e86_1  
        multipledispatch          0.6.0                    py37_0  
        mxnet                     1.7.0.post1              pypi_0    pypi
        mypy_extensions           0.4.3            py37h89c1867_3    conda-forge
        navigator-updater         0.2.1                    py37_0  
        nbclient                  0.5.1                      py_0    conda-forge
        nbconvert                 6.0.7                    py37_0  
        nbdime                    2.1.0                      py_0    conda-forge
        nbformat                  5.0.8                      py_0    conda-forge
        ncurses                   6.2                  he6710b0_1  
        nest-asyncio              1.4.2              pyhd3eb1b0_0  
        networkx                  2.5                        py_0    conda-forge
        nltk                      3.5                        py_0  
        nodejs                    10.15.3              hf484d3e_0    conda-forge
        nose                      1.3.7                 py37_1004  
        notebook                  6.1.4                    py37_0  
        numba                     0.51.2           py37h04863e7_1  
        numexpr                   2.7.1            py37h423224d_0  
        numpy                     1.19.2           py37h54aff64_0  
        numpy-base                1.19.2           py37hfa32c7d_0  
        numpydoc                  1.1.0              pyhd3eb1b0_1  
        oauthlib                  3.0.1                      py_0    conda-forge
        odo                       0.5.1                      py_1    conda-forge
        olefile                   0.46                     py37_0  
        openpyxl                  3.0.5                      py_0    conda-forge
        openssl                   1.1.1h               h7b6447c_0  
        packaging                 20.4                       py_0  
        pamela                    1.0.0                      py_0    conda-forge
        pandas                    1.1.3            py37he6710b0_0  
        pandoc                    2.11                 hb0f4dca_0  
        pandocfilters             1.4.3            py37h06a4308_1  
        pango                     1.45.3               hd140c19_0  
        parso                     0.7.0                      py_0  
        partd                     1.1.0                      py_0    conda-forge
        patchelf                  0.12                 he6710b0_0  
        path                      15.0.0                   py37_0  
        path.py                   12.5.0                        0    conda-forge
        pathlib2                  2.3.5                    py37_1  
        pathspec                  0.8.1              pyhd3deb0d_0    conda-forge
        pathtools                 0.1.2                      py_1    conda-forge
        patsy                     0.5.1                    py37_0  
        pcre                      8.44                 he6710b0_0  
        pep8                      1.7.1                    py37_0  
        pexpect                   4.8.0                    py37_1  
        pickleshare               0.7.5                 py37_1001  
        pillow                    8.0.1            py37he98fc37_0  
        pip                       20.2.4           py37h06a4308_0  
        pixman                    0.40.0               h7b6447c_0  
        pkginfo                   1.6.1            py37h06a4308_0  
        pluggy                    0.13.1                   py37_0  
        ply                       3.11                     py37_0  
        prometheus_client         0.8.0                      py_0  
        prompt-toolkit            3.0.8                      py_0  
        prompt_toolkit            3.0.8                         0  
        protobuf                  3.13.0.1         py37he6710b0_1  
        psutil                    5.7.2            py37h7b6447c_0  
        psycopg2                  2.8.6                    pypi_0    pypi
        ptyprocess                0.6.0                    py37_0    conda-forge
        py                        1.9.0                      py_0  
        py-lief                   0.10.1           py37h403a769_0  
        py4j                      0.10.7                   py37_0  
        pycodestyle               2.6.0                      py_0  
        pycosat                   0.6.3            py37h7b6447c_0  
        pycparser                 2.20                       py_2  
        pycrypto                  2.6.1           py37h7b6447c_10  
        pycurl                    7.43.0.6         py37h1ba5d50_0  
        pydocstyle                5.1.1                      py_0    conda-forge
        pyflakes                  2.2.0                      py_0  
        pygments                  2.7.2              pyhd3eb1b0_0  
        pygpu                     0.7.6           py37h161383b_1002    conda-forge
        pyjwt                     2.0.0              pyhd8ed1ab_0    conda-forge
        pylint                    2.6.0                    py37_0  
        pyodbc                    4.0.30           py37he6710b0_0  
        pyopenssl                 19.1.0                     py_1  
        pyparsing                 2.4.7                      py_0  
        pyqt                      5.9.2            py37h05f1152_2  
        pyrsistent                0.17.3           py37h7b6447c_0  
        pysocks                   1.7.1                    py37_1  
        pyspark                   2.4.6                      py_0    conda-forge
        pytables                  3.6.1            py37h71ec239_0  
        pytest                    6.1.1                    py37_0  
        pytest-arraydiff          0.3                        py_0    conda-forge
        pytest-astropy            0.8.0              pyhd8ed1ab_0    conda-forge
        pytest-astropy-header     0.1.2                      py_0    conda-forge
        pytest-cov                2.10.1             pyh9f0ad1d_0    conda-forge
        pytest-doctestplus        0.8.0              pyhd8ed1ab_1    conda-forge
        pytest-filter-subpackage  0.1.1                      py_0    conda-forge
        pytest-mock               3.5.1              pyhd8ed1ab_0    conda-forge
        pytest-openfiles          0.5.0                      py_0    conda-forge
        pytest-remotedata         0.3.2              pyh9f0ad1d_0    conda-forge
        python                    3.7.9                h7579374_0  
        python-dateutil           2.8.1                      py_0    conda-forge
        python-editor             1.0.4                      py_0    conda-forge
        python-graphviz           0.8.4                    pypi_0    pypi
        python-json-logger        2.0.1              pyh9f0ad1d_0    conda-forge
        python-jsonrpc-server     0.4.0                      py_0  
        python-language-server    0.35.1                     py_0  
        python-libarchive-c       2.9                        py_0  
        python_abi                3.7                     1_cp37m    conda-forge
        pytz                      2020.1                     py_0  
        pywavelets                1.1.1            py37h7b6447c_2  
        pyxdg                     0.27               pyhd3eb1b0_0  
        pyyaml                    5.3.1            py37h7b6447c_1  
        pyzmq                     19.0.2           py37he6710b0_1  
        qdarkstyle                2.8.1                      py_0  
        qt                        5.9.7                h5867ecd_1  
        qtawesome                 1.0.1                      py_0  
        qtconsole                 4.7.7                      py_0  
        qtpy                      1.9.0                      py_0    conda-forge
        readline                  8.0                  h7b6447c_0  
        regex                     2020.10.15       py37h7b6447c_0  
        reportlab                 3.5.51           py37hd14fb90_0  
        requests                  2.24.0                     py_0  
        ripgrep                   12.1.1                        0  
        rope                      0.18.0                     py_0  
        rtree                     0.9.4                    py37_1  
        ruamel.yaml               0.16.12          py37h4abf009_1    conda-forge
        ruamel.yaml.clib          0.2.2            py37h4abf009_1    conda-forge
        ruamel_yaml               0.15.87          py37h7b6447c_1  
        s3fs                      0.2.2                      py_0    conda-forge
        s3transfer                0.3.3              pyhd8ed1ab_5    conda-forge
        scikit-image              0.17.2           py37hdf5156a_0  
        scikit-learn              0.23.2           py37h0573a6f_0  
        scipy                     1.5.2            py37h0b6359f_0  
        seaborn                   0.11.0                     py_0  
        secretstorage             3.1.2                    py37_1  
        send2trash                1.5.0                    py37_0  
        setuptools                50.3.1           py37h06a4308_1  
        simplegeneric             0.8.1                    py37_2  
        singledispatch            3.4.0.3                 py_1001  
        sip                       4.19.8           py37hf484d3e_0  
        six                       1.15.0           py37h06a4308_0  
        smmap                     3.0.4              pyh9f0ad1d_0    conda-forge
        snowballstemmer           2.0.0                      py_0    conda-forge
        sortedcollections         1.2.1                      py_0  
        sortedcontainers          2.2.2                      py_0  
        soupsieve                 2.0.1                      py_0  
        sphinx                    3.2.1                      py_0  
        sphinxcontrib             1.0                      py37_1  
        sphinxcontrib-applehelp   1.0.2                      py_0    conda-forge
        sphinxcontrib-devhelp     1.0.2                      py_0    conda-forge
        sphinxcontrib-htmlhelp    1.0.3                      py_0    conda-forge
        sphinxcontrib-jsmath      1.0.1                      py_0    conda-forge
        sphinxcontrib-qthelp      1.0.3                      py_0    conda-forge
        sphinxcontrib-serializinghtml 1.1.4                      py_0    conda-forge
        sphinxcontrib-websupport  1.2.4                      py_0  
        spyder                    4.1.5                    py37_0  
        spyder-kernels            1.9.4                    py37_0  
        sqlalchemy                1.3.20           py37h27cfd23_0  
        sqlite                    3.33.0               h62c20be_0  
        statsmodels               0.12.0           py37h7b6447c_0  
        sympy                     1.6.2            py37h06a4308_1  
        tbb                       2020.3               hfd86e86_0  
        tblib                     1.7.0                      py_0  
        tensorboard               1.14.0                   py37_0    conda-forge
        tensorflow                1.14.0               h4531e10_0    conda-forge
        tensorflow-base           1.14.0           py37h4531e10_0    conda-forge
        tensorflow-estimator      1.14.0           py37h5ca1d4c_0    conda-forge
        termcolor                 1.1.0                      py_2    conda-forge
        terminado                 0.9.1                    py37_0  
        testpath                  0.4.4                      py_0    conda-forge
        theano                    1.0.5            py37h745909e_1    conda-forge
        threadpoolctl             2.1.0              pyh5ca1d4c_0    conda-forge
        thrift                    0.11.0          py37he1b5a44_1001    conda-forge
        tifffile                  2020.10.1        py37hdd07704_2  
        tk                        8.6.10               hbc83047_0  
        toml                      0.10.1                     py_0  
        toolz                     0.11.1                     py_0    conda-forge
        tornado                   6.0.4            py37h7b6447c_1  
        tqdm                      4.50.2                     py_0  
        traitlets                 5.0.5                      py_0    conda-forge
        twilio                    6.50.1                   pypi_0    pypi
        typed-ast                 1.4.1            py37h7b6447c_0  
        typing_extensions         3.7.4.3                    py_0    conda-forge
        ujson                     4.0.1            py37he6710b0_0  
        unicodecsv                0.14.1                   py37_0  
        unixodbc                  2.3.9                h7b6447c_0  
        urllib3                   1.25.11                    py_0    conda-forge
        watchdog                  0.10.3                   py37_0  
        wcwidth                   0.2.5                      py_0  
        webencodings              0.5.1                    py37_1  
        werkzeug                  1.0.1                      py_0  
        wheel                     0.35.1                     py_0  
        widgetsnbextension        3.5.1                    py37_0    conda-forge
        wrapt                     1.11.2           py37h7b6447c_0  
        wurlitzer                 2.0.1                    py37_0  
        xlrd                      1.2.0                    py37_0  
        xlsxwriter                1.3.7                      py_0  
        xlwt                      1.3.0                    py37_0  
        xmltodict                 0.12.0                     py_0    conda-forge
        xz                        5.2.5                h7b6447c_0  
        yaml                      0.2.5                h7b6447c_0  
        yapf                      0.30.0                     py_0  
        zeromq                    4.3.3                he6710b0_3  
        zict                      2.0.0                      py_0    conda-forge
        zipp                      3.4.0              pyhd3eb1b0_0  
        zlib                      1.2.11               h7b6447c_3  
        zope                      1.0                      py37_1  
        zope.event                4.5.0                    py37_0  
        zope.interface            5.1.2            py37h7b6447c_0  
        zstd                      1.4.5                h9ceee32_0
Command Line Output
Jan 12 08:02:42 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:02:42.099 JupyterHub application:730] Looking for /etc/jupyterhub/jupyterhub_config in /
Jan 12 08:02:42 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:02:42.100 JupyterHub application:752] Loaded config file: /etc/jupyterhub/jupyterhub_config.py
Jan 12 08:02:42 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:02:42.102 JupyterHub app:2240] Running JupyterHub version 1.1.0
Jan 12 08:02:42 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:02:42.102 JupyterHub app:2271] Using Authenticator: jupyterhub.auth.PAMAuthenticator-1.1.0
Jan 12 08:02:42 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:02:42.102 JupyterHub app:2271] Using Spawner: jupyterhub.spawner.LocalProcessSpawner-1.1.0
Jan 12 08:02:42 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:02:42.102 JupyterHub app:2271] Using Proxy: jupyterhub.proxy.ConfigurableHTTPProxy-1.1.0
Jan 12 08:02:42 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:02:42.292 JupyterHub app:1389] Generating new cookie_secret
Jan 12 08:02:42 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:02:42.293 JupyterHub app:1394] Writing cookie_secret to /jupyterhub_cookie_secret
Jan 12 08:02:42 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:02:42.293 JupyterHub app:1516] Connecting to db: sqlite:///jupyterhub.sqlite
Jan 12 08:02:42 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:02:42.831 JupyterHub orm:718] Stamping empty database with alembic revision 4dc2d5a8c53c
Jan 12 08:02:43 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:02:43.029 alembic.runtime.migration migration:155] Context impl SQLiteImpl.
Jan 12 08:02:43 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:02:43.029 alembic.runtime.migration migration:162] Will assume non-transactional DDL.
Jan 12 08:02:43 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:02:43.036 alembic.runtime.migration migration:517] Running stamp_revision  -> 4dc2d5a8c53c
Jan 12 08:02:43 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:02:43.037 alembic.runtime.migration migration:727] new branch insert 4dc2d5a8c53c
Jan 12 08:02:43 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:02:43.107 JupyterHub proxy:461] Generating new CONFIGPROXY_AUTH_TOKEN
Jan 12 08:02:43 ip-10-46-59-130 jupyterhub: [W 2021-01-12 08:02:43.110 JupyterHub app:1624] No admin users, admin interface will be unavailable.
Jan 12 08:02:43 ip-10-46-59-130 jupyterhub: [W 2021-01-12 08:02:43.110 JupyterHub app:1626] Add any administrative users to `c.Authenticator.admin_users` in config.
Jan 12 08:02:43 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:02:43.110 JupyterHub app:1655] Not using whitelist. Any authenticated user will be allowed.
Jan 12 08:02:43 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:02:43.156 JupyterHub app:1914] Initializing spawners
Jan 12 08:02:43 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:02:43.158 JupyterHub app:2038] Loaded users:
Jan 12 08:02:43 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:02:43.159 JupyterHub app:2311] Initialized 0 spawners in 0.003 seconds
Jan 12 08:02:43 ip-10-46-59-130 jupyterhub: [W 2021-01-12 08:02:43.162 JupyterHub proxy:643] Running JupyterHub without SSL.  I hope there is SSL termination happening somewhere else...
Jan 12 08:02:43 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:02:43.162 JupyterHub proxy:646] Starting proxy @ http://127.0.0.1:8888/
Jan 12 08:02:43 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:02:43.162 JupyterHub proxy:647] Proxy cmd: ['configurable-http-proxy', '--ip', '127.0.0.1', '--port', '8888', '--api-ip', '127.0.0.1', '--api-port', '8001', '--error-target', 'http://127.0.0.1:8081/hub/error']
Jan 12 08:02:43 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:02:43.274 JupyterHub proxy:562] Writing proxy pid file: jupyterhub-proxy.pid
Jan 12 08:02:54 ip-10-46-59-130 jupyterhub: 08:02:53.285 [ConfigProxy] #033[32minfo#033[39m: Proxying http://127.0.0.1:8888 to (no default)
Jan 12 08:02:54 ip-10-46-59-130 jupyterhub: 08:02:54.133 [ConfigProxy] #033[32minfo#033[39m: Proxy API at http://127.0.0.1:8001/api/routes
Jan 12 08:02:54 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:02:54.375 JupyterHub proxy:682] Proxy started and appears to be up
Jan 12 08:02:54 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:02:54.375 JupyterHub proxy:682] Proxy started and appears to be up
Jan 12 08:02:54 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:02:54.376 JupyterHub proxy:766] Proxy: Fetching GET http://127.0.0.1:8001/api/routes
Jan 12 08:02:54 ip-10-46-59-130 jupyterhub: 08:02:54.389 [ConfigProxy] #033[32minfo#033[39m: 200 GET /api/routes
Jan 12 08:02:54 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:02:54.390 JupyterHub app:2556] Hub API listening on http://127.0.0.1:8081/hub/
Jan 12 08:02:54 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:02:54.390 JupyterHub proxy:315] Fetching routes to check
Jan 12 08:02:54 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:02:54.390 JupyterHub proxy:766] Proxy: Fetching GET http://127.0.0.1:8001/api/routes
Jan 12 08:02:54 ip-10-46-59-130 jupyterhub: 08:02:54.392 [ConfigProxy] #033[32minfo#033[39m: 200 GET /api/routes
Jan 12 08:02:54 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:02:54.392 JupyterHub proxy:320] Checking routes
Jan 12 08:02:54 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:02:54.392 JupyterHub proxy:400] Adding default route for Hub: / => http://127.0.0.1:8081
Jan 12 08:02:54 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:02:54.393 JupyterHub proxy:766] Proxy: Fetching POST http://127.0.0.1:8001/api/routes/
Jan 12 08:02:54 ip-10-46-59-130 jupyterhub: 08:02:54.395 [ConfigProxy] #033[32minfo#033[39m: Adding route / -> http://127.0.0.1:8081
Jan 12 08:02:54 ip-10-46-59-130 jupyterhub: 08:02:54.396 [ConfigProxy] #033[32minfo#033[39m: Route added / -> http://127.0.0.1:8081
Jan 12 08:02:54 ip-10-46-59-130 jupyterhub: 08:02:54.396 [ConfigProxy] #033[32minfo#033[39m: 201 POST /api/routes/
Jan 12 08:02:54 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:02:54.397 JupyterHub app:2631] JupyterHub is now running at http://127.0.0.1:8888/
Jan 12 08:02:54 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:02:54.398 JupyterHub app:2233] It took 12.492 seconds for the Hub to start
Jan 12 08:06:37 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:06:37.929 JupyterHub log:174] 302 GET / -> /hub/ (@127.0.0.1) 1.20ms
Jan 12 08:06:37 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:06:37.956 JupyterHub log:174] 302 GET /hub/ -> /hub/login (@127.0.0.1) 0.69ms
Jan 12 08:06:38 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:06:38.369 JupyterHub log:174] 200 GET /hub/login (@127.0.0.1) 392.96ms
Jan 12 08:06:38 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:06:38.460 JupyterHub log:174] 200 GET /hub/static/css/style.min.css?v=ab35cbd1a6857ec00620a56c43760477 (@127.0.0.1) 1.77ms
Jan 12 08:06:38 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:06:38.461 JupyterHub log:174] 200 GET /hub/static/components/requirejs/require.js?v=f0cc8bbb2fcef87fc194fecbb632fcfa (@127.0.0.1) 2.61ms
Jan 12 08:06:38 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:06:38.463 JupyterHub log:174] 200 GET /hub/static/components/jquery/dist/jquery.min.js?v=220afd743d9e9643852e31a135a9f3ae (@127.0.0.1) 1.63ms
Jan 12 08:06:38 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:06:38.464 JupyterHub log:174] 200 GET /hub/static/components/bootstrap/dist/js/bootstrap.min.js?v=2f34b630ffe30ba2ff2b91e3f3c322a1 (@127.0.0.1) 2.04ms
Jan 12 08:06:38 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:06:38.662 JupyterHub log:174] 200 GET /hub/logo (@127.0.0.1) 86.28ms
Jan 12 08:06:38 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:06:38.774 JupyterHub log:174] 200 GET /favicon.ico (@127.0.0.1) 81.41ms
Jan 12 08:06:53 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:06:53.283 JupyterHub base:522] Setting cookie jupyterhub-session-id: {'httponly': True}
Jan 12 08:06:53 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:06:53.284 JupyterHub base:526] Setting cookie for uidk9081: jupyterhub-hub-login
Jan 12 08:06:53 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:06:53.284 JupyterHub base:522] Setting cookie jupyterhub-hub-login: {'httponly': True, 'path': '/hub/'}
Jan 12 08:06:53 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:06:53.284 JupyterHub base:707] User logged in: uidk9081
Jan 12 08:06:53 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:06:53.284 JupyterHub user:242] Creating  for uidk9081:
Jan 12 08:06:53 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:06:53.287 JupyterHub log:174] 302 POST /hub/login?next= -> /hub/spawn (uidk9081@127.0.0.1) 813.34ms
Jan 12 08:06:53 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:06:53.315 JupyterHub base:285] Recording first activity for 
Jan 12 08:06:53 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:06:53.321 JupyterHub pages:195] Triggering spawn with default options for uidk9081
Jan 12 08:06:53 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:06:53.321 JupyterHub base:825] Initiating spawn for uidk9081
Jan 12 08:06:53 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:06:53.322 JupyterHub base:832] 0/100 concurrent spawns
Jan 12 08:06:53 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:06:53.322 JupyterHub base:837] 0 active servers
Jan 12 08:06:53 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:06:53.373 JupyterHub user:556] Calling Spawner.start for uidk9081
Jan 12 08:06:53 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:06:53.375 JupyterHub spawner:1417] Spawning jupyter-labhub --port=38835
Jan 12 08:06:53 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:06:53.388 JupyterHub spawner:1113] Polling subprocess every 30s
Jan 12 08:06:54 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:06:54.323 JupyterHub log:174] 302 GET /hub/spawn -> /hub/spawn-pending/uidk9081 (uidk9081@127.0.0.1) 1010.21ms
Jan 12 08:06:54 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:06:54.504 JupyterHub pages:347] uidk9081 is pending spawn
Jan 12 08:06:54 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:06:54.510 JupyterHub log:174] 200 GET /hub/spawn-pending/uidk9081 (uidk9081@127.0.0.1) 9.12ms
Jan 12 08:06:54 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:06:54.623 JupyterHub log:174] 200 GET /hub/static/components/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0 (@127.0.0.1) 6.56ms
Jan 12 08:07:03 ip-10-46-59-130 jupyterhub: [W 2021-01-12 08:07:03.324 JupyterHub base:982] User uidk9081 is slow to become responsive (timeout=10)
Jan 12 08:07:03 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:07:03.324 JupyterHub base:987] Expecting server for uidk9081 at: http://127.0.0.1:38835/user/uidk9081/
Jan 12 08:07:16 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:16.962 SingleUserLabApp extension:162] JupyterLab extension loaded from /opt/anaconda3/lib/python3.7/site-packages/jupyterlab
Jan 12 08:07:16 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:16.962 SingleUserLabApp extension:163] JupyterLab application directory is /opt/anaconda3/share/jupyter/lab
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.647 SingleUserLabApp singleuser:561] Starting jupyterhub-singleuser server version 1.1.0
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.681 SingleUserLabApp log:174] 302 GET /user/uidk9081/ -> /user/uidk9081/lab? (@127.0.0.1) 1.80ms
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.647 SingleUserLabApp singleuser:561] Starting jupyterhub-singleuser server version 1.1.0
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.681 SingleUserLabApp log:174] 302 GET /user/uidk9081/ -> /user/uidk9081/lab? (@127.0.0.1) 1.80ms
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:07:18.681 JupyterHub utils:218] Server at http://127.0.0.1:38835/user/uidk9081/ responded with 302
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:07:18.681 JupyterHub _version:60] jupyterhub and jupyterhub-singleuser both on version 1.1.0
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.682 JupyterHub base:855] User uidk9081 took 25.360 seconds to start
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.682 JupyterHub proxy:262] Adding user uidk9081 to proxy /user/uidk9081/ => http://127.0.0.1:38835
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:07:18.682 JupyterHub proxy:766] Proxy: Fetching POST http://127.0.0.1:8001/api/routes/user/uidk9081
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.684 JupyterHub log:174] 200 GET /hub/api (@127.0.0.1) 0.99ms
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: 08:07:18.684 [ConfigProxy] #033[32minfo#033[39m: Adding route /user/uidk9081 -> http://127.0.0.1:38835
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: 08:07:18.685 [ConfigProxy] #033[32minfo#033[39m: Route added /user/uidk9081 -> http://127.0.0.1:38835
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: 08:07:18.685 [ConfigProxy] #033[32minfo#033[39m: 201 POST /api/routes/user/uidk9081
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.685 SingleUserLabApp notebookapp:2209] Serving notebooks from local directory: /home/uidk9081
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.686 SingleUserLabApp notebookapp:2209] Jupyter Notebook 6.1.4 is running at:
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.686 SingleUserLabApp notebookapp:2209] http://127.0.0.1:38835/user/uidk9081/
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.686 SingleUserLabApp notebookapp:2210] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.686 JupyterHub users:609] Server uidk9081 is ready
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.687 JupyterHub log:174] 200 GET /hub/api/users/uidk9081/server/progress (uidk9081@127.0.0.1) 24071.34ms
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.691 SingleUserLabApp singleuser:542] Updating Hub with activity every 300 seconds
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:07:18.696 JupyterHub base:285] Recording first activity for 
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:07:18.705 JupyterHub users:711] Activity for user uidk9081: 2021-01-12T08:07:09.137202Z
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:07:18.705 JupyterHub users:732] Activity on server uidk9081/: 2021-01-12T08:07:09.137202Z
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.710 JupyterHub log:174] 200 POST /hub/api/users/uidk9081/activity (uidk9081@127.0.0.1) 16.59ms
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.726 JupyterHub log:174] 302 GET /hub/spawn-pending/uidk9081 -> /user/uidk9081/ (uidk9081@127.0.0.1) 3.20ms
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.750 SingleUserLabApp log:174] 302 GET /user/uidk9081/ -> /user/uidk9081/lab? (@127.0.0.1) 0.75ms
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.778 SingleUserLabApp log:174] 302 GET /user/uidk9081/lab? -> /hub/api/oauth2/authorize?client_id=jupyterhub-user-uidk9081&redirect_uri=%2Fuser%2Fuidk9081%2Foauth_callback&response_type=code&state=[secret] (@127.0.0.1) 2.29ms
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:07:18.810 JupyterHub provider:414] Validating client id jupyterhub-user-uidk9081
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:07:18.811 JupyterHub provider:492] validate_redirect_uri: client_id=jupyterhub-user-uidk9081, redirect_uri=/user/uidk9081/oauth_callback
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:07:18.813 JupyterHub auth:247] Skipping oauth confirmation for  accessing Server at /user/uidk9081/
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:07:18.814 JupyterHub provider:414] Validating client id jupyterhub-user-uidk9081
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:07:18.815 JupyterHub provider:492] validate_redirect_uri: client_id=jupyterhub-user-uidk9081, redirect_uri=/user/uidk9081/oauth_callback
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:07:18.816 JupyterHub provider:241] Saving authorization code jupyterhub-user-uidk9081, e1y..., (), {}
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.824 JupyterHub log:174] 302 GET /hub/api/oauth2/authorize?client_id=jupyterhub-user-uidk9081&redirect_uri=%2Fuser%2Fuidk9081%2Foauth_callback&response_type=code&state=[secret] -> /user/uidk9081/oauth_callback?code=[secret]&state=[secret] (uidk9081@127.0.0.1) 16.19ms
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:07:18.856 JupyterHub provider:60] authenticate_client 
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:07:18.866 JupyterHub provider:119] confirm_redirect_uri: client_id=jupyterhub-user-uidk9081, redirect_uri=/user/uidk9081/oauth_callback
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:07:18.866 JupyterHub provider:339] Saving bearer token {'access_token': 'REDACTED', 'expires_in': 3600, 'token_type': 'Bearer', 'scope': 'identify', 'refresh_token': 'REDACTED'}
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:07:18.874 JupyterHub provider:194] Deleting oauth code e1y... for jupyterhub-user-uidk9081
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.884 JupyterHub log:174] 200 POST /hub/api/oauth2/token (uidk9081@127.0.0.1) 31.48ms
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.918 JupyterHub log:174] 200 GET /hub/api/authorizations/token/[secret] (uidk9081@127.0.0.1) 31.65ms
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.919 SingleUserLabApp auth:981] Logged-in user {'kind': 'user', 'name': 'uidk9081', 'admin': False, 'groups': [], 'server': '/user/uidk9081/', 'pending': None, 'created': '2021-01-12T08:06:53.265322Z', 'last_activity': '2021-01-12T08:07:18.910512Z', 'servers': None}
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.920 SingleUserLabApp log:174] 302 GET /user/uidk9081/oauth_callback?code=[secret]&state=[secret] -> /user/uidk9081/lab? (@127.0.0.1) 72.89ms
Jan 12 08:07:18 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:18.957 SingleUserLabApp log:174] 200 GET /user/uidk9081/lab? (uidk9081@127.0.0.1) 7.60ms
Jan 12 08:07:20 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:20.545 JupyterHub log:174] 200 GET /hub/api/authorizations/token/[secret] (uidk9081@127.0.0.1) 11.15ms
Jan 12 08:07:20 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:20.804 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/kernelspecs?1610438840508 (uidk9081@127.0.0.1) 273.02ms
Jan 12 08:07:22 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:22.883 SingleUserLabApp log:174] 200 GET /user/uidk9081/lab/api/settings/?1610438840546 (uidk9081@127.0.0.1) 2077.77ms
Jan 12 08:07:22 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:22.885 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/kernels?1610438840578 (uidk9081@127.0.0.1) 2078.20ms
Jan 12 08:07:22 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:22.886 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/sessions?1610438840580 (uidk9081@127.0.0.1) 2078.56ms
Jan 12 08:07:22 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:22.887 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/terminals?1610438840582 (uidk9081@127.0.0.1) 2078.46ms
Jan 12 08:07:22 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:22.893 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/kernelspecs?1610438840811 (uidk9081@127.0.0.1) 2.93ms
Jan 12 08:07:23 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:23.041 SingleUserLabApp log:174] 200 GET /user/uidk9081/lsp/status?1610438843012 (uidk9081@127.0.0.1) 4.90ms
Jan 12 08:07:26 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:26.157 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/nbconvert?1610438843023 (uidk9081@127.0.0.1) 3111.80ms
Jan 12 08:07:26 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:26.158 SingleUserLabApp build_handler:47] Build is up to date
Jan 12 08:07:26 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:26.164 SingleUserLabApp log:174] 200 GET /user/uidk9081/lab/api/build?1610438840989 (uidk9081@127.0.0.1) 3273.55ms
Jan 12 08:07:26 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:26.806 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/nbconvert?1610438843040 (uidk9081@127.0.0.1) 647.18ms
Jan 12 08:07:26 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:26.814 SingleUserLabApp log:174] 200 GET /user/uidk9081/metrics?1610438843072 (uidk9081@127.0.0.1) 654.48ms
Jan 12 08:07:26 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:26.937 SingleUserLabApp log:174] 200 GET /user/uidk9081/lab/api/listings/@jupyterlab/extensionmanager-extension/listings.json?1610438843222 (uidk9081@127.0.0.1) 775.79ms
Jan 12 08:07:26 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:26.943 SingleUserLabApp log:174] 200 GET /user/uidk9081/lab/api/settings/@jupyterlab/docmanager-extension:plugin?1610438843257 (uidk9081@127.0.0.1) 780.00ms
Jan 12 08:07:26 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:26.945 SingleUserLabApp log:174] 200 GET /user/uidk9081/git/settings?version=0.23.3&1610438843229 (uidk9081@127.0.0.1) 783.07ms
Jan 12 08:07:28 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:28.327 SingleUserLabApp log:174] 200 GET /user/uidk9081/lab/api/workspaces/lab?1610438846984 (uidk9081@127.0.0.1) 4.39ms
Jan 12 08:07:28 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:28.339 SingleUserLabApp log:174] 200 GET /user/uidk9081/metrics?1610438847382 (uidk9081@127.0.0.1) 14.07ms
Jan 12 08:07:28 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:28.753 SingleUserLabApp log:174] 200 GET /user/uidk9081/lab/api/settings/?1610438848336 (uidk9081@127.0.0.1) 30.59ms
Jan 12 08:07:28 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:28.890 SingleUserLabApp log:174] 204 PUT /user/uidk9081/lab/api/workspaces/lab?1610438848861 (uidk9081@127.0.0.1) 1.64ms
Jan 12 08:07:28 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:28.753 SingleUserLabApp log:174] 200 GET /user/uidk9081/lab/api/settings/?1610438848336 (uidk9081@127.0.0.1) 30.59ms
Jan 12 08:07:28 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:28.890 SingleUserLabApp log:174] 204 PUT /user/uidk9081/lab/api/workspaces/lab?1610438848861 (uidk9081@127.0.0.1) 1.64ms
Jan 12 08:07:29 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:29.101 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/contents/?content=1&1610438848923 (uidk9081@127.0.0.1) 17.89ms
Jan 12 08:07:29 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:29.473 SingleUserLabApp log:174] 204 PUT /user/uidk9081/lab/api/workspaces/lab?1610438849428 (uidk9081@127.0.0.1) 19.76ms
Jan 12 08:07:32 ip-10-46-59-130 jupyterhub: -#010\#010|#010/#010-#010\#010|#010/#010-#010\#010|#010/#010-#010\#010|#010/#010-#010\#010|#010/#010-#010\#010|#010/#010-#010\#010|[I 2021-01-12 08:07:32.293 SingleUserLabApp log:174] 200 GET /user/uidk9081/metrics?1610438852256 (uidk9081@127.0.0.1) 12.99ms
Jan 12 08:07:32 ip-10-46-59-130 jupyterhub: #010/#010-[I 2021-01-12 08:07:32.475 SingleUserLabApp log:174] 204 PUT /user/uidk9081/lab/api/workspaces/lab?1610438852449 (uidk9081@127.0.0.1) 1.73ms
Jan 12 08:07:33 ip-10-46-59-130 jupyterhub: #010\#010|#010/#010-#010\#010|[I 2021-01-12 08:07:33.111 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/kernels?1610438853083 (uidk9081@127.0.0.1) 1.57ms
Jan 12 08:07:33 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:33.114 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/sessions?1610438853086 (uidk9081@127.0.0.1) 2.34ms
Jan 12 08:07:33 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:33.115 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/terminals?1610438853088 (uidk9081@127.0.0.1) 2.03ms
Jan 12 08:07:33 ip-10-46-59-130 jupyterhub: #010/[I 2021-01-12 08:07:33.239 SingleUserLabApp handlers:153] Creating new notebook in /
Jan 12 08:07:33 ip-10-46-59-130 jupyterhub: #010-[I 2021-01-12 08:07:33.354 SingleUserLabApp sign:396] Writing notebook-signing key to /home/uidk9081/.local/share/jupyter/notebook_secret
Jan 12 08:07:33 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:33.362 SingleUserLabApp log:174] 201 POST /user/uidk9081/api/contents/?1610438853214 (uidk9081@127.0.0.1) 124.81ms
Jan 12 08:07:33 ip-10-46-59-130 jupyterhub: #010\[I 2021-01-12 08:07:33.395 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/contents/Untitled.ipynb?content=0&1610438853369 (uidk9081@127.0.0.1) 1.72ms
Jan 12 08:07:33 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:33.411 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/contents/?content=1&1610438853383 (uidk9081@127.0.0.1) 3.16ms
Jan 12 08:07:33 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:33.454 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/contents/Untitled.ipynb?type=notebook&content=1&1610438853425 (uidk9081@127.0.0.1) 6.58ms
Jan 12 08:07:33 ip-10-46-59-130 jupyterhub: #010|[I 2021-01-12 08:07:33.480 SingleUserLabApp log:174] 200 POST /user/uidk9081/nbdime/api/isgit?1610438853453 (uidk9081@127.0.0.1) 2.26ms
Jan 12 08:07:33 ip-10-46-59-130 jupyterhub: #010/#010-#010\[I 2021-01-12 08:07:33.814 SingleUserLabApp log:174] 200 POST /user/uidk9081/nbdime/api/isgit?1610438853500 (uidk9081@127.0.0.1) 7.07ms
Jan 12 08:07:33 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:33.817 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/contents/Untitled.ipynb/checkpoints?1610438853554 (uidk9081@127.0.0.1) 7.89ms
Jan 12 08:07:33 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:33.818 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/contents/Untitled.ipynb/checkpoints?1610438853556 (uidk9081@127.0.0.1) 7.95ms
Jan 12 08:07:33 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:33.819 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/contents/Untitled.ipynb/checkpoints?1610438853564 (uidk9081@127.0.0.1) 7.37ms
Jan 12 08:07:33 ip-10-46-59-130 jupyterhub: #010|[I 2021-01-12 08:07:33.878 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/sessions?1610438853854 (uidk9081@127.0.0.1) 2.39ms
Jan 12 08:07:34 ip-10-46-59-130 jupyterhub: #010/#010-[I 2021-01-12 08:07:34.111 SingleUserLabApp kernelmanager:179] Kernel started: d25e7a76-6463-4bd1-90be-aac8ef26acac, name: python3
Jan 12 08:07:34 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:34.115 SingleUserLabApp log:174] 201 POST /user/uidk9081/api/sessions?1610438853884 (uidk9081@127.0.0.1) 207.30ms
Jan 12 08:07:34 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:34.117 SingleUserLabApp log:174] 204 PUT /user/uidk9081/lab/api/workspaces/lab?1610438854003 (uidk9081@127.0.0.1) 3.53ms
Jan 12 08:07:34 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:34.159 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/sessions?1610438854133 (uidk9081@127.0.0.1) 1.74ms
Jan 12 08:07:34 ip-10-46-59-130 jupyterhub: #010\[I 2021-01-12 08:07:34.196 SingleUserLabApp log:174] 200 PATCH /user/uidk9081/api/sessions/f637873e-2923-46f3-af6b-d5cee66049ac?1610438854169 (uidk9081@127.0.0.1) 2.56ms
Jan 12 08:07:34 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:34.213 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/kernels?1610438854188 (uidk9081@127.0.0.1) 1.48ms
Jan 12 08:07:34 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:34.228 SingleUserLabApp log:174] 200 PATCH /user/uidk9081/api/sessions/f637873e-2923-46f3-af6b-d5cee66049ac?1610438854201 (uidk9081@127.0.0.1) 2.45ms
Jan 12 08:07:34 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:34.239 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/sessions?1610438854215 (uidk9081@127.0.0.1) 1.52ms
Jan 12 08:07:34 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:34.256 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/kernelspecs?1610438854231 (uidk9081@127.0.0.1) 2.70ms
Jan 12 08:07:34 ip-10-46-59-130 jupyterhub: #010|#010/#010-#010\[I 2021-01-12 08:07:34.645 SingleUserLabApp log:174] 101 GET /user/uidk9081/api/kernels/d25e7a76-6463-4bd1-90be-aac8ef26acac/channels?session_id=378801fd-5a6d-4220-9fee-ed28951a1c2e (uidk9081@127.0.0.1) 424.14ms
Jan 12 08:07:34 ip-10-46-59-130 jupyterhub: #010|[I 2021-01-12 08:07:34.714 SingleUserLabApp log:174] 101 GET /user/uidk9081/api/kernels/d25e7a76-6463-4bd1-90be-aac8ef26acac/channels?session_id=a6e8d3a2-e9b0-4381-a40b-f375dedc232c (uidk9081@127.0.0.1) 2.65ms
Jan 12 08:07:34 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:34.762 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/sessions?1610438854726 (uidk9081@127.0.0.1) 4.09ms
Jan 12 08:07:34 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:34.763 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/kernels?1610438854728 (uidk9081@127.0.0.1) 3.81ms
Jan 12 08:07:34 ip-10-46-59-130 jupyterhub: #010/[I 2021-01-12 08:07:34.780 SingleUserLabApp log:174] 101 GET /user/uidk9081/api/kernels/d25e7a76-6463-4bd1-90be-aac8ef26acac/channels?session_id=5b56f382-6923-4006-b49c-fea616003a42 (uidk9081@127.0.0.1) 2.81ms
Jan 12 08:07:35 ip-10-46-59-130 jupyterhub: #010-#010\#010|[I 2021-01-12 08:07:35.119 SingleUserLabApp log:174] 101 GET /user/uidk9081/lsp/ws/pyls (uidk9081@127.0.0.1) 1.26ms
Jan 12 08:07:36 ip-10-46-59-130 jupyterhub: #010/#010-#010\#010|#010/#010-#010\#010|#010/#010-#010\#010|#010/#010-#010\#010|#010[I 2021-01-12 08:07:36.927 SingleUserLabApp log:174] 200 GET /user/uidk9081/lab/api/extensions?1610438846953 (uidk9081@127.0.0.1) 9951.13ms
Jan 12 08:07:36 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:36.928 SingleUserLabApp log:174] 200 GET /user/uidk9081/lab/api/extensions?1610438847962 (uidk9081@127.0.0.1) 8602.75ms
Jan 12 08:07:39 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:39.852 SingleUserLabApp log:174] 200 GET /user/uidk9081/metrics?1610438859808 (uidk9081@127.0.0.1) 14.70ms
Jan 12 08:07:44 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:44.288 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/terminals?1610438863121 (uidk9081@127.0.0.1) 225.06ms
Jan 12 08:07:44 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:44.291 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/contents/?content=1&1610438863511 (uidk9081@127.0.0.1) 227.05ms
Jan 12 08:07:44 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:44.811 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/sessions?1610438864765 (uidk9081@127.0.0.1) 2.43ms
Jan 12 08:07:44 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:44.812 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/kernels?1610438864767 (uidk9081@127.0.0.1) 2.32ms
Jan 12 08:07:47 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:47.262 SingleUserLabApp log:174] 200 GET /user/uidk9081/metrics?1610438867220 (uidk9081@127.0.0.1) 14.10ms
Jan 12 08:07:52 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:52.418 SingleUserLabApp log:174] 200 GET /user/uidk9081/metrics?1610438872375 (uidk9081@127.0.0.1) 13.66ms
Jan 12 08:07:54 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:54.398 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/terminals?1610438874371 (uidk9081@127.0.0.1) 1.29ms
Jan 12 08:07:54 ip-10-46-59-130 jupyterhub: [D 2021-01-12 08:07:54.398 JupyterHub proxy:766] Proxy: Fetching GET http://127.0.0.1:8001/api/routes
Jan 12 08:07:54 ip-10-46-59-130 jupyterhub: 08:07:54.400 [ConfigProxy] #033[32minfo#033[39m: 200 GET /api/routes
Jan 12 08:07:54 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:54.401 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/contents/?content=1&1610438874366 (uidk9081@127.0.0.1) 2.94ms
Jan 12 08:07:54 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:54.409 JupyterHub proxy:320] Checking routes
Jan 12 08:07:54 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:54.863 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/sessions?1610438874832 (uidk9081@127.0.0.1) 2.39ms
Jan 12 08:07:54 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:54.864 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/kernels?1610438874835 (uidk9081@127.0.0.1) 2.44ms
Jan 12 08:07:58 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:07:58.012 SingleUserLabApp log:174] 200 GET /user/uidk9081/metrics?1610438877973 (uidk9081@127.0.0.1) 14.34ms
Jan 12 08:08:04 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:04.437 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/terminals?1610438884402 (uidk9081@127.0.0.1) 2.18ms
Jan 12 08:08:04 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:04.440 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/contents/?content=1&1610438884407 (uidk9081@127.0.0.1) 3.76ms
Jan 12 08:08:04 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:04.902 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/sessions?1610438884870 (uidk9081@127.0.0.1) 1.69ms
Jan 12 08:08:04 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:04.904 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/kernels?1610438884875 (uidk9081@127.0.0.1) 1.34ms
Jan 12 08:08:08 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:08.282 SingleUserLabApp log:174] 200 GET /user/uidk9081/metrics?1610438888240 (uidk9081@127.0.0.1) 13.85ms
Jan 12 08:08:14 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:14.475 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/terminals?1610438894441 (uidk9081@127.0.0.1) 1.90ms
Jan 12 08:08:14 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:14.476 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/contents/?content=1&1610438894446 (uidk9081@127.0.0.1) 3.13ms
Jan 12 08:08:14 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:14.942 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/sessions?1610438894908 (uidk9081@127.0.0.1) 1.63ms
Jan 12 08:08:14 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:14.944 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/kernels?1610438894913 (uidk9081@127.0.0.1) 1.36ms
Jan 12 08:08:17 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:17.830 SingleUserLabApp log:174] 200 GET /user/uidk9081/metrics?1610438897787 (uidk9081@127.0.0.1) 13.64ms
Jan 12 08:08:24 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:24.120 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/kernelspecs?1610438904088 (uidk9081@127.0.0.1) 2.21ms
Jan 12 08:08:24 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:24.513 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/terminals?1610438904479 (uidk9081@127.0.0.1) 1.91ms
Jan 12 08:08:24 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:24.514 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/contents/?content=1&1610438904484 (uidk9081@127.0.0.1) 2.86ms
Jan 12 08:08:24 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:24.978 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/sessions?1610438904949 (uidk9081@127.0.0.1) 1.60ms
Jan 12 08:08:24 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:24.980 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/kernels?1610438904953 (uidk9081@127.0.0.1) 1.44ms
Jan 12 08:08:34 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:34.548 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/terminals?1610438914516 (uidk9081@127.0.0.1) 1.28ms
Jan 12 08:08:34 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:34.551 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/contents/?content=1&1610438914521 (uidk9081@127.0.0.1) 2.43ms
Jan 12 08:08:35 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:35.008 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/sessions?1610438914981 (uidk9081@127.0.0.1) 1.74ms
Jan 12 08:08:35 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:35.011 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/kernels?1610438914984 (uidk9081@127.0.0.1) 1.76ms
Jan 12 08:08:39 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:39.760 SingleUserLabApp log:174] 200 GET /user/uidk9081/metrics?1610438919710 (uidk9081@127.0.0.1) 13.74ms
Jan 12 08:08:44 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:44.586 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/terminals?1610438924552 (uidk9081@127.0.0.1) 1.19ms
Jan 12 08:08:44 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:44.589 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/contents/?content=1&1610438924558 (uidk9081@127.0.0.1) 2.25ms
Jan 12 08:08:45 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:45.041 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/sessions?1610438925010 (uidk9081@127.0.0.1) 2.87ms
Jan 12 08:08:45 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:45.042 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/kernels?1610438925013 (uidk9081@127.0.0.1) 2.69ms
Jan 12 08:08:54 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:54.616 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/terminals?1610438934589 (uidk9081@127.0.0.1) 1.25ms
Jan 12 08:08:54 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:54.622 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/contents/?content=1&1610438934592 (uidk9081@127.0.0.1) 3.22ms
Jan 12 08:08:55 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:55.111 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/kernels?1610438935052 (uidk9081@127.0.0.1) 1.74ms
Jan 12 08:08:55 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:08:55.113 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/sessions?1610438935046 (uidk9081@127.0.0.1) 1.56ms
Jan 12 08:09:04 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:09:04.652 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/terminals?1610438944618 (uidk9081@127.0.0.1) 1.30ms
Jan 12 08:09:04 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:09:04.655 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/contents/?content=1&1610438944624 (uidk9081@127.0.0.1) 2.37ms
Jan 12 08:09:05 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:09:05.150 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/kernels?1610438945117 (uidk9081@127.0.0.1) 1.40ms
Jan 12 08:09:05 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:09:05.153 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/sessions?1610438945123 (uidk9081@127.0.0.1) 1.70ms
Jan 12 08:09:09 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:09:09.868 SingleUserLabApp log:174] 200 GET /user/uidk9081/metrics?1610438949822 (uidk9081@127.0.0.1) 14.83ms
Jan 12 08:09:14 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:09:14.694 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/terminals?1610438954658 (uidk9081@127.0.0.1) 2.28ms
Jan 12 08:09:14 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:09:14.695 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/contents/?content=1&1610438954664 (uidk9081@127.0.0.1) 2.95ms
Jan 12 08:09:15 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:09:15.185 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/kernels?1610438955151 (uidk9081@127.0.0.1) 1.44ms
Jan 12 08:09:15 ip-10-46-59-130 jupyterhub: [I 2021-01-12 08:09:15.187 SingleUserLabApp log:174] 200 GET /user/uidk9081/api/sessions?1610438955157 (uidk9081@127.0.0.1) 1.66ms
Browser Output (recommended for all interface issues)
feature.js:7 @krassowski/jupyterlab-lsp:signature settings schema could not be found and was not loaded
de @ feature.js:7
Promise.then (async)
e.activatePlugin @ index.es6.js:161
(anonymous) @ index.es6.js:281
e.start @ index.es6.js:280
o @ index.out.js:1107
load (async)
ANye @ index.out.js:1156
t @ bootstrap:84
0 @ main.0bb0610e9dc6f06ba260.js:1
t @ bootstrap:84
s @ bootstrap:45
i @ bootstrap:32
(anonymous) @ vendors~main.2434b56678874b4443e5.js:2
/user/uidk9081/git/show_top_level?1610441147580:1 Failed to load resource: the server responded with a status of 500 ()
notebook.js:77 LSP: waiting for Untitled.ipynb to fully load
notebook.js:81 LSP: Untitled.ipynb ready for connection
adapter.js:309 LSP: will connect using language: python
connection_manager.js:159 LSP: connection requested {virtual_document: F, language: "python", document_path: "Untitled.ipynb"}
connection_manager.js:94 LSP: Connection Socket {virtual_document: F, language: "python", document_path: "Untitled.ipynb"}
connection_manager.js:167 LSP: Connect timed out for python
connect @ connection_manager.js:167
async function (async)
connect @ connection_manager.js:160
connect @ adapter.js:315
connect_document @ adapter.js:203
init_once_ready @ notebook.js:86
async function (async)
init_once_ready @ notebook.js:78
Zt @ notebook.js:20
connectWidget @ adapter_manager.js:36
(anonymous) @ adapter_manager.js:23
m @ index.es6.js:459
c @ index.es6.js:416
e.emit @ index.es6.js:99
(anonymous) @ widgettracker.js:38
m @ index.es6.js:459
c @ index.es6.js:416
e.emit @ index.es6.js:99
add @ restorablepool.js:131
async function (async)
add @ restorablepool.js:127
add @ widgettracker.js:114
add @ tracker.js:47
(anonymous) @ index.js:396
m @ index.es6.js:459
c @ index.es6.js:416
e.emit @ index.es6.js:99
createNew @ default.js:349
createWidget @ widgetmanager.js:60
_createOrOpenDocument @ manager.js:458
open @ manager.js:276
openOrReveal @ manager.js:300
(anonymous) @ index.js:316
Promise.then (async)
execute @ index.js:316
e.execute @ index.es6.js:357
(anonymous) @ index.js:456
Promise.then (async)
x @ index.js:455
execute @ index.js:482
e.execute @ index.es6.js:357
m @ index.js:195
m @ react-dom.production.min.js:15
w @ react-dom.production.min.js:15
x @ react-dom.production.min.js:16
M @ react-dom.production.min.js:16
T @ react-dom.production.min.js:17
L @ react-dom.production.min.js:17
j @ react-dom.production.min.js:17
Bn @ react-dom.production.min.js:85
Gn @ react-dom.production.min.js:87
t.unstable_runWithPriority @ scheduler.production.min.js:20
xi @ react-dom.production.min.js:113
Xs @ react-dom.production.min.js:207
Un @ react-dom.production.min.js:86
TypeError: Cannot read property 'on' of undefined
    at kt.register (codemirror.js:47)
    at kt.register (diagnostics.js:266)
    at new Wt (editor_adapter.js:12)
    at Zt.create_adapter (adapter.js:353)
    at Zt.connect_adapter (adapter.js:292)
    at Zt.on_connected (adapter.js:183)
    at Zt.connect (adapter.js:316)
    at async Zt.connect_document (adapter.js:203)
Promise.catch (async)
connect_document @ adapter.js:203
init_once_ready @ notebook.js:86
async function (async)
init_once_ready @ notebook.js:78
Zt @ notebook.js:20
connectWidget @ adapter_manager.js:36
(anonymous) @ adapter_manager.js:23
m @ index.es6.js:459
c @ index.es6.js:416
e.emit @ index.es6.js:99
(anonymous) @ widgettracker.js:38
m @ index.es6.js:459
c @ index.es6.js:416
e.emit @ index.es6.js:99
add @ restorablepool.js:131
async function (async)
add @ restorablepool.js:127
add @ widgettracker.js:114
add @ tracker.js:47
(anonymous) @ index.js:396
m @ index.es6.js:459
c @ index.es6.js:416
e.emit @ index.es6.js:99
createNew @ default.js:349
createWidget @ widgetmanager.js:60
_createOrOpenDocument @ manager.js:458
open @ manager.js:276
openOrReveal @ manager.js:300
(anonymous) @ index.js:316
Promise.then (async)
execute @ index.js:316
e.execute @ index.es6.js:357
(anonymous) @ index.js:456
Promise.then (async)
x @ index.js:455
execute @ index.js:482
e.execute @ index.es6.js:357
m @ index.js:195
m @ react-dom.production.min.js:15
w @ react-dom.production.min.js:15
x @ react-dom.production.min.js:16
M @ react-dom.production.min.js:16
T @ react-dom.production.min.js:17
L @ react-dom.production.min.js:17
j @ react-dom.production.min.js:17
Bn @ react-dom.production.min.js:85
Gn @ react-dom.production.min.js:87
t.unstable_runWithPriority @ scheduler.production.min.js:20
xi @ react-dom.production.min.js:113
Xs @ react-dom.production.min.js:207
Un @ react-dom.production.min.js:86
codemirror_editor.js:183 Editor not found in editor_to_source_line map
transform_from_editor_to_root @ codemirror_editor.js:183
getCursor @ codemirror_editor.js:29
onCursorActivity @ highlights.js:75
async function (async)
onCursorActivity @ highlights.js:71
onBlur @ highlights.js:44
r @ codemirror_editor.js:159
ve @ codemirror.js:568
Zr @ codemirror.js:3320
(anonymous) @ codemirror.js:8007
TypeError: Cannot read property 'line' of null
    at F.get_editor_at_source_line (document.js:491)
    at Proxy.get_editor_at_root_line (codemirror_editor.js:274)
    at Proxy.getTokenAt (codemirror_editor.js:281)
    at Proxy.get_token_at (codemirror_editor.js:122)
    at zt.onCursorActivity (highlights.js:81)
Promise.catch (async)
onBlur @ highlights.js:44
r @ codemirror_editor.js:159
ve @ codemirror.js:568
Zr @ codemirror.js:3320
(anonymous) @ codemirror.js:8007
krassowski commented 3 years ago

Thank you @senfbrot for filling in this issue, detailed feedback like this is always helpful. I see a few issues here:

The logic in:

https://github.com/krassowski/jupyterlab-lsp/blob/80459bfaa6ec2229410d069665650cb7994dbd68/packages/jupyterlab-lsp/src/components/statusbar.tsx#L487-L497

requires rewriting to include an earlier a query to check if there is a server associated with the language for each document, using like this:

https://github.com/krassowski/jupyterlab-lsp/blob/e2b95e3aaec1ae428b511185c062a2703601a3dc/packages/jupyterlab-lsp/src/connection_manager.ts#L136-L138

https://github.com/krassowski/jupyterlab-lsp/blob/e2b95e3aaec1ae428b511185c062a2703601a3dc/packages/jupyterlab-lsp/src/connection_manager.ts#L286-L293

If we decide to to that, we would probably want to:

https://github.com/krassowski/jupyterlab-lsp/blob/c9ba03bd85cef7b8f923099205bf7b0d958f3892/packages/jupyterlab-lsp/src/utils.ts#L16-L21

Do you think that it would be reasonable solution? Would you like to try to create a pull request to add an interval modifier as described in (B)?

krassowski commented 3 years ago

An alternative would be to modify the code so that we get a promise / signal for connection.turnedReady instead, which might be a better solution.

Regardless, I am slightly worried about allowing it to go indefinitely as it would be difficult for the user to find out what has stalled. Here you had a useful message in the browser console; maybe we should just have two awaits (with a timeout), first as-is (maybe taking slightly longer) and the other one coupled with console.warn and indefinite.

senfbrot commented 3 years ago

Thank you for the investigation and detailed response. Would it be an option to somehow trigger the start of python-language-server at an earlier stage, in order to be ready when a notebook is created the first time?

krassowski commented 3 years ago

It would be difficult as we do not know what language will the notebook use prior to its opening; starting all language servers available (some users may have all 10 language servers installed) could be seen as a significant waste of resources.

krassowski commented 3 years ago

@senfbrot would you be able to check if the new version 3.1 with an additional extra 5-minute timeout solves your problem, please? Of note, it requires JupyterLab 3.0

senfbrot commented 3 years ago

@krassowski would it be possible to include this in the 2.x line as well? In the current setup I have, the update to JupyterLab 3.0 fails. Anaconda is caught in an endless try to resolve dependencies :-(