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.8k stars 148 forks source link

LSP Integration for Python Not Working #203

Closed Trid-collab closed 4 years ago

Trid-collab commented 4 years ago

Hi,

I am newbie here. Wanting to learn Python with Jupyter Lab 1.26 and wanted to have the auto completion feature as in VS Code or Google Collab. Hence I was trying to install this extension. I have installed the Jupyter lab 1.26 using ANACONDA on Windows 10. On opening it I saw this extension and hence installed after installing nodejs through Conda and jupyter-lsp as suggested through pip as suggested in the the install process and then installed the Jupyter lab extension through Jupyter Lab extension manager. but even then I could not get the feature working. Am I missing something here

bollwyvl commented 4 years ago

Did you install a language server, e.g.

conda install -c conda-forge python-language-server

Or:

pip install python-language-server

Have to restart your notebook server, after doing so

On Wed, Feb 26, 2020, 12:54 Trid-collab notifications@github.com wrote:

Hi,

I am newbie here. Wanting to learn Python with Jupyter Lab 1.26 and wanted to have the auto completion feature as in VS Code or Google Collab. Hence I was trying to install this extension. I have installed the Jupyter lab 1.26 using ANACONDA on Windows 10. On opening it I saw this extension and hence installed after installing nodejs through Conda and jupyter-lsp as suggested through pip as suggested in the the install process and then installed the Jupyter lab extension through Jupyter Lab extension manager. but even then I could not get the feature working. Am I missing something here

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/krassowski/jupyterlab-lsp/issues/203?email_source=notifications&email_token=AAALCRER4BDLCLQYWR4QGODRE2UEPA5CNFSM4K4KZWRKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IQRIPUQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALCRHSVZOI4CH3UMRTG73RE2UEPANCNFSM4K4KZWRA .

Trid-collab commented 4 years ago

Python-language-server was already installed through ANACONDA (and 'pyls' is working for Sublime Text) before I installed the jupyter-lsp and Jupyterlab extension. Have restarted the notebook server as well. Did not work even then.

bollwyvl commented 4 years ago

Curious! What are you actually (not) seeing?

If you take a look at the issue template, there are a bunch of questions that will help us help you, namely various log outputs, etc. Some key ones are

On Thu, Feb 27, 2020 at 4:18 AM Trid-collab notifications@github.com wrote:

Python-language-server was already installed through ANACONDA (and 'pyls' is working for Sublime Text) before I installed the jupyter-lsp and Jupyterlab extension. Have restarted the notebook server as well. Did not work even then.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/krassowski/jupyterlab-lsp/issues/203?email_source=notifications&email_token=AAALCRCGJXGHYN35YKGB4OTRE6AOFA5CNFSM4K4KZWRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENDSQMY#issuecomment-591865907, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALCRGVSRC7PDSBPFTKTULRE6AOFANCNFSM4K4KZWRA .

Trid-collab commented 4 years ago

Pardon my ignorance here as I am new to this. I was expecting something like the Autocomplete in VS Code when programming with Python. I wanted to try JupyterLab as I found it to be easier when I learning. I also wanted the ease of the Autocomplete ( without pressing the tab key) which I saw in VS Code. When I came across this extension, I thought it would solve the issue and hence followed the steps mentioned in project page for the same

Some details which I have captured JupyterLab - 1.26 Notebook - 6.0.3

Debug output

Troubleshoot Output

ridib) C:\Users\TB185139>jupyter lab --debug
[D 17:36:02.812 LabApp] Searching ['C:\\Users\\TB185139', 'C:\\Users\\TB185139\\.jupyter', 'C:\\Users\\TB185139\\Anaconda3\\envs\\PyTridib\\etc\\jupyter', 'C:\\ProgramData\\jupyter'] for config files
[D 17:36:02.812 LabApp] Looking for jupyter_config in C:\ProgramData\jupyter
[D 17:36:02.812 LabApp] Looking for jupyter_config in C:\Users\TB185139\Anaconda3\envs\PyTridib\etc\jupyter
[D 17:36:02.812 LabApp] Looking for jupyter_config in C:\Users\TB185139\.jupyter
[D 17:36:02.812 LabApp] Looking for jupyter_config in C:\Users\TB185139
[D 17:36:02.812 LabApp] Looking for jupyter_notebook_config in C:\ProgramData\jupyter
[D 17:36:02.812 LabApp] Loaded config file: C:\ProgramData\jupyter\jupyter_notebook_config.json
[D 17:36:02.812 LabApp] Looking for jupyter_notebook_config in C:\Users\TB185139\Anaconda3\envs\PyTridib\etc\jupyter
[D 17:36:02.812 LabApp] Loaded config file: C:\Users\TB185139\Anaconda3\envs\PyTridib\etc\jupyter\jupyter_notebook_config.json
[D 17:36:02.812 LabApp] Looking for jupyter_notebook_config in C:\Users\TB185139\.jupyter
[D 17:36:02.844 LabApp] Loaded config file: C:\Users\TB185139\.jupyter\jupyter_notebook_config.py
[D 17:36:02.844 LabApp] Looking for jupyter_notebook_config in C:\Users\TB185139
[D 17:36:02.850 LabApp] Ignoring min_open_files_limit because the limit cannot be adjusted (for example, on Windows)
[D 17:36:02.850 LabApp] Paths used for configuration of jupyter_notebook_config:
        C:\ProgramData\jupyter\jupyter_notebook_config.json
[D 17:36:02.850 LabApp] Paths used for configuration of jupyter_notebook_config:
        C:\Users\TB185139\Anaconda3\envs\PyTridib\etc\jupyter\jupyter_notebook_config.d\jupyter-lsp-serverextension.json
        C:\Users\TB185139\Anaconda3\envs\PyTridib\etc\jupyter\jupyter_notebook_config.d\jupyterlab.json
        C:\Users\TB185139\Anaconda3\envs\PyTridib\etc\jupyter\jupyter_notebook_config.json
[D 17:36:02.866 LabApp] Paths used for configuration of jupyter_notebook_config:
        C:\Users\TB185139\.jupyter\jupyter_notebook_config.json
[I 17:36:04.080 LabApp] The port 8888 is already in use, trying another port.
[D 17:36:05.680 LabApp] Checking for C:\Users\TB185139\node_modules\bash-language-server\bin\main.js
[D 17:36:05.680 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\share\jupyter\lab\staging\node_modules\bash-language-server\bin\main.js
[D 17:36:05.695 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\lib\node_modules\bash-language-server\bin\main.js
[D 17:36:05.695 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\node_modules\bash-language-server\bin\main.js
[W 17:36:05.695 LabApp] Failed to fetch commands from language server spec finder`bash-language-server`:
    expected str, bytes or os.PathLike object, not tuple
[D 17:36:05.711 LabApp] Checking for C:\Users\TB185139\node_modules\dockerfile-language-server-nodejs\lib\server.js
[D 17:36:05.711 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\share\jupyter\lab\staging\node_modules\dockerfile-language-server-nodejs\lib\server.js
[D 17:36:05.711 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\lib\node_modules\dockerfile-language-server-nodejs\lib\server.js
[D 17:36:05.711 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\node_modules\dockerfile-language-server-nodejs\lib\server.js
[W 17:36:05.711 LabApp] Failed to fetch commands from language server spec finder`dockerfile-language-server-nodejs`:
    expected str, bytes or os.PathLike object, not tuple
[D 17:36:05.726 LabApp] Checking for C:\Users\TB185139\node_modules\javascript-typescript-langserver\lib\language-server-stdio.js
[D 17:36:05.733 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\share\jupyter\lab\staging\node_modules\javascript-typescript-langserver\lib\language-server-stdio.js
[D 17:36:05.733 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\lib\node_modules\javascript-typescript-langserver\lib\language-server-stdio.js
[D 17:36:05.733 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\node_modules\javascript-typescript-langserver\lib\language-server-stdio.js
[W 17:36:05.733 LabApp] Failed to fetch commands from language server spec finder`javascript-typescript-langserver`:
    expected str, bytes or os.PathLike object, not tuple
[D 17:36:05.849 LabApp] Checking for C:\Users\TB185139\node_modules\unified-language-server\src\server.js
[D 17:36:05.849 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\share\jupyter\lab\staging\node_modules\unified-language-server\src\server.js
[D 17:36:05.849 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\lib\node_modules\unified-language-server\src\server.js
[D 17:36:05.849 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\node_modules\unified-language-server\src\server.js
[W 17:36:05.849 LabApp] Failed to fetch commands from language server spec finder`unified-language-server`:
    expected str, bytes or os.PathLike object, not tuple
[D 17:36:05.849 LabApp] Checking for C:\Users\TB185139\node_modules\vscode-css-languageserver-bin\cssServerMain.js
[D 17:36:05.849 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\share\jupyter\lab\staging\node_modules\vscode-css-languageserver-bin\cssServerMain.js
[D 17:36:05.864 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\lib\node_modules\vscode-css-languageserver-bin\cssServerMain.js
[D 17:36:05.864 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\node_modules\vscode-css-languageserver-bin\cssServerMain.js
[W 17:36:05.864 LabApp] Failed to fetch commands from language server spec finder`vscode-css-languageserver-bin`:
    expected str, bytes or os.PathLike object, not tuple
[D 17:36:05.864 LabApp] Checking for C:\Users\TB185139\node_modules\vscode-html-languageserver-bin\htmlServerMain.js
[D 17:36:05.864 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\share\jupyter\lab\staging\node_modules\vscode-html-languageserver-bin\htmlServerMain.js
[D 17:36:05.864 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\lib\node_modules\vscode-html-languageserver-bin\htmlServerMain.js
[D 17:36:05.864 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\node_modules\vscode-html-languageserver-bin\htmlServerMain.js
[W 17:36:05.864 LabApp] Failed to fetch commands from language server spec finder`vscode-html-languageserver-bin`:
    expected str, bytes or os.PathLike object, not tuple
[D 17:36:05.880 LabApp] Checking for C:\Users\TB185139\node_modules\vscode-json-languageserver-bin\jsonServerMain.js
[D 17:36:05.880 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\share\jupyter\lab\staging\node_modules\vscode-json-languageserver-bin\jsonServerMain.js
[D 17:36:05.880 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\lib\node_modules\vscode-json-languageserver-bin\jsonServerMain.js
[D 17:36:05.880 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\node_modules\vscode-json-languageserver-bin\jsonServerMain.js
[W 17:36:05.880 LabApp] Failed to fetch commands from language server spec finder`vscode-json-languageserver-bin`:
    expected str, bytes or os.PathLike object, not tuple
[D 17:36:05.880 LabApp] Checking for C:\Users\TB185139\node_modules\yaml-language-server\bin\yaml-language-server
[D 17:36:05.896 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\share\jupyter\lab\staging\node_modules\yaml-language-server\bin\yaml-language-server
[D 17:36:05.896 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\lib\node_modules\yaml-language-server\bin\yaml-language-server
[D 17:36:05.896 LabApp] Checking for C:\Users\TB185139\Anaconda3\envs\PyTridib\node_modules\yaml-language-server\bin\yaml-language-server
[W 17:36:05.896 LabApp] Failed to fetch commands from language server spec finder`yaml-language-server`:
    expected str, bytes or os.PathLike object, not tuple
[D 17:36:05.896 LabApp] [lsp] rootUri will be file:///c:/Users/TB185139
[D 17:36:05.896 LabApp] [lsp] virtualDocumentsUri will be file:///c:/Users/TB185139/.virtual_documents
[D 17:36:05.911 LabApp] [lsp] The following Language Servers will be available: {
      "pyls": {
        "argv": [
          "C:\\Users\\TB185139\\Anaconda3\\envs\\PyTridib\\Scripts\\pyls.EXE"
        ],
        "config_schema": {
          "properties": {
            "pyls.configurationSources": {
              "default": [
                "pycodestyle"
              ],
              "description": "List of configuration sources to use.",
              "items": {
                "enum": [
                  "pycodestyle",
                  "pyflakes"
                ],
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.executable": {
              "default": "pyls",
              "description": "Language server executable",
              "type": "string"
            },
            "pyls.plugins.jedi_completion.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_completion.include_params": {
              "default": true,
              "description": "Auto-completes methods and classes with tabstops for each parameter.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_definition.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_definition.follow_builtin_imports": {
              "default": true,
              "description": "If follow_imports is True will decide if it follow builtin imports.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_definition.follow_imports": {
              "default": true,
              "description": "The goto call will follow imports.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_hover.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_references.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_signature_help.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_symbols.all_scopes": {
              "default": true,
              "description": "If True lists the names of all scopes instead of only the module namespace.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_symbols.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.mccabe.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.mccabe.threshold": {
              "default": 15,
              "description": "The minimum threshold that triggers warnings about cyclomatic complexity.",
              "type": "number"
            },
            "pyls.plugins.preload.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.preload.modules": {
              "default": null,
              "description": "List of modules to import on startup",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pycodestyle.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.pycodestyle.exclude": {
              "default": null,
              "description": "Exclude files or directories which match these patterns.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pycodestyle.filename": {
              "default": null,
              "description": "When parsing directories, only check filenames matching these patterns.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pycodestyle.hangClosing": {
              "default": null,
              "description": "Hang closing bracket instead of matching indentation of opening bracket's line.",
              "type": "boolean"
            },
            "pyls.plugins.pycodestyle.ignore": {
              "default": null,
              "description": "Ignore errors and warnings",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pycodestyle.maxLineLength": {
              "default": null,
              "description": "Set maximum allowed line length.",
              "type": "number"
            },
            "pyls.plugins.pycodestyle.select": {
              "default": null,
              "description": "Select errors and warnings",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pydocstyle.addIgnore": {
              "default": null,
              "description": "Ignore errors and warnings in addition to the specified convention.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pydocstyle.addSelect": {
              "default": null,
              "description": "Select errors and warnings in addition to the specified convention.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pydocstyle.convention": {
              "default": null,
              "description": "Choose the basic list of checked errors by specifying an existing convention.",
              "enum": [
                "pep257",
                "numpy"
              ],
              "type": "string"
            },
            "pyls.plugins.pydocstyle.enabled": {
              "default": false,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.pydocstyle.ignore": {
              "default": null,
              "description": "Ignore errors and warnings",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pydocstyle.match": {
              "default": "(?!test_).*\\.py",
              "description": "Check only files that exactly match the given regular expression; default is to match files that don't start with 'test_' but end with '.py'.",
              "type": "string"
            },
            "pyls.plugins.pydocstyle.matchDir": {
              "default": "[^\\.].*",
              "description": "Search only dirs that exactly match the given regular expression; default is to match dirs which do not begin with a dot.",
              "type": "string"
            },
            "pyls.plugins.pydocstyle.select": {
              "default": null,
              "description": "Select errors and warnings",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pyflakes.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.pylint.args": {
              "default": null,
              "description": "Arguments to pass to pylint.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": false
            },
            "pyls.plugins.pylint.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.rope_completion.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.yapf.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.rope.extensionModules": {
              "default": null,
              "description": "Builtin and c-extension modules that are allowed to be imported and inspected by rope.",
              "type": "string"
            },
            "pyls.rope.ropeFolder": {
              "default": null,
              "description": "The name of the folder in which rope stores project configurations and data.  Pass `null` for not using such a folder at all.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            }
          },
          "title": "Python Language Server Configuration",
          "type": "object"
        },
        "display_name": "pyls",
        "env": {
          "PYTHONUNBUFFERED": "1"
        },
        "extend": [
          {
            "display_name": "pyls-mypy",
            "install": {
              "pip": "pip install pyls-mypy"
            }
          },
          {
            "display_name": "pyls-black",
            "install": {
              "pip": "pip install pyls-black"
            }
          },
          {
            "display_name": "pyls-isort",
            "install": {
              "pip": "pip install pyls-isort"
            }
          }
        ],
        "install": {
          "conda": "conda install -c conda-forge python-language-server",
          "pip": "pip install python-language-server[all]"
        },
        "languages": [
          "python"
        ],
        "mime_types": [
          "text/python",
          "text/x-ipython"
        ],
        "urls": {
          "home": "https://github.com/palantir/python-language-server",
          "issues": "https://github.com/palantir/python-language-server/issues"
        },
        "version": 1
      }
    }
[D 17:36:06.049 LabApp] [jupyter_nbextensions_configurator] Loading 0.4.1
[D 17:36:06.049 LabApp] [jupyter_nbextensions_configurator]   Editing templates path to add C:\Users\TB185139\Anaconda3\envs\PyTridib\lib\site-packages\jupyter_nbextensions_configurator\templates
[D 17:36:06.049 LabApp] [jupyter_nbextensions_configurator]   Editing nbextensions path to add C:\Users\TB185139\Anaconda3\envs\PyTridib\lib\site-packages\jupyter_nbextensions_configurator\static
[D 17:36:06.049 LabApp] [jupyter_nbextensions_configurator]   Adding new handlers
[I 17:36:06.049 LabApp] [jupyter_nbextensions_configurator] enabled 0.4.1
[I 17:36:07.094 LabApp] JupyterLab extension loaded from C:\Users\TB185139\Anaconda3\envs\PyTridib\lib\site-packages\jupyterlab
[I 17:36:07.094 LabApp] JupyterLab application directory is C:\Users\TB185139\Anaconda3\envs\PyTridib\share\jupyter\lab
[D 17:36:08.536 LabApp] Yarn configuration loaded.
[I 17:36:08.543 LabApp] Serving notebooks from local directory: C:\Users\TB185139
[I 17:36:08.543 LabApp] The Jupyter Notebook is running at:
[I 17:36:08.543 LabApp] http://localhost:8889/?token=b902ed13bcf70bf11b5d5d8feb1cbc52a8d2127847d1a7f8
[I 17:36:08.543 LabApp]  or http://127.0.0.1:8889/?token=b902ed13bcf70bf11b5d5d8feb1cbc52a8d2127847d1a7f8
[I 17:36:08.543 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 17:36:09.211 LabApp]

    To access the notebook, open this file in a browser:
        file:///C:/Users/TB185139/AppData/Roaming/jupyter/runtime/nbserver-18576-open.html
    Or copy and paste one of these URLs:
        http://localhost:8889/?token=b902ed13bcf70bf11b5d5d8feb1cbc52a8d2127847d1a7f8
     or http://127.0.0.1:8889/?token=b902ed13bcf70bf11b5d5d8feb1cbc52a8d2127847d1a7f8
[D 17:36:09.218 LabApp] 101 GET /lsp/python (127.0.0.1) 3.15ms
[D 17:36:09.275 LabApp] )> initialized
[D 17:36:09.275 LabApp] )> initialized
[D 17:36:09.275 LabApp] [python] Opened a handler
[D 17:36:11.248 LabApp] 200 GET /api/contents/Downloads?content=1&1582891565795 (::1) 2031.81ms
[D 17:36:11.248 LabApp] 200 GET /api/terminals?1582891566817 (::1) 2030.66ms
[D 17:36:11.268 LabApp] 101 GET /lsp/python (::1) 2050.80ms
[D 17:36:11.268 LabApp] [python] Opened a handler
[D 17:36:11.277 LabApp] 200 GET /api/sessions?1582891569203 (::1) 2058.98ms
[D 17:36:11.277 LabApp] [python] Handling a message
[D 17:36:11.279 LabApp] [python] Handling a message
[D 17:36:13.420 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:13.444 LabApp] Using contents: services/contents
[D 17:36:13.476 LabApp] 200 GET /lab?token=b902ed13bcf70bf11b5d5d8feb1cbc52a8d2127847d1a7f8 (::1) 55.99ms
[D 17:36:13.854 LabApp] Path main.f9977f41b72f20490401.js served from C:\Users\TB185139\Anaconda3\envs\PyTridib\share\jupyter\lab\static\main.f9977f41b72f20490401.js
[D 17:36:13.862 LabApp] 304 GET /static/lab/main.f9977f41b72f20490401.js (::1) 16.00ms
[D 17:36:13.902 LabApp] Path vendors~main.02e978d60249c3e359ef.js served from C:\Users\TB185139\Anaconda3\envs\PyTridib\share\jupyter\lab\static\vendors~main.02e978d60249c3e359ef.js
[D 17:36:13.950 LabApp] 304 GET /static/lab/vendors~main.02e978d60249c3e359ef.js (::1) 48.24ms
[D 17:36:15.332 LabApp] 101 GET /lsp/python (::1) 0.00ms
[D 17:36:15.340 LabApp] [python] Opened a handler
[D 17:36:15.348 LabApp] [python] Handling a message
[D 17:36:18.217 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:18.217 LabApp] 200 GET /api/sessions?1582891578210 (::1) 0.00ms
[D 17:36:18.233 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:18.273 LabApp] Found kernel python37664bitpytridibconda045776ff265b45549628776e62dc3cfb in C:\Users\TB185139\AppData\Roaming\jupyter\kernels
[D 17:36:18.273 LabApp] Found kernel python38164bitfd0bf609f1b34b73b7125d9c61e89565 in C:\Users\TB185139\AppData\Roaming\jupyter\kernels
[D 17:36:18.281 LabApp] Found kernel python3 in C:\Users\TB185139\Anaconda3\envs\PyTridib\share\jupyter\kernels
[D 17:36:18.427 LabApp] 200 GET /api/kernelspecs?1582891578229 (::1) 194.52ms
[D 17:36:18.427 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:18.459 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:18.475 LabApp] 200 GET /api/terminals?1582891578241 (::1) 47.99ms
[D 17:36:18.817 LabApp] 200 GET /lab/api/settings/?1582891578261 (::1) 358.17ms
[D 17:36:18.828 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:18.836 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:18.838 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:18.838 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:18.846 LabApp] Found kernel python37664bitpytridibconda045776ff265b45549628776e62dc3cfb in C:\Users\TB185139\AppData\Roaming\jupyter\kernels
[D 17:36:18.846 LabApp] Found kernel python38164bitfd0bf609f1b34b73b7125d9c61e89565 in C:\Users\TB185139\AppData\Roaming\jupyter\kernels
[D 17:36:18.848 LabApp] Found kernel python3 in C:\Users\TB185139\Anaconda3\envs\PyTridib\share\jupyter\kernels
[D 17:36:18.868 LabApp] 200 GET /api/kernelspecs?1582891578463 (::1) 40.42ms
[D 17:36:18.876 LabApp] 200 GET /api/terminals?1582891578479 (::1) 38.29ms
[D 17:36:18.878 LabApp] 200 GET /api/sessions?1582891578461 (::1) 40.33ms
[D 17:36:19.225 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:21.002 LabApp] Yarn configuration loaded.
[D 17:36:21.884 LabApp] Node v10.13.0

[D 17:36:22.298 LabApp] 200 GET /api/nbconvert?1582891579220 (::1) 3074.67ms
[I 17:36:22.298 LabApp] Build is up to date
[D 17:36:22.306 LabApp] [python] Closed a handler
[D 17:36:22.306 LabApp] [python] Closed a handler
[D 17:36:22.314 LabApp] )> closed
[D 17:36:22.314 LabApp] )> closed
[D 17:36:22.322 LabApp] [python] Closed a handler
[D 17:36:22.330 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:22.330 LabApp] 200 GET /lab/api/build?1582891578751 (::1) 3494.23ms
[D 17:36:22.338 LabApp] Path @jupyterlab\theme-light-extension\index.css served from C:\Users\TB185139\Anaconda3\envs\PyTridib\share\jupyter\lab\themes\@jupyterlab\theme-light-extension\index.css
[D 17:36:22.346 LabApp] 304 GET /lab/api/themes/@jupyterlab/theme-light-extension/index.css (::1) 39.99ms
[D 17:36:22.346 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:22.350 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:22.350 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1582891579694 (::1) 28.49ms
[D 17:36:22.350 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:22.367 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1582891579692 (::1) 21.23ms
[D 17:36:23.413 LabApp] 200 GET /api/nbconvert?1582891579412 (::1) 1062.40ms
[D 17:36:23.428 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1582891579691 (::1) 1078.00ms
[D 17:36:23.428 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.444 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.444 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.444 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1582891579696 (::1) 15.64ms
[D 17:36:23.444 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1582891579698 (::1) 15.64ms
[D 17:36:23.444 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.444 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.460 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1582891579701 (::1) 15.61ms
[D 17:36:23.460 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.460 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1582891579702 (::1) 15.61ms
[D 17:36:23.475 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1582891579704 (::1) 31.23ms
[D 17:36:23.475 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1582891579706 (::1) 15.62ms
[D 17:36:23.491 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.491 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.497 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.497 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1582891579707 (::1) 22.15ms
[D 17:36:23.497 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1582891579709 (::1) 6.52ms
[D 17:36:23.497 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.513 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.513 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1582891579711 (::1) 15.63ms
[D 17:36:23.529 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.529 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1582891579728 (::1) 31.25ms
[D 17:36:23.529 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1582891579730 (::1) 15.62ms
[D 17:36:23.529 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1582891579731 (::1) 15.62ms
[D 17:36:23.544 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.544 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.544 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.560 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1582891579733 (::1) 15.64ms
[D 17:36:23.560 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1582891579735 (::1) 15.64ms
[D 17:36:23.560 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.560 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.576 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1582891579737 (::1) 31.27ms
[D 17:36:23.576 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1582891579757 (::1) 15.63ms
[D 17:36:23.586 LabApp] 200 GET /api/sessions?1582891579766 (::1) 26.32ms
[D 17:36:23.594 LabApp] 200 GET /lsp (::1) 10.69ms
[D 17:36:23.594 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.594 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.594 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.718 LabApp] 200 GET /lab/api/workspaces/lab?1582891579976 (::1) 123.90ms
[D 17:36:23.718 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.734 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.749 LabApp] Fetching URL: https://registry.yarnpkg.com/@jupyterlab%2Ftoc
[D 17:36:23.894 LabApp] 200 GET /api/contents/?content=1&1582891579980 (::1) 299.48ms
[D 17:36:23.902 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:23.910 LabApp] 200 GET /metrics?1582891579981 (::1) 191.58ms
[D 17:36:24.025 LabApp] 200 GET /api/contents/Downloads/Untitled2.ipynb?content=0&1582891583734 (::1) 127.62ms
[D 17:36:24.028 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:24.775 LabApp] 200 GET /api/contents/Downloads?1582891583730 (::1) 747.25ms
[D 17:36:24.783 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:24.935 LabApp] 200 GET /api/contents/Downloads/Untitled2.ipynb?type=notebook&content=1&1582891584438 (::1) 151.98ms
[D 17:36:24.943 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:25.442 LabApp] Fetching URL: https://registry.yarnpkg.com/@krassowski%2Fjupyterlab-lsp
[D 17:36:25.573 LabApp] 200 GET /api/contents/Downloads?content=1&1582891584787 (::1) 630.63ms
[D 17:36:25.573 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:25.608 LabApp] 200 GET /api/contents/Downloads/Untitled2.ipynb/checkpoints?1582891585004 (::1) 34.64ms
[D 17:36:27.798 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:27.798 LabApp] 204 PUT /lab/api/workspaces/lab?1582891585043 (::1) 0.00ms
[D 17:36:27.814 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:27.814 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:27.829 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:27.829 LabApp] 200 GET /metrics?1582891586825 (::1) 15.62ms
[D 17:36:27.845 LabApp] 200 GET /api/contents/Downloads/Untitled2.ipynb/checkpoints?1582891585021 (::1) 31.25ms
[D 17:36:27.851 LabApp] 200 GET /api/contents/Downloads/Untitled2.ipynb/checkpoints?1582891585006 (::1) 22.14ms
[D 17:36:27.851 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:28.353 LabApp] Starting kernel: ['C:\\Users\\TB185139\\Anaconda3\\envs\\PyTridib\\python.exe', '-m', 'ipykernel_launcher', '-f', 'C:\\Users\\TB185139\\AppData\\Roaming\\jupyter\\runtime\\kernel-c1a0c03a-a431-403f-a65b-13ddbad6b943.json']
[D 17:36:28.400 LabApp] Connecting to: tcp://127.0.0.1:64336
[D 17:36:28.484 LabApp] Connecting to: tcp://127.0.0.1:64334
[I 17:36:28.500 LabApp] Kernel started: c1a0c03a-a431-403f-a65b-13ddbad6b943
[D 17:36:28.500 LabApp] Kernel args: {'kernel_name': 'python37664bitpytridibconda045776ff265b45549628776e62dc3cfb', 'cwd': 'C:\\Users\\TB185139\\Downloads'}
[D 17:36:28.500 LabApp] 201 POST /api/sessions?1582891587856 (::1) 648.51ms
[D 17:36:28.516 LabApp] Initializing websocket connection /api/kernels/c1a0c03a-a431-403f-a65b-13ddbad6b943/channels
[D 17:36:28.517 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:28.517 LabApp] Requesting kernel info from c1a0c03a-a431-403f-a65b-13ddbad6b943
[D 17:36:28.517 LabApp] Connecting to: tcp://127.0.0.1:64333
[D 17:36:28.711 LabApp] > C:\Users\TB185139\Anaconda3\envs\PyTridib\npm.CMD pack @jupyterlab/toc@1.0.1 @krassowski/jupyterlab-lsp@0.7.1
[D 17:36:28.832 LabApp] Initializing websocket connection /api/kernels/c1a0c03a-a431-403f-a65b-13ddbad6b943/channels
[D 17:36:28.832 LabApp] Accepting token-authenticated connection from 127.0.0.1
[D 17:36:28.832 LabApp] Waiting for pending kernel_info request
-[D 17:36:30.121 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:30.121 LabApp] 200 GET /api/terminals?1582891590118 (::1) 0.00ms
[D 17:36:30.129 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:30.129 LabApp] 200 GET /api/sessions?1582891590119 (::1) 0.00ms                                                                                                   /[D 17:36:32.349 LabApp] activity on c1a0c03a-a431-403f-a65b-13ddbad6b943: status (starting)
[D 17:36:32.349 LabApp] activity on c1a0c03a-a431-403f-a65b-13ddbad6b943: status (busy)
[D 17:36:32.349 LabApp] activity on c1a0c03a-a431-403f-a65b-13ddbad6b943: status (idle)
[D 17:36:32.364 LabApp] Received kernel info: {'status': 'ok', 'protocol_version': '5.3', 'implementation': 'ipython', 'implementation_version': '7.12.0', 'language_info': {'name': 'python', 'version': '3.7.6', 'mimetype': 'text/x-python', 'codemirror_mode': {'name': 'ipython', 'version': 3}, 'pygments_lexer': 'ipython3', 'nbconvert_exporter': 'python', 'file_extension': '.py'}, 'banner': "Python 3.7.6 (default, Jan  8 2020, 20:23:39) [MSC v.1916 64 bit (AMD64)]\nType 'copyright', 'credits' or 'license' for more information\nIPython 7.12.0 -- An enhanced Interactive Python. Type '?' for help.\n", 'help_links': [{'text': 'Python Reference', 'url': 'https://docs.python.org/3.7'}, {'text': 'IPython Reference', 'url': 'https://ipython.org/documentation.html'}, {'text': 'NumPy Reference', 'url': 'https://docs.scipy.org/doc/numpy/reference/'}, {'text': 'SciPy Reference', 'url': 'https://docs.scipy.org/doc/scipy/reference/'}, {'text': 'Matplotlib Reference', 'url': 'https://matplotlib.org/contents.html'}, {'text': 'SymPy Reference', 'url': 'http://docs.sympy.org/latest/index.html'}, {'text': 'pandas Reference', 'url': 'https://pandas.pydata.org/pandas-docs/stable/'}]}
[D 17:36:32.380 LabApp] 101 GET /api/kernels/c1a0c03a-a431-403f-a65b-13ddbad6b943/channels?session_id=6c33331a-12a7-4c4b-b390-d0f5ddfecfc8&token=b902ed13bcf70bf11b5d5d8feb1cbc52a8d2127847d1a7f8 (::1) 3880.03ms
[D 17:36:32.380 LabApp] Opening websocket /api/kernels/c1a0c03a-a431-403f-a65b-13ddbad6b943/channels
[D 17:36:32.381 LabApp] Getting buffer for c1a0c03a-a431-403f-a65b-13ddbad6b943
[D 17:36:32.381 LabApp] Connecting to: tcp://127.0.0.1:64333
[D 17:36:32.405 LabApp] Connecting to: tcp://127.0.0.1:64336                                                                                                               -[D 17:36:32.421 LabApp] Connecting to: tcp://127.0.0.1:64334
[D 17:36:32.445 LabApp] Connecting to: tcp://127.0.0.1:64335
[D 17:36:32.461 LabApp] 101 GET /api/kernels/c1a0c03a-a431-403f-a65b-13ddbad6b943/channels?session_id=8a096160-1be8-49b1-933e-475e1bcd7d7f&token=b902ed13bcf70bf11b5d5d8feb1cbc52a8d2127847d1a7f8 (127.0.0.1) 3628.98ms
[D 17:36:32.461 LabApp] Opening websocket /api/kernels/c1a0c03a-a431-403f-a65b-13ddbad6b943/channels
[D 17:36:32.472 LabApp] Getting buffer for c1a0c03a-a431-403f-a65b-13ddbad6b943
[D 17:36:32.480 LabApp] Connecting to: tcp://127.0.0.1:64333
[D 17:36:32.504 LabApp] Connecting to: tcp://127.0.0.1:64336
[D 17:36:32.520 LabApp] Connecting to: tcp://127.0.0.1:64334
[D 17:36:32.550 LabApp] Connecting to: tcp://127.0.0.1:64335                                                                                                               \[D 17:36:32.570 LabApp] Initializing websocket connection /api/kernels/c1a0c03a-a431-403f-a65b-13ddbad6b943/channels
[D 17:36:32.580 LabApp] activity on c1a0c03a-a431-403f-a65b-13ddbad6b943: status (busy)
[D 17:36:32.580 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:32.590 LabApp] activity on c1a0c03a-a431-403f-a65b-13ddbad6b943: status (idle)
[D 17:36:32.598 LabApp] activity on c1a0c03a-a431-403f-a65b-13ddbad6b943: status (busy)
[D 17:36:32.598 LabApp] activity on c1a0c03a-a431-403f-a65b-13ddbad6b943: status (idle)
[D 17:36:32.606 LabApp] 101 GET /api/kernels/c1a0c03a-a431-403f-a65b-13ddbad6b943/channels?session_id=bf8d2eeb-0c9f-443e-9eca-9e387aba9bf4&token=b902ed13bcf70bf11b5d5d8feb1cbc52a8d2127847d1a7f8 (::1) 36.57ms
[D 17:36:32.606 LabApp] Opening websocket /api/kernels/c1a0c03a-a431-403f-a65b-13ddbad6b943/channels
[D 17:36:32.606 LabApp] Getting buffer for c1a0c03a-a431-403f-a65b-13ddbad6b943
[D 17:36:32.614 LabApp] Connecting to: tcp://127.0.0.1:64333
[D 17:36:32.638 LabApp] Connecting to: tcp://127.0.0.1:64336
[D 17:36:32.670 LabApp] Connecting to: tcp://127.0.0.1:64334                                                                                                               |[D 17:36:32.694 LabApp] Connecting to: tcp://127.0.0.1:64335
[D 17:36:32.722 LabApp] Websocket closed c1a0c03a-a431-403f-a65b-13ddbad6b943:8a096160-1be8-49b1-933e-475e1bcd7d7f
[D 17:36:32.724 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:32.732 LabApp] 101 GET /lsp/python (::1) 0.00ms
[D 17:36:32.789 LabApp] )> initialized
[D 17:36:32.793 LabApp] )> initialized
[D 17:36:32.795 LabApp] [python] Opened a handler                                                                                                                          /[D 17:36:32.811 LabApp] Path base\images\favicon-busy-1.ico served from C:\Users\TB185139\Anaconda3\envs\PyTridib\lib\site-packages\notebook\static\base\images\favicon-busy-1.ico
[D 17:36:32.819 LabApp] 304 GET /static/base/images/favicon-busy-1.ico (::1) 94.32ms
[D 17:36:32.819 LabApp] 200 GET /api/sessions?1582891592654 (::1) 94.32ms
[D 17:36:32.819 LabApp] [python] Handling a message
[D 17:36:32.835 LabApp] activity on c1a0c03a-a431-403f-a65b-13ddbad6b943: status (busy)
[D 17:36:32.835 LabApp] activity on c1a0c03a-a431-403f-a65b-13ddbad6b943: status (idle)
[D 17:36:32.859 LabApp] 304 GET /static/base/images/favicon-busy-1.ico (::1) 8.00ms
[D 17:36:32.875 LabApp] 304 GET /static/base/images/favicon-busy-1.ico (::1) 8.00ms                                                                                        /[D 17:36:33.915 LabApp] Accepting token-authenticated connection from ::1                                                                                                  /[D 17:36:34.847 LabApp] 200 GET /api/contents/Downloads?content=1&1582891593915 (::1) 932.66ms
[D 17:36:34.854 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:34.869 LabApp] 200 GET /metrics?1582891593916 (::1) 14.63ms                                                                                                       -[D 17:36:40.146 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:40.154 LabApp] 200 GET /api/terminals?1582891600145 (::1) 8.09ms                                                                                                  |[D 17:36:40.479 LabApp] [python] Handling a message
[D 17:36:40.479 LabApp] [python] Handling a message
[D 17:36:40.479 LabApp] [python] Handling a message                                                                                                                        /[D 17:36:40.517 LabApp] [python] Handling a message                                                                                                                        -[D 17:36:42.229 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:42.241 LabApp] 200 GET /metrics?1582891602224 (::1) 12.09ms                                                                                                       \[D 17:36:42.859 LabApp] Accepting token-authenticated connection from ::1
[D 17:36:42.859 LabApp] 200 GET /api/sessions?1582891602858 (::1) 0.00ms                                                                                                   |[D 17:36:44.867 LabApp] Accepting token-authenticated connection from ::1                                                                                                  -[D 17:36:46.193 LabApp] 200 GET /api/contents/Downloads?content=1&1582891604869 (::1) 1325.10ms                                                                            |[D 17:36:49.798 LabApp] npm notice
    npm notice package: @jupyterlab/toc@1.0.1
    npm notice === Tarball Contents ===
    npm notice 2.2kB  package.json
    npm notice 1.5kB  LICENSE
    npm notice 1.2kB  README.md
    npm notice 314B   lib/extension.d.ts
    npm notice 3.4kB  lib/extension.js
    npm notice 111B   lib/generators/index.d.ts
    npm notice 403B   lib/generators/index.js
    npm notice 474B   lib/generators/latexgenerator.d.ts
    npm notice 2.4kB  lib/generators/latexgenerator.js
    npm notice 1.1kB  lib/generators/markdowndocgenerator/index.d.ts
    npm notice 7.9kB  lib/generators/markdowndocgenerator/index.js
    npm notice 248B   lib/generators/markdowndocgenerator/itemrenderer.d.ts
    npm notice 1.0kB  lib/generators/markdowndocgenerator/itemrenderer.js
    npm notice 549B   lib/generators/markdowndocgenerator/optionsmanager.d.ts
    npm notice 930B   lib/generators/markdowndocgenerator/optionsmanager.js
    npm notice 1.2kB  lib/generators/markdowndocgenerator/toolbargenerator.d.ts
    npm notice 1.7kB  lib/generators/markdowndocgenerator/toolbargenerator.js
    npm notice 546B   lib/generators/notebookgenerator/codemirror.d.ts
    npm notice 938B   lib/generators/notebookgenerator/codemirror.js
    npm notice 299B   lib/generators/notebookgenerator/heading.d.ts
    npm notice 180B   lib/generators/notebookgenerator/heading.js
    npm notice 549B   lib/generators/notebookgenerator/index.d.ts
    npm notice 18.2kB lib/generators/notebookgenerator/index.js
    npm notice 246B   lib/generators/notebookgenerator/itemrenderer.d.ts
    npm notice 5.0kB  lib/generators/notebookgenerator/itemrenderer.js
    npm notice 1.2kB  lib/generators/notebookgenerator/optionsmanager.d.ts
    npm notice 2.9kB  lib/generators/notebookgenerator/optionsmanager.js
    npm notice 1.0kB  lib/generators/notebookgenerator/tagstool/index.d.ts
    npm notice 4.7kB  lib/generators/notebookgenerator/tagstool/index.js
    npm notice 348B   lib/generators/notebookgenerator/tagstool/tag.d.ts
    npm notice 632B   lib/generators/notebookgenerator/tagstool/tag.js
    npm notice 574B   lib/generators/notebookgenerator/tagstool/tagslist.d.ts
    npm notice 2.1kB  lib/generators/notebookgenerator/tagstool/tagslist.js
    npm notice 1.7kB  lib/generators/notebookgenerator/toolbargenerator.d.ts
    npm notice 7.7kB  lib/generators/notebookgenerator/toolbargenerator.js
    npm notice 1.1kB  lib/generators/shared.d.ts
    npm notice 2.6kB  lib/generators/shared.js
    npm notice 81B    lib/index.d.ts
    npm notice 373B   lib/index.js
    npm notice 2.8kB  lib/registry.d.ts
    npm notice 1.8kB  lib/registry.js
    npm notice 3.6kB  lib/toc.d.ts
    npm notice 5.5kB  lib/toc.js
    npm notice 559B   style/img/autonumbering_darktheme.svg
    npm notice 343B   style/img/autonumbering.svg
    npm notice 264B   style/img/check.svg
    npm notice 320B   style/img/code_darktheme.svg
    npm notice 305B   style/img/code.svg
    npm notice 669B   style/img/eyeball_hidden.svg
    npm notice 619B   style/img/eyeball_hover.svg
    npm notice 617B   style/img/eyeball_view.svg
    npm notice 357B   style/img/markdown_darktheme.svg
    npm notice 363B   style/img/markdown.svg
    npm notice 264B   style/img/menu_arrow.svg
    npm notice 523B   style/img/numbering.svg
    npm notice 762B   style/img/tag_darktheme.svg
    npm notice 1.2kB  style/img/tag.svg
    npm notice 202B   style/img/toggle_down_darktheme.svg
    npm notice 181B   style/img/toggle_down.svg
    npm notice 189B   style/img/toggle_right_darktheme.svg
    npm notice 187B   style/img/toggle_right.svg
    npm notice 9.3kB  style/index.css
    npm notice 625B   style/list-dark.svg
    npm notice 625B   style/list-light.svg
    npm notice === Tarball Details ===
    npm notice name:          @jupyterlab/toc
    npm notice version:       1.0.1
    npm notice filename:      jupyterlab-toc-1.0.1.tgz
    npm notice package size:  24.7 kB
    npm notice unpacked size: 111.9 kB
    npm notice shasum:        dc2551e628104e66be81fab287e46ea1af272584
    npm notice integrity:     sha512-6AQt/7qjNionI[...]hMcGnlF7p+NdQ==
    npm notice total files:   64
    npm notice
    npm notice
    npm notice package: @krassowski/jupyterlab-lsp@0.7.1
    npm notice === Tarball Contents ===
    npm notice 3.5kB  package.json
    npm notice 1.5kB  LICENSE
    npm notice 3.8kB  lib/.ipynb_checkpoints/command_manager-checkpoint.js
    npm notice 888B   lib/adapters/codemirror/cm_adapter.d.ts
    npm notice 2.3kB  lib/adapters/codemirror/cm_adapter.js
    npm notice 2.2kB  lib/adapters/codemirror/cm_adapter.js.map
    npm notice 11B    lib/adapters/codemirror/cm_adapter.spec.d.ts
    npm notice 2.1kB  lib/adapters/codemirror/cm_adapter.spec.js
    npm notice 1.9kB  lib/adapters/codemirror/cm_adapter.spec.js.map
    npm notice 5.0kB  lib/adapters/codemirror/feature.d.ts
    npm notice 14.0kB lib/adapters/codemirror/feature.js
    npm notice 11.0kB lib/adapters/codemirror/feature.js.map
    npm notice 11B    lib/adapters/codemirror/feature.spec.d.ts
    npm notice 10.3kB lib/adapters/codemirror/feature.spec.js
    npm notice 7.9kB  lib/adapters/codemirror/feature.spec.js.map
    npm notice 411B   lib/adapters/codemirror/features/code_action.d.ts
    npm notice 922B   lib/adapters/codemirror/features/code_action.js
    npm notice 913B   lib/adapters/codemirror/features/code_action.js.map
    npm notice 309B   lib/adapters/codemirror/features/completion.d.ts
    npm notice 1.4kB  lib/adapters/codemirror/features/completion.js
    npm notice 908B   lib/adapters/codemirror/features/completion.js.map
    npm notice 2.7kB  lib/adapters/codemirror/features/diagnostics_listing.d.ts
    npm notice 9.3kB  lib/adapters/codemirror/features/diagnostics_listing.js
    npm notice 9.0kB  lib/adapters/codemirror/features/diagnostics_listing.js.map
    npm notice 1.0kB  lib/adapters/codemirror/features/diagnostics_panel.d.ts
    npm notice 699B   lib/adapters/codemirror/features/diagnostics_panel.js
    npm notice 613B   lib/adapters/codemirror/features/diagnostics_panel.js.map
    npm notice 1.8kB  lib/adapters/codemirror/features/diagnostics.d.ts
    npm notice 13.7kB lib/adapters/codemirror/features/diagnostics.js
    npm notice 10.0kB lib/adapters/codemirror/features/diagnostics.js.map
    npm notice 11B    lib/adapters/codemirror/features/diagnostics.spec.d.ts
    npm notice 10.3kB lib/adapters/codemirror/features/diagnostics.spec.js
    npm notice 8.7kB  lib/adapters/codemirror/features/diagnostics.spec.js.map
    npm notice 553B   lib/adapters/codemirror/features/highlights.d.ts
    npm notice 2.6kB  lib/adapters/codemirror/features/highlights.js
    npm notice 2.3kB  lib/adapters/codemirror/features/highlights.js.map
    npm notice 1.2kB  lib/adapters/codemirror/features/hover.d.ts
    npm notice 7.3kB  lib/adapters/codemirror/features/hover.js
    npm notice 5.3kB  lib/adapters/codemirror/features/hover.js.map
    npm notice 485B   lib/adapters/codemirror/features/jump_to.d.ts
    npm notice 4.1kB  lib/adapters/codemirror/features/jump_to.js
    npm notice 3.0kB  lib/adapters/codemirror/features/jump_to.js.map
    npm notice 341B   lib/adapters/codemirror/features/rename.d.ts
    npm notice 4.2kB  lib/adapters/codemirror/features/rename.js
    npm notice 3.4kB  lib/adapters/codemirror/features/rename.js.map
    npm notice 11B    lib/adapters/codemirror/features/rename.spec.d.ts
    npm notice 1.4kB  lib/adapters/codemirror/features/rename.spec.js
    npm notice 1.5kB  lib/adapters/codemirror/features/rename.spec.js.map
    npm notice 956B   lib/adapters/codemirror/features/signature.d.ts
    npm notice 4.4kB  lib/adapters/codemirror/features/signature.js
    npm notice 3.4kB  lib/adapters/codemirror/features/signature.js.map
    npm notice 3.1kB  lib/adapters/codemirror/testutils.d.ts
    npm notice 5.6kB  lib/adapters/codemirror/testutils.js
    npm notice 5.2kB  lib/adapters/codemirror/testutils.js.map
    npm notice 2.5kB  lib/adapters/jupyterlab/components/completion.d.ts
    npm notice 11.8kB lib/adapters/jupyterlab/components/completion.js
    npm notice 8.2kB  lib/adapters/jupyterlab/components/completion.js.map
    npm notice 785B   lib/adapters/jupyterlab/components/free_tooltip.d.ts
    npm notice 2.1kB  lib/adapters/jupyterlab/components/free_tooltip.js
    npm notice 1.8kB  lib/adapters/jupyterlab/components/free_tooltip.js.map
    npm notice 2.4kB  lib/adapters/jupyterlab/components/statusbar.d.ts
    npm notice 16.6kB lib/adapters/jupyterlab/components/statusbar.js
    npm notice 12.8kB lib/adapters/jupyterlab/components/statusbar.js.map
    npm notice 1.5kB  lib/adapters/jupyterlab/file_editor.d.ts
    npm notice 2.0kB  lib/adapters/jupyterlab/file_editor.js
    npm notice 2.0kB  lib/adapters/jupyterlab/file_editor.js.map
    npm notice 5.3kB  lib/adapters/jupyterlab/jl_adapter.d.ts
    npm notice 13.8kB lib/adapters/jupyterlab/jl_adapter.js
    npm notice 9.7kB  lib/adapters/jupyterlab/jl_adapter.js.map
    npm notice 1.6kB  lib/adapters/jupyterlab/notebook.d.ts
    npm notice 4.6kB  lib/adapters/jupyterlab/notebook.js
    npm notice 4.0kB  lib/adapters/jupyterlab/notebook.js.map
    npm notice 3.6kB  lib/command_manager.d.ts
    npm notice 6.4kB  lib/command_manager.js
    npm notice 5.5kB  lib/command_manager.js.map
    npm notice 11B    lib/command_manager.spec.d.ts
    npm notice 1.8kB  lib/command_manager.spec.js
    npm notice 1.9kB  lib/command_manager.spec.js.map
    npm notice 2.6kB  lib/connection_manager.d.ts
    npm notice 7.0kB  lib/connection_manager.js
    npm notice 5.9kB  lib/connection_manager.js.map
    npm notice 861B   lib/connection.d.ts
    npm notice 3.5kB  lib/connection.js
    npm notice 3.1kB  lib/connection.js.map
    npm notice 497B   lib/converter.d.ts
    npm notice 480B   lib/converter.js
    npm notice 629B   lib/converter.js.map
    npm notice 134B   lib/extractors/defaults.d.ts
    npm notice 4.0kB  lib/extractors/defaults.js
    npm notice 2.7kB  lib/extractors/defaults.js.map
    npm notice 11B    lib/extractors/defaults.spec.d.ts
    npm notice 3.8kB  lib/extractors/defaults.spec.js
    npm notice 3.6kB  lib/extractors/defaults.spec.js.map
    npm notice 2.3kB  lib/extractors/regexp.d.ts
    npm notice 3.0kB  lib/extractors/regexp.js
    npm notice 2.4kB  lib/extractors/regexp.js.map
    npm notice 11B    lib/extractors/regexp.spec.d.ts
    npm notice 7.6kB  lib/extractors/regexp.spec.js
    npm notice 7.0kB  lib/extractors/regexp.spec.js.map
    npm notice 2.1kB  lib/extractors/types.d.ts
    npm notice 33B    lib/extractors/types.js
    npm notice 116B   lib/extractors/types.js.map
    npm notice 257B   lib/index.d.ts
    npm notice 7.4kB  lib/index.js
    npm notice 5.1kB  lib/index.js.map
    npm notice 1.7kB  lib/lsp.d.ts
    npm notice 2.8kB  lib/lsp.js
    npm notice 1.8kB  lib/lsp.js.map
    npm notice 2.0kB  lib/magics/.ipynb_checkpoints/defaults-checkpoint.js
    npm notice 581B   lib/magics/defaults.d.ts
    npm notice 5.1kB  lib/magics/defaults.js
    npm notice 3.2kB  lib/magics/defaults.js.map
    npm notice 11B    lib/magics/defaults.spec.d.ts
    npm notice 4.2kB  lib/magics/defaults.spec.js
    npm notice 3.4kB  lib/magics/defaults.spec.js.map
    npm notice 1.1kB  lib/magics/maps.d.ts
    npm notice 1.7kB  lib/magics/maps.js
    npm notice 1.8kB  lib/magics/maps.js.map
    npm notice 532B   lib/magics/overrides.d.ts
    npm notice 37B    lib/magics/overrides.js
    npm notice 120B   lib/magics/overrides.js.map
    npm notice 707B   lib/magics/rpy2.d.ts
    npm notice 2.7kB  lib/magics/rpy2.js
    npm notice 2.9kB  lib/magics/rpy2.js.map
    npm notice 11B    lib/magics/rpy2.spec.d.ts
    npm notice 3.9kB  lib/magics/rpy2.spec.js
    npm notice 3.4kB  lib/magics/rpy2.spec.js.map
    npm notice 856B   lib/positioning.d.ts
    npm notice 1.1kB  lib/positioning.js
    npm notice 1.1kB  lib/positioning.js.map
    npm notice 11B    lib/positioning.spec.d.ts
    npm notice 2.8kB  lib/positioning.spec.js
    npm notice 3.8kB  lib/positioning.spec.js.map
    npm notice 1.3kB  lib/utils.d.ts
    npm notice 3.4kB  lib/utils.js
    npm notice 2.8kB  lib/utils.js.map
    npm notice 734B   lib/virtual/console.d.ts
    npm notice 1.4kB  lib/virtual/console.js
    npm notice 1.7kB  lib/virtual/console.js.map
    npm notice 7.4kB  lib/virtual/document.d.ts
    npm notice 19.1kB lib/virtual/document.js
    npm notice 14.0kB lib/virtual/document.js.map
    npm notice 11B    lib/virtual/document.spec.d.ts
    npm notice 5.2kB  lib/virtual/document.spec.js
    npm notice 5.3kB  lib/virtual/document.spec.js.map
    npm notice 4.3kB  lib/virtual/editor.d.ts
    npm notice 5.8kB  lib/virtual/editor.js
    npm notice 3.8kB  lib/virtual/editor.js.map
    npm notice 11B    lib/virtual/editor.spec.d.ts
    npm notice 5.2kB  lib/virtual/editor.spec.js
    npm notice 4.6kB  lib/virtual/editor.spec.js.map
    npm notice 946B   lib/virtual/editors/file_editor.d.ts
    npm notice 1.7kB  lib/virtual/editors/file_editor.js
    npm notice 1.4kB  lib/virtual/editors/file_editor.js.map
    npm notice 3.6kB  lib/virtual/editors/notebook.d.ts
    npm notice 8.8kB  lib/virtual/editors/notebook.js
    npm notice 7.7kB  lib/virtual/editors/notebook.js.map
    npm notice 678B   schema/plugin.json
    npm notice 1.1kB  style/.ipynb_checkpoints/index-checkpoint.css
    npm notice 423B   style/console.css
    npm notice 1.7kB  style/diagnostics_listing.css
    npm notice 1.1kB  style/index.css
    npm notice 1.9kB  style/statusbar.css
    npm notice === Tarball Details ===
    npm notice name:          @krassowski/jupyterlab-lsp
    npm notice version:       0.7.1
    npm notice filename:      krassowski-jupyterlab-lsp-0.7.1.tgz
    npm notice package size:  125.7 kB
    npm notice unpacked size: 568.8 kB
    npm notice shasum:        9a5f30d85463817611c5eac2566ad4e2a06fd2fe
    npm notice integrity:     sha512-Ppm0FjZ0AUkOD[...]gb574Kcreg5jg==
    npm notice total files:   163
    npm notice
    jupyterlab-toc-1.0.1.tgz
    krassowski-jupyterlab-lsp-0.7.1.tgz
krassowski commented 4 years ago

Thank you @Trid-collab. Indeed this extension provides autocompletion which is automatically triggered after pressing a dot on objects in Python notebooks and files. The debug output that you provided is useful, however, I do not see any obvious culprit in there.

I still do not fully understand what exactly is that does not work for you:

You can help by providing two pieces of information:

  1. Do you see the statusbar item provided by this extension on the statusbar of JupyterLab? (see below). If yes, could you provide a screenshot of the pop-up, or just tell us if it says initialized/connected or anything else? See the example below. Screenshot from 2019-12-01 16-43-12
  2. (this might be harder, so please feel free to only provide the first one for now) could you please provide the exact installation steps that you used?

Also, if other features are working (and it's just the autocomplete that does not work for you), could you provide a minimal python code example for when it does not work for you?

Trid-collab commented 4 years ago

Hi,

Thank you for continued support. It means a lot to me as a newbie. I have attached the screenshots as you had asked for it. None of the features seems to working.

Regards Tridib

On Sun, Mar 1, 2020 at 5:45 AM Michał Krassowski notifications@github.com wrote:

Thank you @Trid-collab https://github.com/Trid-collab. Indeed this extension provides autocompletion which is automatically triggered after pressing a dot on objects in Python notebooks and files. The debug output that you provided is useful, however, I do not see any obvious culprit in there.

I still do not fully understand what exactly is that does not work for you:

  • is this the autocompletion feature, but other features are working?
  • or, are all features (hover, diagnostics, etc) not working at all?
  • or, is it the extension not showing up at all?

You can help by providing two pieces of information:

  1. Do you see the statusbar item provided by this extension on the statusbar of JupyterLab? (see below). If yes, could you provide a screenshot of the pop-up, or just tell us if it says initialized/connected or anything else? See the example below. [image: Screenshot from 2019-12-01 16-43-12] https://user-images.githubusercontent.com/5832902/69917024-d4058d80-1459-11ea-9d4d-6391d1cdae79.png
  2. (this might be harder, so please feel free to only provide the first one for now) could you please provide the exact installation steps that you used?

Also, if other features are working (and it's just the autocomplete that does not work for you), could you provide a minimal python code example for when it does not work for you?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/krassowski/jupyterlab-lsp/issues/203?email_source=notifications&email_token=AOT3LVFY2BOGPI6S4CH3JG3RFGSK7A5CNFSM4K4KZWRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENMKIMQ#issuecomment-593011762, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOT3LVCOAKSS2OAYNECUDPLRFGSK7ANCNFSM4K4KZWRA .

krassowski commented 4 years ago

You will need to upload the screenshots via GitHub, the attachment from email responses are not visible to others

On Sun, 1 Mar 2020, 14:44 Trid-collab, notifications@github.com wrote:

Hi,

Thank you for continued support. It means a lot to me as a newbie. I have attached the screenshots as you had asked for it. None of the features seems to working.

Regards Tridib

On Sun, Mar 1, 2020 at 5:45 AM Michał Krassowski <notifications@github.com

wrote:

Thank you @Trid-collab https://github.com/Trid-collab. Indeed this extension provides autocompletion which is automatically triggered after pressing a dot on objects in Python notebooks and files. The debug output that you provided is useful, however, I do not see any obvious culprit in there.

I still do not fully understand what exactly is that does not work for you:

  • is this the autocompletion feature, but other features are working?
  • or, are all features (hover, diagnostics, etc) not working at all?
  • or, is it the extension not showing up at all?

You can help by providing two pieces of information:

  1. Do you see the statusbar item provided by this extension on the statusbar of JupyterLab? (see below). If yes, could you provide a screenshot of the pop-up, or just tell us if it says initialized/connected or anything else? See the example below. [image: Screenshot from 2019-12-01 16-43-12] < https://user-images.githubusercontent.com/5832902/69917024-d4058d80-1459-11ea-9d4d-6391d1cdae79.png

  2. (this might be harder, so please feel free to only provide the first one for now) could you please provide the exact installation steps that you used?

Also, if other features are working (and it's just the autocomplete that does not work for you), could you provide a minimal python code example for when it does not work for you?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/krassowski/jupyterlab-lsp/issues/203?email_source=notifications&email_token=AOT3LVFY2BOGPI6S4CH3JG3RFGSK7A5CNFSM4K4KZWRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENMKIMQ#issuecomment-593011762 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AOT3LVCOAKSS2OAYNECUDPLRFGSK7ANCNFSM4K4KZWRA

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/krassowski/jupyterlab-lsp/issues/203?email_source=notifications&email_token=ABMQBRRR2DTDYZCTNTD6PT3RFJYFFA5CNFSM4K4KZWRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENNBAXI#issuecomment-593104989, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMQBRTAHJCS2BQWFBOUW5TRFJYFFANCNFSM4K4KZWRA .

On Sun, 1 Mar 2020, 14:44 Trid-collab, notifications@github.com wrote:

Hi,

Thank you for continued support. It means a lot to me as a newbie. I have attached the screenshots as you had asked for it. None of the features seems to working.

Regards Tridib

On Sun, Mar 1, 2020 at 5:45 AM Michał Krassowski <notifications@github.com

wrote:

Thank you @Trid-collab https://github.com/Trid-collab. Indeed this extension provides autocompletion which is automatically triggered after pressing a dot on objects in Python notebooks and files. The debug output that you provided is useful, however, I do not see any obvious culprit in there.

I still do not fully understand what exactly is that does not work for you:

  • is this the autocompletion feature, but other features are working?
  • or, are all features (hover, diagnostics, etc) not working at all?
  • or, is it the extension not showing up at all?

You can help by providing two pieces of information:

  1. Do you see the statusbar item provided by this extension on the statusbar of JupyterLab? (see below). If yes, could you provide a screenshot of the pop-up, or just tell us if it says initialized/connected or anything else? See the example below. [image: Screenshot from 2019-12-01 16-43-12] < https://user-images.githubusercontent.com/5832902/69917024-d4058d80-1459-11ea-9d4d-6391d1cdae79.png

  2. (this might be harder, so please feel free to only provide the first one for now) could you please provide the exact installation steps that you used?

Also, if other features are working (and it's just the autocomplete that does not work for you), could you provide a minimal python code example for when it does not work for you?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/krassowski/jupyterlab-lsp/issues/203?email_source=notifications&email_token=AOT3LVFY2BOGPI6S4CH3JG3RFGSK7A5CNFSM4K4KZWRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENMKIMQ#issuecomment-593011762 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AOT3LVCOAKSS2OAYNECUDPLRFGSK7ANCNFSM4K4KZWRA

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/krassowski/jupyterlab-lsp/issues/203?email_source=notifications&email_token=ABMQBRRR2DTDYZCTNTD6PT3RFJYFFA5CNFSM4K4KZWRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENNBAXI#issuecomment-593104989, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMQBRTAHJCS2BQWFBOUW5TRFJYFFANCNFSM4K4KZWRA .

On Sun, 1 Mar 2020, 14:44 Trid-collab, notifications@github.com wrote:

Hi,

Thank you for continued support. It means a lot to me as a newbie. I have attached the screenshots as you had asked for it. None of the features seems to working.

Regards Tridib

On Sun, Mar 1, 2020 at 5:45 AM Michał Krassowski <notifications@github.com

wrote:

Thank you @Trid-collab https://github.com/Trid-collab. Indeed this extension provides autocompletion which is automatically triggered after pressing a dot on objects in Python notebooks and files. The debug output that you provided is useful, however, I do not see any obvious culprit in there.

I still do not fully understand what exactly is that does not work for you:

  • is this the autocompletion feature, but other features are working?
  • or, are all features (hover, diagnostics, etc) not working at all?
  • or, is it the extension not showing up at all?

You can help by providing two pieces of information:

  1. Do you see the statusbar item provided by this extension on the statusbar of JupyterLab? (see below). If yes, could you provide a screenshot of the pop-up, or just tell us if it says initialized/connected or anything else? See the example below. [image: Screenshot from 2019-12-01 16-43-12] < https://user-images.githubusercontent.com/5832902/69917024-d4058d80-1459-11ea-9d4d-6391d1cdae79.png

  2. (this might be harder, so please feel free to only provide the first one for now) could you please provide the exact installation steps that you used?

Also, if other features are working (and it's just the autocomplete that does not work for you), could you provide a minimal python code example for when it does not work for you?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/krassowski/jupyterlab-lsp/issues/203?email_source=notifications&email_token=AOT3LVFY2BOGPI6S4CH3JG3RFGSK7A5CNFSM4K4KZWRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENMKIMQ#issuecomment-593011762 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AOT3LVCOAKSS2OAYNECUDPLRFGSK7ANCNFSM4K4KZWRA

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/krassowski/jupyterlab-lsp/issues/203?email_source=notifications&email_token=ABMQBRRR2DTDYZCTNTD6PT3RFJYFFA5CNFSM4K4KZWRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENNBAXI#issuecomment-593104989, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMQBRTAHJCS2BQWFBOUW5TRFJYFFANCNFSM4K4KZWRA .

On Sun, 1 Mar 2020, 14:44 Trid-collab, notifications@github.com wrote:

Hi,

Thank you for continued support. It means a lot to me as a newbie. I have attached the screenshots as you had asked for it. None of the features seems to working.

Regards Tridib

On Sun, Mar 1, 2020 at 5:45 AM Michał Krassowski <notifications@github.com

wrote:

Thank you @Trid-collab https://github.com/Trid-collab. Indeed this extension provides autocompletion which is automatically triggered after pressing a dot on objects in Python notebooks and files. The debug output that you provided is useful, however, I do not see any obvious culprit in there.

I still do not fully understand what exactly is that does not work for you:

  • is this the autocompletion feature, but other features are working?
  • or, are all features (hover, diagnostics, etc) not working at all?
  • or, is it the extension not showing up at all?

You can help by providing two pieces of information:

  1. Do you see the statusbar item provided by this extension on the statusbar of JupyterLab? (see below). If yes, could you provide a screenshot of the pop-up, or just tell us if it says initialized/connected or anything else? See the example below. [image: Screenshot from 2019-12-01 16-43-12] < https://user-images.githubusercontent.com/5832902/69917024-d4058d80-1459-11ea-9d4d-6391d1cdae79.png

  2. (this might be harder, so please feel free to only provide the first one for now) could you please provide the exact installation steps that you used?

Also, if other features are working (and it's just the autocomplete that does not work for you), could you provide a minimal python code example for when it does not work for you?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/krassowski/jupyterlab-lsp/issues/203?email_source=notifications&email_token=AOT3LVFY2BOGPI6S4CH3JG3RFGSK7A5CNFSM4K4KZWRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENMKIMQ#issuecomment-593011762 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AOT3LVCOAKSS2OAYNECUDPLRFGSK7ANCNFSM4K4KZWRA

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/krassowski/jupyterlab-lsp/issues/203?email_source=notifications&email_token=ABMQBRRR2DTDYZCTNTD6PT3RFJYFFA5CNFSM4K4KZWRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENNBAXI#issuecomment-593104989, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMQBRTAHJCS2BQWFBOUW5TRFJYFFANCNFSM4K4KZWRA .

tomer-harpaz commented 4 years ago

Hi, I think I have the same issue, in the status bar I see missing python, I run : pip install --pre jupyter-lsp pip install python-language-server[all] jupyter labextension install @krassowski/jupyterlab-lsp jupyter lab build

anything I am missing?

krassowski commented 4 years ago

@tomer-harpaz, it might be related to the new JupyterLab version (2.0) which we do not yet support. I cannot know this with the installation steps that you provided alone. Could you please open a new issue filling in the details in the template issue.

Trid-collab commented 4 years ago

Hi @krassowski please find attached the screenshots JLabCapture2

edzkite commented 4 years ago

Description

Also experiencing similar issues. Initially everything worked as expected, but after checking out JupyterLab and JupyterLab LSP from source, I don't see the status bar, and none of the features work anymore, even after multiple reinstalls of JupyterLab and the extension.

jupyterlab

Reproduce

  1. Open JupyterLab
  2. Open notebook

Expected behavior

Context

Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.
$PATH:
    /usr/local/bin
    /usr/bin
    /bin
    /usr/sbin
    /sbin
    /usr/local/go/bin
    /usr/local/go/bin

sys.path:
    /usr/local/bin
    /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python37.zip
    /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7
    /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload
    /Users/[...]/Library/Python/3.7/lib/python/site-packages
    /usr/local/lib/python3.7/site-packages
    /usr/local/Cellar/protobuf/3.11.4/libexec/lib/python3.7/site-packages

sys.executable:
    /usr/local/opt/python/bin/python3.7

sys.version:
    3.7.6 (default, Feb 28 2020, 14:36:58)
    [Clang 11.0.0 (clang-1100.0.33.17)]

platform.platform():
    Darwin-19.3.0-x86_64-i386-64bit

which -a jupyter:
    /usr/local/bin/jupyter

pip list:
    Package                       Version
    ----------------------------- ---------
    alabaster                     0.7.12
    appnope                       0.1.0
    argh                          0.26.2
    astroid                       2.1.0
    atomicwrites                  1.3.0
    attrs                         19.3.0
    autopep8                      1.4.4
    Babel                         2.7.0
    backcall                      0.1.0
    bleach                        3.1.1
    botocore                      1.12.232
    certifi                       2019.6.16
    chardet                       3.0.4
    cloudpickle                   1.2.1
    colorama                      0.3.9
    cycler                        0.10.0
    decorator                     4.4.2
    defusedxml                    0.6.0
    diff-match-patch              20181111
    docutils                      0.15.2
    entrypoints                   0.3
    flake8                        3.7.9
    future                        0.17.1
    helpdev                       0.6.10
    idna                          2.8
    ifaddr                        0.1.6
    imagesize                     1.1.0
    importlib-metadata            1.5.0
    ipykernel                     5.1.4
    ipython                       7.13.0
    ipython-genutils              0.2.0
    ipywidgets                    7.5.1
    isort                         4.3.9
    jedi                          0.16.0
    Jinja2                        2.11.1
    jmespath                      0.9.4
    json5                         0.9.2
    jsonschema                    3.2.0
    jupyter-client                6.0.0
    jupyter-core                  4.6.3
    jupyter-lsp                   0.7.0
    jupyterlab                    1.2.7
    jupyterlab-server             1.0.7
    keyring                       19.0.2
    kiwisolver                    1.1.0
    lazy-object-proxy             1.3.1
    MarkupSafe                    1.1.1
    matplotlib                    3.1.1
    mccabe                        0.6.1
    mistune                       0.8.4
    nbconvert                     5.6.1
    nbformat                      5.0.4
    notebook                      6.0.3
    numpy                         1.17.1
    numpydoc                      0.9.1
    packaging                     19.1
    pandocfilters                 1.4.2
    parso                         0.6.2
    pathtools                     0.1.2
    pexpect                       4.8.0
    pickleshare                   0.7.5
    pip                           19.3.1
    pluggy                        0.12.0
    prometheus-client             0.7.1
    prompt-toolkit                3.0.3
    protobuf                      3.11.4
    psutil                        5.6.3
    ptyprocess                    0.6.0
    pyasn1                        0.4.7
    pycodestyle                   2.5.0
    pydocstyle                    4.0.0
    pyflakes                      2.1.1
    Pygments                      2.5.2
    pylint                        2.2.2
    Pympler                       0.7
    pyparsing                     2.4.2
    PyQt5                         5.12.3
    PyQt5-sip                     4.19.18
    PyQtWebEngine                 5.12.1
    pyrsistent                    0.15.7
    python-dateutil               2.8.1
    python-jsonrpc-server         0.3.4
    python-language-server        0.31.8
    pytz                          2019.2
    PyYAML                        5.1.2
    pyzmq                         19.0.0
    QDarkStyle                    2.7
    QtAwesome                     0.6.0
    qtconsole                     4.5.2
    QtPy                          1.9.0
    requests                      2.22.0
    rope                          0.14.0
    rsa                           3.4.2
    s3transfer                    0.2.1
    Send2Trash                    1.5.0
    setuptools                    45.2.0
    six                           1.14.0
    snowballstemmer               1.9.0
    Sphinx                        2.1.2
    sphinxcontrib-applehelp       1.0.1
    sphinxcontrib-devhelp         1.0.1
    sphinxcontrib-htmlhelp        1.0.2
    sphinxcontrib-jsmath          1.0.1
    sphinxcontrib-qthelp          1.0.2
    sphinxcontrib-serializinghtml 1.1.3
    spyder-kernels                1.4.0
    terminado                     0.8.3
    testpath                      0.4.4
    tornado                       6.0.4
    traitlets                     4.3.3
    ujson                         1.35
    urllib3                       1.25.3
    watchdog                      0.9.0
    wcwidth                       0.1.8
    webencodings                  0.5.1
    wheel                         0.33.6
    widgetsnbextension            3.5.1
    wrapt                         1.11.1
    wurlitzer                     1.0.3
    yapf                          0.28.0
    zeroconf                      0.23.0
    zipp                          3.1.0
Command Line Output
[D 15:07:55.007 LabApp] Searching ['/Users/[...]', '/Users/[...]/.jupyter', '/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[D 15:07:55.007 LabApp] Looking for jupyter_config in /etc/jupyter
[D 15:07:55.008 LabApp] Looking for jupyter_config in /usr/local/etc/jupyter
[D 15:07:55.008 LabApp] Looking for jupyter_config in /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/etc/jupyter
[D 15:07:55.008 LabApp] Looking for jupyter_config in /Users/[...]/.jupyter
[D 15:07:55.008 LabApp] Looking for jupyter_config in /Users/[...]
[D 15:07:55.009 LabApp] Looking for jupyter_notebook_config in /etc/jupyter
[D 15:07:55.009 LabApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter
[D 15:07:55.009 LabApp] Looking for jupyter_notebook_config in /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/etc/jupyter
[D 15:07:55.009 LabApp] Looking for jupyter_notebook_config in /Users/[...]/.jupyter
[D 15:07:55.009 LabApp] Looking for jupyter_notebook_config in /Users/[...]
[D 15:07:55.010 LabApp] Raising open file limit: soft 256->4096; hard 9223372036854775807->9223372036854775807
[D 15:07:55.014 LabApp] Paths used for configuration of jupyter_notebook_config:
        /etc/jupyter/jupyter_notebook_config.json
[D 15:07:55.014 LabApp] Paths used for configuration of jupyter_notebook_config:
        /usr/local/etc/jupyter/jupyter_notebook_config.d/jupyter-lsp-serverextension.json
        /usr/local/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json
        /usr/local/etc/jupyter/jupyter_notebook_config.json
[D 15:07:55.015 LabApp] Paths used for configuration of jupyter_notebook_config:
        /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/etc/jupyter/jupyter_notebook_config.json
[D 15:07:55.015 LabApp] Paths used for configuration of jupyter_notebook_config:
        /Users/[...]/.jupyter/jupyter_notebook_config.json
[D 15:07:55.516 LabApp] Checking for /Users/[...]/node_modules/bash-language-server/bin/main.js
[D 15:07:55.516 LabApp] Checking for /usr/local/share/jupyter/lab/staging/node_modules/bash-language-server/bin/main.js
[D 15:07:55.516 LabApp] Checking for /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/node_modules/bash-language-server/bin/main.js
[D 15:07:55.516 LabApp] Checking for /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/node_modules/bash-language-server/bin/main.js
[W 15:07:55.516 LabApp] Failed to fetch commands from language server spec finder`bash-language-server`:
    expected str, bytes or os.PathLike object, not tuple
[D 15:07:55.520 LabApp] Checking for /Users/[...]/node_modules/dockerfile-language-server-nodejs/lib/server.js
[D 15:07:55.520 LabApp] Checking for /usr/local/share/jupyter/lab/staging/node_modules/dockerfile-language-server-nodejs/lib/server.js
[D 15:07:55.520 LabApp] Checking for /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/node_modules/dockerfile-language-server-nodejs/lib/server.js
[D 15:07:55.520 LabApp] Checking for /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/node_modules/dockerfile-language-server-nodejs/lib/server.js
[W 15:07:55.520 LabApp] Failed to fetch commands from language server spec finder`dockerfile-language-server-nodejs`:
    expected str, bytes or os.PathLike object, not tuple
[D 15:07:55.523 LabApp] Checking for /Users/[...]/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js
[D 15:07:55.523 LabApp] Checking for /usr/local/share/jupyter/lab/staging/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js
[D 15:07:55.523 LabApp] Checking for /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js
[D 15:07:55.524 LabApp] Checking for /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js
[W 15:07:55.524 LabApp] Failed to fetch commands from language server spec finder`javascript-typescript-langserver`:
    expected str, bytes or os.PathLike object, not tuple
[D 15:07:55.535 LabApp] Checking for /Users/[...]/node_modules/unified-language-server/src/server.js
[D 15:07:55.535 LabApp] Checking for /usr/local/share/jupyter/lab/staging/node_modules/unified-language-server/src/server.js
[D 15:07:55.535 LabApp] Checking for /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/node_modules/unified-language-server/src/server.js
[D 15:07:55.535 LabApp] Checking for /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/node_modules/unified-language-server/src/server.js
[W 15:07:55.536 LabApp] Failed to fetch commands from language server spec finder`unified-language-server`:
    expected str, bytes or os.PathLike object, not tuple
[D 15:07:55.539 LabApp] Checking for /Users/[...]/node_modules/vscode-css-languageserver-bin/cssServerMain.js
[D 15:07:55.540 LabApp] Checking for /usr/local/share/jupyter/lab/staging/node_modules/vscode-css-languageserver-bin/cssServerMain.js
[D 15:07:55.540 LabApp] Checking for /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/node_modules/vscode-css-languageserver-bin/cssServerMain.js
[D 15:07:55.540 LabApp] Checking for /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/node_modules/vscode-css-languageserver-bin/cssServerMain.js
[W 15:07:55.540 LabApp] Failed to fetch commands from language server spec finder`vscode-css-languageserver-bin`:
    expected str, bytes or os.PathLike object, not tuple
[D 15:07:55.544 LabApp] Checking for /Users/[...]/node_modules/vscode-html-languageserver-bin/htmlServerMain.js
[D 15:07:55.544 LabApp] Checking for /usr/local/share/jupyter/lab/staging/node_modules/vscode-html-languageserver-bin/htmlServerMain.js
[D 15:07:55.544 LabApp] Checking for /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/node_modules/vscode-html-languageserver-bin/htmlServerMain.js
[D 15:07:55.544 LabApp] Checking for /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/node_modules/vscode-html-languageserver-bin/htmlServerMain.js
[W 15:07:55.545 LabApp] Failed to fetch commands from language server spec finder`vscode-html-languageserver-bin`:
    expected str, bytes or os.PathLike object, not tuple
[D 15:07:55.548 LabApp] Checking for /Users/[...]/node_modules/vscode-json-languageserver-bin/jsonServerMain.js
[D 15:07:55.548 LabApp] Checking for /usr/local/share/jupyter/lab/staging/node_modules/vscode-json-languageserver-bin/jsonServerMain.js
[D 15:07:55.548 LabApp] Checking for /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/node_modules/vscode-json-languageserver-bin/jsonServerMain.js
[D 15:07:55.548 LabApp] Checking for /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/node_modules/vscode-json-languageserver-bin/jsonServerMain.js
[W 15:07:55.548 LabApp] Failed to fetch commands from language server spec finder`vscode-json-languageserver-bin`:
    expected str, bytes or os.PathLike object, not tuple
[D 15:07:55.552 LabApp] Checking for /Users/[...]/node_modules/yaml-language-server/bin/yaml-language-server
[D 15:07:55.552 LabApp] Checking for /usr/local/share/jupyter/lab/staging/node_modules/yaml-language-server/bin/yaml-language-server
[D 15:07:55.552 LabApp] Checking for /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/node_modules/yaml-language-server/bin/yaml-language-server
[D 15:07:55.552 LabApp] Checking for /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/node_modules/yaml-language-server/bin/yaml-language-server
[W 15:07:55.552 LabApp] Failed to fetch commands from language server spec finder`yaml-language-server`:
    expected str, bytes or os.PathLike object, not tuple
[D 15:07:55.555 LabApp] [lsp] rootUri will be file:///Users/[...]
[D 15:07:55.555 LabApp] [lsp] virtualDocumentsUri will be file:///Users/[...]/.virtual_documents
[D 15:07:55.556 LabApp] [lsp] The following Language Servers will be available: {
      "pyls": {
        "argv": [
          "/usr/local/bin/pyls"
        ],
        "config_schema": {
          "properties": {
            "pyls.configurationSources": {
              "default": [
                "pycodestyle"
              ],
              "description": "List of configuration sources to use.",
              "items": {
                "enum": [
                  "pycodestyle",
                  "pyflakes"
                ],
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.executable": {
              "default": "pyls",
              "description": "Language server executable",
              "type": "string"
            },
            "pyls.plugins.jedi_completion.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_completion.include_params": {
              "default": true,
              "description": "Auto-completes methods and classes with tabstops for each parameter.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_definition.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_definition.follow_builtin_imports": {
              "default": true,
              "description": "If follow_imports is True will decide if it follow builtin imports.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_definition.follow_imports": {
              "default": true,
              "description": "The goto call will follow imports.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_hover.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_references.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_signature_help.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_symbols.all_scopes": {
              "default": true,
              "description": "If True lists the names of all scopes instead of only the module namespace.",
              "type": "boolean"
            },
            "pyls.plugins.jedi_symbols.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.mccabe.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.mccabe.threshold": {
              "default": 15,
              "description": "The minimum threshold that triggers warnings about cyclomatic complexity.",
              "type": "number"
            },
            "pyls.plugins.preload.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.preload.modules": {
              "default": null,
              "description": "List of modules to import on startup",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pycodestyle.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.pycodestyle.exclude": {
              "default": null,
              "description": "Exclude files or directories which match these patterns.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pycodestyle.filename": {
              "default": null,
              "description": "When parsing directories, only check filenames matching these patterns.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pycodestyle.hangClosing": {
              "default": null,
              "description": "Hang closing bracket instead of matching indentation of opening bracket's line.",
              "type": "boolean"
            },
            "pyls.plugins.pycodestyle.ignore": {
              "default": null,
              "description": "Ignore errors and warnings",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pycodestyle.maxLineLength": {
              "default": null,
              "description": "Set maximum allowed line length.",
              "type": "number"
            },
            "pyls.plugins.pycodestyle.select": {
              "default": null,
              "description": "Select errors and warnings",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pydocstyle.addIgnore": {
              "default": null,
              "description": "Ignore errors and warnings in addition to the specified convention.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pydocstyle.addSelect": {
              "default": null,
              "description": "Select errors and warnings in addition to the specified convention.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pydocstyle.convention": {
              "default": null,
              "description": "Choose the basic list of checked errors by specifying an existing convention.",
              "enum": [
                "pep257",
                "numpy"
              ],
              "type": "string"
            },
            "pyls.plugins.pydocstyle.enabled": {
              "default": false,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.pydocstyle.ignore": {
              "default": null,
              "description": "Ignore errors and warnings",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pydocstyle.match": {
              "default": "(?!test_).*\\.py",
              "description": "Check only files that exactly match the given regular expression; default is to match files that don't start with 'test_' but end with '.py'.",
              "type": "string"
            },
            "pyls.plugins.pydocstyle.matchDir": {
              "default": "[^\\.].*",
              "description": "Search only dirs that exactly match the given regular expression; default is to match dirs which do not begin with a dot.",
              "type": "string"
            },
            "pyls.plugins.pydocstyle.select": {
              "default": null,
              "description": "Select errors and warnings",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "pyls.plugins.pyflakes.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.pylint.args": {
              "default": null,
              "description": "Arguments to pass to pylint.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": false
            },
            "pyls.plugins.pylint.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.rope_completion.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.plugins.yapf.enabled": {
              "default": true,
              "description": "Enable or disable the plugin.",
              "type": "boolean"
            },
            "pyls.rope.extensionModules": {
              "default": null,
              "description": "Builtin and c-extension modules that are allowed to be imported and inspected by rope.",
              "type": "string"
            },
            "pyls.rope.ropeFolder": {
              "default": null,
              "description": "The name of the folder in which rope stores project configurations and data.  Pass `null` for not using such a folder at all.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            }
          },
          "title": "Python Language Server Configuration",
          "type": "object"
        },
        "display_name": "pyls",
        "env": {
          "PYTHONUNBUFFERED": "1"
        },
        "extend": [
          {
            "display_name": "pyls-mypy",
            "install": {
              "pip": "pip install pyls-mypy"
            }
          },
          {
            "display_name": "pyls-black",
            "install": {
              "pip": "pip install pyls-black"
            }
          },
          {
            "display_name": "pyls-isort",
            "install": {
              "pip": "pip install pyls-isort"
            }
          }
        ],
        "install": {
          "conda": "conda install -c conda-forge python-language-server",
          "pip": "pip install python-language-server[all]"
        },
        "languages": [
          "python"
        ],
        "mime_types": [
          "text/python",
          "text/x-ipython"
        ],
        "urls": {
          "home": "https://github.com/palantir/python-language-server",
          "issues": "https://github.com/palantir/python-language-server/issues"
        },
        "version": 1
      }
    }
[I 15:07:55.766 LabApp] JupyterLab extension loaded from /usr/local/lib/python3.7/site-packages/jupyterlab
[I 15:07:55.766 LabApp] JupyterLab application directory is /usr/local/share/jupyter/lab
[D 15:07:55.955 LabApp] Yarn configuration loaded.
[I 15:07:55.960 LabApp] Serving notebooks from local directory: /Users/[...]
[I 15:07:55.960 LabApp] The Jupyter Notebook is running at:
[I 15:07:55.960 LabApp] http://localhost:8888/?token=17ccd3bd74fe5339cc72ad257dc98625849601f0e6c57816
[I 15:07:55.960 LabApp]  or http://127.0.0.1:8888/?token=17ccd3bd74fe5339cc72ad257dc98625849601f0e6c57816
[I 15:07:55.960 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 15:07:55.965 LabApp]

    To access the notebook, open this file in a browser:
        file:///Users/[...]/Library/Jupyter/runtime/nbserver-11012-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=17ccd3bd74fe5339cc72ad257dc98625849601f0e6c57816
     or http://127.0.0.1:8888/?token=17ccd3bd74fe5339cc72ad257dc98625849601f0e6c57816
[D 15:07:57.249 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.251 LabApp] Using contents: services/contents
[D 15:07:57.257 LabApp] 200 GET /lab?token=17ccd3bd74fe5339cc72ad257dc98625849601f0e6c57816 (::1) 8.67ms
[D 15:07:57.276 LabApp] Path main.a4a0caaf0a8c7d55bed2.js served from /usr/local/share/jupyter/lab/static/main.a4a0caaf0a8c7d55bed2.js
[D 15:07:57.277 LabApp] 304 GET /static/lab/main.a4a0caaf0a8c7d55bed2.js (::1) 1.34ms
[D 15:07:57.286 LabApp] Path vendors~main.0cbe50b1d4a5f6fcf6cc.js served from /usr/local/share/jupyter/lab/static/vendors~main.0cbe50b1d4a5f6fcf6cc.js
[D 15:07:57.287 LabApp] 304 GET /static/lab/vendors~main.0cbe50b1d4a5f6fcf6cc.js (::1) 1.96ms
[D 15:07:57.372 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.373 LabApp] 200 GET /api/sessions?1583363277369 (::1) 1.82ms
[D 15:07:57.374 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.375 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.376 LabApp] Found kernel python3 in /usr/local/share/jupyter/kernels
[D 15:07:57.379 LabApp] 200 GET /api/kernelspecs?1583363277370 (::1) 4.81ms
[D 15:07:57.379 LabApp] 200 GET /api/terminals?1583363277371 (::1) 4.55ms
[D 15:07:57.381 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.419 LabApp] 200 GET /lab/api/settings/?1583363277375 (::1) 37.78ms
[D 15:07:57.420 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.421 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.421 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.422 LabApp] 200 GET /api/terminals?1583363277416 (::1) 2.13ms
[D 15:07:57.423 LabApp] 200 GET /api/sessions?1583363277417 (::1) 2.29ms
[D 15:07:57.423 LabApp] Found kernel python3 in /usr/local/share/jupyter/kernels
[D 15:07:57.425 LabApp] 200 GET /api/kernelspecs?1583363277417 (::1) 3.82ms
[D 15:07:57.485 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.488 LabApp] 200 GET /metrics?1583363277483 (::1) 2.42ms
[D 15:07:57.695 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.697 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277692 (::1) 2.41ms
[D 15:07:57.698 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.699 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.700 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.702 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277693 (::1) 3.75ms
[D 15:07:57.703 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277694 (::1) 4.50ms
[D 15:07:57.704 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.706 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277695 (::1) 6.05ms
[D 15:07:57.707 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277694 (::1) 4.02ms
[D 15:07:57.708 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.710 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.711 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.711 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.713 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277695 (::1) 4.91ms
[D 15:07:57.713 LabApp] Path @jupyterlab/theme-light-extension/index.css served from /usr/local/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.css
[D 15:07:57.714 LabApp] 304 GET /lab/api/themes/@jupyterlab/theme-light-extension/index.css (::1) 4.52ms
[D 15:07:57.715 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277696 (::1) 5.30ms
[D 15:07:57.716 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.718 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277697 (::1) 6.89ms
[D 15:07:57.719 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277696 (::1) 7.66ms
[D 15:07:57.721 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277697 (::1) 5.02ms
[D 15:07:57.722 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.725 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277698 (::1) 3.49ms
[D 15:07:57.815 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.823 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.991 LabApp] 200 GET /api/nbconvert?1583363277820 (::1) 169.07ms
[D 15:07:57.994 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.994 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.995 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.996 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.996 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:57.999 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277823 (::1) 5.32ms
[D 15:07:58.000 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277821 (::1) 6.05ms
[D 15:07:58.002 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277821 (::1) 6.89ms
[D 15:07:58.003 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277822 (::1) 7.50ms
[D 15:07:58.004 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277822 (::1) 8.14ms
[D 15:07:58.005 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.006 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.006 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.007 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.007 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.009 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277824 (::1) 4.01ms
[D 15:07:58.011 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277824 (::1) 5.37ms
[D 15:07:58.013 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277825 (::1) 7.09ms
[D 15:07:58.060 LabApp] Yarn configuration loaded.
[D 15:07:58.104 LabApp] Node v12.11.1

[D 15:07:58.135 LabApp] 200 GET /api/nbconvert?1583363277831 (::1) 128.50ms
[D 15:07:58.137 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277834 (::1) 130.18ms
[D 15:07:58.139 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.140 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.140 LabApp] Accepting token-authenticated connection from ::1
[I 15:07:58.141 LabApp] Build is up to date
[D 15:07:58.141 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.142 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.143 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277835 (::1) 4.70ms
[D 15:07:58.145 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1583363277837 (::1) 4.94ms
[D 15:07:58.146 LabApp] 200 GET /api/sessions?1583363277839 (::1) 5.28ms
[D 15:07:58.146 LabApp] 200 GET /lab/api/build?1583363277812 (::1) 331.42ms
[D 15:07:58.213 LabApp] 200 GET /lab/api/workspaces/lab?1583363277856 (::1) 70.96ms
[D 15:07:58.214 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.215 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.244 LabApp] Fetching URL: https://registry.yarnpkg.com/@krassowski%2Fjupyterlab-lsp
[D 15:07:58.305 LabApp] 200 GET /api/contents/?content=1&1583363277927 (::1) 89.81ms
[D 15:07:58.306 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.307 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.307 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.310 LabApp] 200 GET /api/contents/Documents/test?1583363278214 (::1) 4.22ms
[D 15:07:58.311 LabApp] 200 GET /api/contents/Documents/test/test.ipynb?content=0&1583363278215 (::1) 4.12ms
[D 15:07:58.311 LabApp] 200 GET /api/contents/Documents/test/test2.py?content=0&1583363278216 (::1) 4.26ms
[D 15:07:58.313 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.317 LabApp] 200 GET /api/contents/Documents/test?content=1&1583363278311 (::1) 4.34ms
[D 15:07:58.346 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.347 LabApp] 200 GET /api/sessions?1583363278344 (::1) 1.37ms
[D 15:07:58.379 LabApp] > /usr/local/bin/npm pack @krassowski/jupyterlab-lsp@0.7.1
-[D 15:07:58.416 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.426 LabApp] 200 GET /api/contents/Documents/test/test.ipynb?type=notebook&content=1&1583363278413 (::1) 10.49ms
[D 15:07:58.426 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.427 LabApp] 200 GET /api/contents/Documents/test/test2.py?format=text&type=file&content=1&1583363278413 (::1) 1.30ms
\[D 15:07:58.516 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.517 LabApp] 200 GET /api/contents/Documents/test/test.ipynb/checkpoints?1583363278514 (::1) 1.98ms
[D 15:07:58.519 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.519 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.520 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.520 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.521 LabApp] 200 GET /api/contents/Documents/test/test.ipynb/checkpoints?1583363278516 (::1) 2.70ms
[D 15:07:58.522 LabApp] 200 GET /api/contents/Documents/test/test.ipynb/checkpoints?1583363278514 (::1) 2.61ms
[D 15:07:58.522 LabApp] 200 GET /api/contents/Documents/test/test2.py/checkpoints?1583363278515 (::1) 2.88ms
[D 15:07:58.523 LabApp] 200 GET /api/contents/Documents/test/test2.py/checkpoints?1583363278515 (::1) 3.06ms
[D 15:07:58.524 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.525 LabApp] 200 GET /api/contents/Documents/test/test2.py/checkpoints?1583363278516 (::1) 1.17ms
[D 15:07:58.571 LabApp] Accepting token-authenticated connection from ::1
|[D 15:07:58.601 LabApp] Starting kernel: ['/usr/local/opt/python/bin/python3.7', '-m', 'ipykernel_launcher', '-f', '/Users/[...]/Library/Jupyter/runtime/kernel-1325f026-5bff-4234-895e-21f9462419c8.json']
[D 15:07:58.607 LabApp] Connecting to: tcp://127.0.0.1:59044
[D 15:07:58.609 LabApp] Connecting to: tcp://127.0.0.1:59041
[I 15:07:58.612 LabApp] Kernel started: 1325f026-5bff-4234-895e-21f9462419c8
[D 15:07:58.612 LabApp] Kernel args: {'kernel_name': 'python3', 'cwd': '/Users/[...]/Documents/test'}
[D 15:07:58.614 LabApp] 201 POST /api/sessions?1583363278569 (::1) 43.06ms
[D 15:07:58.637 LabApp] Initializing websocket connection /api/kernels/1325f026-5bff-4234-895e-21f9462419c8/channels
[D 15:07:58.639 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.639 LabApp] Requesting kernel info from 1325f026-5bff-4234-895e-21f9462419c8
[D 15:07:58.639 LabApp] Connecting to: tcp://127.0.0.1:59040
[D 15:07:58.641 LabApp] Initializing websocket connection /api/kernels/1325f026-5bff-4234-895e-21f9462419c8/channels
[D 15:07:58.642 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.643 LabApp] Waiting for pending kernel_info request
\[D 15:07:58.973 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:58.974 LabApp] 204 PUT /lab/api/workspaces/lab?1583363278969 (::1) 1.87ms
-[D 15:07:59.214 LabApp] npm notice
    npm notice 📦  @krassowski/jupyterlab-lsp@0.7.1
    npm notice === Tarball Contents ===
    npm notice 3.5kB  package.json
    npm notice 1.5kB  LICENSE
    npm notice 3.8kB  lib/.ipynb_checkpoints/command_manager-checkpoint.js
    npm notice 888B   lib/adapters/codemirror/cm_adapter.d.ts
    npm notice 2.3kB  lib/adapters/codemirror/cm_adapter.js
    npm notice 2.2kB  lib/adapters/codemirror/cm_adapter.js.map
    npm notice 11B    lib/adapters/codemirror/cm_adapter.spec.d.ts
    npm notice 2.1kB  lib/adapters/codemirror/cm_adapter.spec.js
    npm notice 1.9kB  lib/adapters/codemirror/cm_adapter.spec.js.map
    npm notice 5.0kB  lib/adapters/codemirror/feature.d.ts
    npm notice 14.0kB lib/adapters/codemirror/feature.js
    npm notice 11.0kB lib/adapters/codemirror/feature.js.map
    npm notice 11B    lib/adapters/codemirror/feature.spec.d.ts
    npm notice 10.3kB lib/adapters/codemirror/feature.spec.js
    npm notice 7.9kB  lib/adapters/codemirror/feature.spec.js.map
    npm notice 411B   lib/adapters/codemirror/features/code_action.d.ts
    npm notice 922B   lib/adapters/codemirror/features/code_action.js
    npm notice 913B   lib/adapters/codemirror/features/code_action.js.map
    npm notice 309B   lib/adapters/codemirror/features/completion.d.ts
    npm notice 1.4kB  lib/adapters/codemirror/features/completion.js
    npm notice 908B   lib/adapters/codemirror/features/completion.js.map
    npm notice 2.7kB  lib/adapters/codemirror/features/diagnostics_listing.d.ts
    npm notice 9.3kB  lib/adapters/codemirror/features/diagnostics_listing.js
    npm notice 9.0kB  lib/adapters/codemirror/features/diagnostics_listing.js.map
    npm notice 1.0kB  lib/adapters/codemirror/features/diagnostics_panel.d.ts
    npm notice 699B   lib/adapters/codemirror/features/diagnostics_panel.js
    npm notice 613B   lib/adapters/codemirror/features/diagnostics_panel.js.map
    npm notice 1.8kB  lib/adapters/codemirror/features/diagnostics.d.ts
    npm notice 13.7kB lib/adapters/codemirror/features/diagnostics.js
    npm notice 10.0kB lib/adapters/codemirror/features/diagnostics.js.map
    npm notice 11B    lib/adapters/codemirror/features/diagnostics.spec.d.ts
    npm notice 10.3kB lib/adapters/codemirror/features/diagnostics.spec.js
    npm notice 8.7kB  lib/adapters/codemirror/features/diagnostics.spec.js.map
    npm notice 553B   lib/adapters/codemirror/features/highlights.d.ts
    npm notice 2.6kB  lib/adapters/codemirror/features/highlights.js
    npm notice 2.3kB  lib/adapters/codemirror/features/highlights.js.map
    npm notice 1.2kB  lib/adapters/codemirror/features/hover.d.ts
    npm notice 7.3kB  lib/adapters/codemirror/features/hover.js
    npm notice 5.3kB  lib/adapters/codemirror/features/hover.js.map
    npm notice 485B   lib/adapters/codemirror/features/jump_to.d.ts
    npm notice 4.1kB  lib/adapters/codemirror/features/jump_to.js
    npm notice 3.0kB  lib/adapters/codemirror/features/jump_to.js.map
    npm notice 341B   lib/adapters/codemirror/features/rename.d.ts
    npm notice 4.2kB  lib/adapters/codemirror/features/rename.js
    npm notice 3.4kB  lib/adapters/codemirror/features/rename.js.map
    npm notice 11B    lib/adapters/codemirror/features/rename.spec.d.ts
    npm notice 1.4kB  lib/adapters/codemirror/features/rename.spec.js
    npm notice 1.5kB  lib/adapters/codemirror/features/rename.spec.js.map
    npm notice 956B   lib/adapters/codemirror/features/signature.d.ts
    npm notice 4.4kB  lib/adapters/codemirror/features/signature.js
    npm notice 3.4kB  lib/adapters/codemirror/features/signature.js.map
    npm notice 3.1kB  lib/adapters/codemirror/testutils.d.ts
    npm notice 5.6kB  lib/adapters/codemirror/testutils.js
    npm notice 5.2kB  lib/adapters/codemirror/testutils.js.map
    npm notice 2.5kB  lib/adapters/jupyterlab/components/completion.d.ts
    npm notice 11.8kB lib/adapters/jupyterlab/components/completion.js
    npm notice 8.2kB  lib/adapters/jupyterlab/components/completion.js.map
    npm notice 785B   lib/adapters/jupyterlab/components/free_tooltip.d.ts
    npm notice 2.1kB  lib/adapters/jupyterlab/components/free_tooltip.js
    npm notice 1.8kB  lib/adapters/jupyterlab/components/free_tooltip.js.map
    npm notice 2.4kB  lib/adapters/jupyterlab/components/statusbar.d.ts
    npm notice 16.6kB lib/adapters/jupyterlab/components/statusbar.js
    npm notice 12.8kB lib/adapters/jupyterlab/components/statusbar.js.map
    npm notice 1.5kB  lib/adapters/jupyterlab/file_editor.d.ts
    npm notice 2.0kB  lib/adapters/jupyterlab/file_editor.js
    npm notice 2.0kB  lib/adapters/jupyterlab/file_editor.js.map
    npm notice 5.3kB  lib/adapters/jupyterlab/jl_adapter.d.ts
    npm notice 13.8kB lib/adapters/jupyterlab/jl_adapter.js
    npm notice 9.7kB  lib/adapters/jupyterlab/jl_adapter.js.map
    npm notice 1.6kB  lib/adapters/jupyterlab/notebook.d.ts
    npm notice 4.6kB  lib/adapters/jupyterlab/notebook.js
    npm notice 4.0kB  lib/adapters/jupyterlab/notebook.js.map
    npm notice 3.6kB  lib/command_manager.d.ts
    npm notice 6.4kB  lib/command_manager.js
    npm notice 5.5kB  lib/command_manager.js.map
    npm notice 11B    lib/command_manager.spec.d.ts
    npm notice 1.8kB  lib/command_manager.spec.js
    npm notice 1.9kB  lib/command_manager.spec.js.map
    npm notice 2.6kB  lib/connection_manager.d.ts
    npm notice 7.0kB  lib/connection_manager.js
    npm notice 5.9kB  lib/connection_manager.js.map
    npm notice 861B   lib/connection.d.ts
    npm notice 3.5kB  lib/connection.js
    npm notice 3.1kB  lib/connection.js.map
    npm notice 497B   lib/converter.d.ts
    npm notice 480B   lib/converter.js
    npm notice 629B   lib/converter.js.map
    npm notice 134B   lib/extractors/defaults.d.ts
    npm notice 4.0kB  lib/extractors/defaults.js
    npm notice 2.7kB  lib/extractors/defaults.js.map
    npm notice 11B    lib/extractors/defaults.spec.d.ts
    npm notice 3.8kB  lib/extractors/defaults.spec.js
    npm notice 3.6kB  lib/extractors/defaults.spec.js.map
    npm notice 2.3kB  lib/extractors/regexp.d.ts
    npm notice 3.0kB  lib/extractors/regexp.js
    npm notice 2.4kB  lib/extractors/regexp.js.map
    npm notice 11B    lib/extractors/regexp.spec.d.ts
    npm notice 7.6kB  lib/extractors/regexp.spec.js
    npm notice 7.0kB  lib/extractors/regexp.spec.js.map
    npm notice 2.1kB  lib/extractors/types.d.ts
    npm notice 33B    lib/extractors/types.js
    npm notice 116B   lib/extractors/types.js.map
    npm notice 257B   lib/index.d.ts
    npm notice 7.4kB  lib/index.js
    npm notice 5.1kB  lib/index.js.map
    npm notice 1.7kB  lib/lsp.d.ts
    npm notice 2.8kB  lib/lsp.js
    npm notice 1.8kB  lib/lsp.js.map
    npm notice 2.0kB  lib/magics/.ipynb_checkpoints/defaults-checkpoint.js
    npm notice 581B   lib/magics/defaults.d.ts
    npm notice 5.1kB  lib/magics/defaults.js
    npm notice 3.2kB  lib/magics/defaults.js.map
    npm notice 11B    lib/magics/defaults.spec.d.ts
    npm notice 4.2kB  lib/magics/defaults.spec.js
    npm notice 3.4kB  lib/magics/defaults.spec.js.map
    npm notice 1.1kB  lib/magics/maps.d.ts
    npm notice 1.7kB  lib/magics/maps.js
    npm notice 1.8kB  lib/magics/maps.js.map
    npm notice 532B   lib/magics/overrides.d.ts
    npm notice 37B    lib/magics/overrides.js
    npm notice 120B   lib/magics/overrides.js.map
    npm notice 707B   lib/magics/rpy2.d.ts
    npm notice 2.7kB  lib/magics/rpy2.js
    npm notice 2.9kB  lib/magics/rpy2.js.map
    npm notice 11B    lib/magics/rpy2.spec.d.ts
    npm notice 3.9kB  lib/magics/rpy2.spec.js
    npm notice 3.4kB  lib/magics/rpy2.spec.js.map
    npm notice 856B   lib/positioning.d.ts
    npm notice 1.1kB  lib/positioning.js
    npm notice 1.1kB  lib/positioning.js.map
    npm notice 11B    lib/positioning.spec.d.ts
    npm notice 2.8kB  lib/positioning.spec.js
    npm notice 3.8kB  lib/positioning.spec.js.map
    npm notice 1.3kB  lib/utils.d.ts
    npm notice 3.4kB  lib/utils.js
    npm notice 2.8kB  lib/utils.js.map
    npm notice 734B   lib/virtual/console.d.ts
    npm notice 1.4kB  lib/virtual/console.js
    npm notice 1.7kB  lib/virtual/console.js.map
    npm notice 7.4kB  lib/virtual/document.d.ts
    npm notice 19.1kB lib/virtual/document.js
    npm notice 14.0kB lib/virtual/document.js.map
    npm notice 11B    lib/virtual/document.spec.d.ts
    npm notice 5.2kB  lib/virtual/document.spec.js
    npm notice 5.3kB  lib/virtual/document.spec.js.map
    npm notice 4.3kB  lib/virtual/editor.d.ts
    npm notice 5.8kB  lib/virtual/editor.js
    npm notice 3.8kB  lib/virtual/editor.js.map
    npm notice 11B    lib/virtual/editor.spec.d.ts
    npm notice 5.2kB  lib/virtual/editor.spec.js
    npm notice 4.6kB  lib/virtual/editor.spec.js.map
    npm notice 946B   lib/virtual/editors/file_editor.d.ts
    npm notice 1.7kB  lib/virtual/editors/file_editor.js
    npm notice 1.4kB  lib/virtual/editors/file_editor.js.map
    npm notice 3.6kB  lib/virtual/editors/notebook.d.ts
    npm notice 8.8kB  lib/virtual/editors/notebook.js
    npm notice 7.7kB  lib/virtual/editors/notebook.js.map
    npm notice 678B   schema/plugin.json
    npm notice 1.1kB  style/.ipynb_checkpoints/index-checkpoint.css
    npm notice 423B   style/console.css
    npm notice 1.7kB  style/diagnostics_listing.css
    npm notice 1.1kB  style/index.css
    npm notice 1.9kB  style/statusbar.css
    npm notice === Tarball Details ===
    npm notice name:          @krassowski/jupyterlab-lsp
    npm notice version:       0.7.1
    npm notice filename:      krassowski-jupyterlab-lsp-0.7.1.tgz
    npm notice package size:  125.7 kB
    npm notice unpacked size: 568.8 kB
    npm notice shasum:        9a5f30d85463817611c5eac2566ad4e2a06fd2fe
    npm notice integrity:     sha512-Ppm0FjZ0AUkOD[...]gb574Kcreg5jg==
    npm notice total files:   163
    npm notice
    krassowski-jupyterlab-lsp-0.7.1.tgz

[D 15:07:59.222 LabApp] activity on 1325f026-5bff-4234-895e-21f9462419c8: status (busy)
[D 15:07:59.223 LabApp] activity on 1325f026-5bff-4234-895e-21f9462419c8: status (idle)
[D 15:07:59.224 LabApp] Received kernel info: {'status': 'ok', 'protocol_version': '5.3', 'implementation': 'ipython', 'implementation_version': '7.13.0', 'language_info': {'name': 'python', 'version': '3.7.6', 'mimetype': 'text/x-python', 'codemirror_mode': {'name': 'ipython', 'version': 3}, 'pygments_lexer': 'ipython3', 'nbconvert_exporter': 'python', 'file_extension': '.py'}, 'banner': "Python 3.7.6 (default, Feb 28 2020, 14:36:58) \nType 'copyright', 'credits' or 'license' for more information\nIPython 7.13.0 -- An enhanced Interactive Python. Type '?' for help.\n", 'help_links': [{'text': 'Python Reference', 'url': 'https://docs.python.org/3.7'}, {'text': 'IPython Reference', 'url': 'https://ipython.org/documentation.html'}, {'text': 'NumPy Reference', 'url': 'https://docs.scipy.org/doc/numpy/reference/'}, {'text': 'SciPy Reference', 'url': 'https://docs.scipy.org/doc/scipy/reference/'}, {'text': 'Matplotlib Reference', 'url': 'https://matplotlib.org/contents.html'}, {'text': 'SymPy Reference', 'url': 'http://docs.sympy.org/latest/index.html'}, {'text': 'pandas Reference', 'url': 'https://pandas.pydata.org/pandas-docs/stable/'}]}
[D 15:07:59.225 LabApp] 101 GET /api/kernels/1325f026-5bff-4234-895e-21f9462419c8/channels?session_id=bf6b33df-7dd6-4a18-bac5-7928b9f121ba&token=17ccd3bd74fe5339cc72ad257dc98625849601f0e6c57816 (::1) 588.85ms
[D 15:07:59.225 LabApp] Opening websocket /api/kernels/1325f026-5bff-4234-895e-21f9462419c8/channels
[D 15:07:59.226 LabApp] Getting buffer for 1325f026-5bff-4234-895e-21f9462419c8
[D 15:07:59.226 LabApp] Connecting to: tcp://127.0.0.1:59040
[D 15:07:59.226 LabApp] Connecting to: tcp://127.0.0.1:59044
[D 15:07:59.226 LabApp] Connecting to: tcp://127.0.0.1:59041
[D 15:07:59.227 LabApp] Connecting to: tcp://127.0.0.1:59042
[D 15:07:59.228 LabApp] 101 GET /api/kernels/1325f026-5bff-4234-895e-21f9462419c8/channels?session_id=9a66cc3e-b476-4ea4-b17d-0d3904c5707c&token=17ccd3bd74fe5339cc72ad257dc98625849601f0e6c57816 (::1) 588.13ms
[D 15:07:59.229 LabApp] Opening websocket /api/kernels/1325f026-5bff-4234-895e-21f9462419c8/channels
[D 15:07:59.229 LabApp] Getting buffer for 1325f026-5bff-4234-895e-21f9462419c8
[D 15:07:59.229 LabApp] Connecting to: tcp://127.0.0.1:59040
[D 15:07:59.229 LabApp] Connecting to: tcp://127.0.0.1:59044
[D 15:07:59.230 LabApp] Connecting to: tcp://127.0.0.1:59041
[D 15:07:59.230 LabApp] Connecting to: tcp://127.0.0.1:59042
[D 15:07:59.233 LabApp] activity on 1325f026-5bff-4234-895e-21f9462419c8: status (busy)
[D 15:07:59.235 LabApp] activity on 1325f026-5bff-4234-895e-21f9462419c8: status (idle)
[D 15:07:59.239 LabApp] activity on 1325f026-5bff-4234-895e-21f9462419c8: status (busy)
[D 15:07:59.241 LabApp] activity on 1325f026-5bff-4234-895e-21f9462419c8: status (idle)
[D 15:07:59.243 LabApp] Websocket closed 1325f026-5bff-4234-895e-21f9462419c8:9a66cc3e-b476-4ea4-b17d-0d3904c5707c
[D 15:07:59.250 LabApp] 200 GET /lab/api/extensions?1583363277847 (::1) 1108.89ms
[D 15:07:59.250 LabApp] 200 GET /lab/api/extensions?1583363277871 (::1) 1036.10ms
[D 15:07:59.276 LabApp] Accepting token-authenticated connection from ::1
[D 15:07:59.277 LabApp] 200 GET /api/sessions?1583363279273 (::1) 1.44ms
[D 15:08:01.173 LabApp] Accepting token-authenticated connection from ::1
[D 15:08:01.179 LabApp] 200 GET /metrics?1583363281170 (::1) 6.40ms
[D 15:08:02.088 LabApp] 200 GET /api/terminals?1583363282084 (::1) 0.96ms
[D 15:08:02.109 LabApp] 200 GET /api/sessions?1583363282105 (::1) 1.04ms
[D 15:08:02.113 LabApp] 200 GET /api/contents/Documents/test?content=1&1583363282107 (::1) 3.90ms
[D 15:08:04.015 LabApp] 200 GET /metrics?1583363284008 (::1) 5.02ms
Browser Output
[Log] Starting application in workspace: "/lab" (vendors~main.0cbe50b1d4a5f6fcf6cc.js, line 1)
[Log] Starting WebSocket: – "ws://localhost:8888/api/kernels/1325f026-5bff-4234-895e-21f9462419c8" (vendors~main.0cbe50b1d4a5f6fcf6cc.js, line 1)
[Log] Starting WebSocket: – "ws://localhost:8888/api/kernels/1325f026-5bff-4234-895e-21f9462419c8" (vendors~main.0cbe50b1d4a5f6fcf6cc.js, line 1)
[Log] Kernel: connected (1325f026-5bff-4234-895e-21f9462419c8) (vendors~main.0cbe50b1d4a5f6fcf6cc.js, line 1, x2)
[Log] Starting WebSocket: – "ws://localhost:8888/api/kernels/4b839414-4d36-4c87-a8b4-a30a4801d71f" (vendors~main.0cbe50b1d4a5f6fcf6cc.js, line 1)
[Log] Starting WebSocket: – "ws://localhost:8888/api/kernels/4b839414-4d36-4c87-a8b4-a30a4801d71f" (vendors~main.0cbe50b1d4a5f6fcf6cc.js, line 1)
[Log] Starting WebSocket: – "ws://localhost:8888/api/kernels/4b839414-4d36-4c87-a8b4-a30a4801d71f" (vendors~main.0cbe50b1d4a5f6fcf6cc.js, line 1)
[Log] Kernel: connected (4b839414-4d36-4c87-a8b4-a30a4801d71f) (vendors~main.0cbe50b1d4a5f6fcf6cc.js, line 1, x3)
krassowski commented 4 years ago

Thank you @edzkite for the detailed info.

but after checking out JupyterLab [from source]

Not sure what you mean here. When using a dev build of JL, the extensions will not generally work, but your screenshot does not look like a dev build.

Is the jupyterlab-lsp extension enabled? You could check that from the JL interface if you enable the extension manager. If it was enabled, I would expect anything LSP logs in the Browser Output, but I see none...

edzkite commented 4 years ago
lsp

It should be enabled. Interesting why there's no output in the logs.

Not sure what you mean here. When using a dev build of JL, the extensions will not generally work, but your screenshot does not look like a dev build.

Apologies for the confusion. Initially, I installed JL + the LSP extension, and things worked great. I then checked out both from source, which resulted in things not working (which I guess is expected). Now, I'm back using the production version of both, but things are still broken, even after reinstalling the production versions and removing the source code from my machine.

Could there be a stale configuration file or linked npm package at play here?

sunyongke commented 4 years ago

I reconfigured many times as the tutorial, but I can't find the LSP icon in the status bar.

the debug information as follows:

``` (py36) [syk@gtx1070 ~]$ jupyter-lab --debug [D 10:47:01.817 LabApp] Searching ['/home/syk', '/home/syk/.jupyter', '/home/syk/miniconda3/envs/py36/etc/jupyter', '/usr/loca$ /etc/jupyter', '/etc/jupyter'] for config files [D 10:47:01.818 LabApp] Looking for jupyter_config in /etc/jupyter [D 10:47:01.818 LabApp] Looking for jupyter_config in /usr/local/etc/jupyter [D 10:47:01.819 LabApp] Looking for jupyter_config in /home/syk/miniconda3/envs/py36/etc/jupyter [D 10:47:01.819 LabApp] Looking for jupyter_config in /home/syk/.jupyter [D 10:47:01.819 LabApp] Looking for jupyter_config in /home/syk [D 10:47:01.820 LabApp] Looking for jupyter_notebook_config in /etc/jupyter [D 10:47:01.821 LabApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter [D 10:47:01.821 LabApp] Looking for jupyter_notebook_config in /home/syk/miniconda3/envs/py36/etc/jupyter [D 10:47:01.821 LabApp] Loaded config file: /home/syk/miniconda3/envs/py36/etc/jupyter/jupyter_notebook_config.json [D 10:47:01.822 LabApp] Looking for jupyter_notebook_config in /home/syk/.jupyter [D 10:47:01.822 LabApp] Loaded config file: /home/syk/.jupyter/jupyter_notebook_config.py [D 10:47:01.823 LabApp] Loaded config file: /home/syk/.jupyter/jupyter_notebook_config.json [D 10:47:01.823 LabApp] Looking for jupyter_notebook_config in /home/syk [D 10:47:01.826 LabApp] Raising open file limit: soft 1024->4096; hard 4096->4096 [D 10:47:01.834 LabApp] Paths used for configuration of jupyter_notebook_config: /etc/jupyter/jupyter_notebook_config.json [D 10:47:01.835 LabApp] Paths used for configuration of jupyter_notebook_config: /usr/local/etc/jupyter/jupyter_notebook_config.json [D 10:47:01.835 LabApp] Paths used for configuration of jupyter_notebook_config: /home/syk/miniconda3/envs/py36/etc/jupyter/jupyter_notebook_config.d/jupyter-lsp-serverextension.json /home/syk/miniconda3/envs/py36/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json /home/syk/miniconda3/envs/py36/etc/jupyter/jupyter_notebook_config.json [D 10:47:01.837 LabApp] Paths used for configuration of jupyter_notebook_config: /home/syk/.jupyter/jupyter_notebook_config.json [D 10:47:02.407 LabApp] Checking for /home/syk/node_modules/bash-language-server/bin/main.js [D 10:47:02.408 LabApp] Checking for /home/syk/miniconda3/envs/py36/share/jupyter/lab/staging/node_modules/bash-language-server/bin/main.js [D 10:47:02.408 LabApp] Checking for /home/syk/miniconda3/envs/py36/lib/node_modules/bash-language-server/bin/main.js [D 10:47:02.408 LabApp] Checking for /home/syk/miniconda3/envs/py36/node_modules/bash-language-server/bin/main.js [W 10:47:02.408 LabApp] Failed to fetch commands from language server spec finder`bash-language-server`: expected str, bytes or os.PathLike object, not tuple [D 10:47:02.412 LabApp] Checking for /home/syk/node_modules/dockerfile-language-server-nodejs/lib/server.js [D 10:47:02.412 LabApp] Checking for /home/syk/miniconda3/envs/py36/share/jupyter/lab/staging/node_modules/dockerfile-language- server-nodejs/lib/server.js [D 10:47:02.412 LabApp] Checking for /home/syk/miniconda3/envs/py36/lib/node_modules/dockerfile-language-server-nodejs/lib/serv er.js [D 10:47:02.412 LabApp] Checking for /home/syk/miniconda3/envs/py36/node_modules/dockerfile-language-server-nodejs/lib/server.j s [W 10:47:02.412 LabApp] Failed to fetch commands from language server spec finder`dockerfile-language-server-nodejs`: expected str, bytes or os.PathLike object, not tuple [D 10:47:02.416 LabApp] Checking for /home/syk/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js [D 10:47:02.416 LabApp] Checking for /home/syk/miniconda3/envs/py36/share/jupyter/lab/staging/node_modules/javascript-typescrip t-langserver/lib/language-server-stdio.js [D 10:47:02.416 LabApp] Checking for /home/syk/miniconda3/envs/py36/lib/node_modules/javascript-typescript-langserver/lib/langu age-server-stdio.js [D 10:47:02.416 LabApp] Checking for /home/syk/miniconda3/envs/py36/node_modules/javascript-typescript-langserver/lib/language- server-stdio.js [W 10:47:02.416 LabApp] Failed to fetch commands from language server spec finder`javascript-typescript-langserver`: expected str, bytes or os.PathLike object, not tuple [D 10:47:02.428 LabApp] Checking for /home/syk/node_modules/unified-language-server/src/server.js [D 10:47:02.429 LabApp] Checking for /home/syk/miniconda3/envs/py36/share/jupyter/lab/staging/node_modules/unified-language-ser ver/src/server.js [D 10:47:02.429 LabApp] Checking for /home/syk/miniconda3/envs/py36/lib/node_modules/unified-language-server/src/server.js [D 10:47:02.429 LabApp] Checking for /home/syk/miniconda3/envs/py36/node_modules/unified-language-server/src/server.js [W 10:47:02.429 LabApp] Failed to fetch commands from language server spec finder`unified-language-server`: expected str, bytes or os.PathLike object, not tuple [D 10:47:02.433 LabApp] Checking for /home/syk/node_modules/vscode-css-languageserver-bin/cssServerMain.js [D 10:47:02.433 LabApp] Checking for /home/syk/miniconda3/envs/py36/share/jupyter/lab/staging/node_modules/vscode-css-languages erver-bin/cssServerMain.js [D 10:47:02.433 LabApp] Checking for /home/syk/miniconda3/envs/py36/lib/node_modules/vscode-css-languageserver-bin/cssServerMai n.js [D 10:47:02.433 LabApp] Checking for /home/syk/miniconda3/envs/py36/node_modules/vscode-css-languageserver-bin/cssServerMain.j$ [W 10:47:02.433 LabApp] Failed to fetch commands from language server spec finder`vscode-css-languageserver-bin`: expected str, bytes or os.PathLike object, not tuple [D 10:47:02.437 LabApp] Checking for /home/syk/node_modules/vscode-html-languageserver-bin/htmlServerMain.js [D 10:47:02.437 LabApp] Checking for /home/syk/miniconda3/envs/py36/share/jupyter/lab/staging/node_modules/vscode-html-language server-bin/htmlServerMain.js [D 10:47:02.437 LabApp] Checking for /home/syk/miniconda3/envs/py36/lib/node_modules/vscode-html-languageserver-bin/htmlServerM ain.js [D 10:47:02.437 LabApp] Checking for /home/syk/miniconda3/envs/py36/node_modules/vscode-html-languageserver-bin/htmlServerMain. js [W 10:47:02.437 LabApp] Failed to fetch commands from language server spec finder`vscode-html-languageserver-bin`: expected str, bytes or os.PathLike object, not tuple [D 10:47:02.441 LabApp] Checking for /home/syk/node_modules/vscode-json-languageserver-bin/jsonServerMain.js [D 10:47:02.441 LabApp] Checking for /home/syk/miniconda3/envs/py36/share/jupyter/lab/staging/node_modules/vscode-json-language server-bin/jsonServerMain.js [D 10:47:02.441 LabApp] Checking for /home/syk/miniconda3/envs/py36/lib/node_modules/vscode-json-languageserver-bin/jsonServerM ain.js [D 10:47:02.441 LabApp] Checking for /home/syk/miniconda3/envs/py36/node_modules/vscode-json-languageserver-bin/jsonServerMain. js [W 10:47:02.441 LabApp] Failed to fetch commands from language server spec finder`vscode-json-languageserver-bin`: expected str, bytes or os.PathLike object, not tuple [D 10:47:02.445 LabApp] Checking for /home/syk/node_modules/yaml-language-server/bin/yaml-language-server [D 10:47:02.445 LabApp] Checking for /home/syk/miniconda3/envs/py36/share/jupyter/lab/staging/node_modules/yaml-language-server /bin/yaml-language-server [D 10:47:02.445 LabApp] Checking for /home/syk/miniconda3/envs/py36/lib/node_modules/yaml-language-server/bin/yaml-language-ser ver [D 10:47:02.445 LabApp] Checking for /home/syk/miniconda3/envs/py36/node_modules/yaml-language-server/bin/yaml-language-server [W 10:47:02.445 LabApp] Failed to fetch commands from language server spec finder`yaml-language-server`: expected str, bytes or os.PathLike object, not tuple [D 10:47:02.449 LabApp] [lsp] rootUri will be file:///home/syk/jupyter [D 10:47:02.449 LabApp] [lsp] virtualDocumentsUri will be file:///home/syk/jupyter/.virtual_documents [D 10:47:02.450 LabApp] [lsp] The following Language Servers will be available: { "pyls": { "argv": [ "/home/syk/miniconda3/bin/pyls" ], "config_schema": { "properties": { "pyls.configurationSources": { "default": [ "pycodestyle" ], "description": "List of configuration sources to use.", "items": { "enum": [ "pycodestyle", "pyflakes" ], "type": "string" }, "type": "array", "uniqueItems": true }, "pyls.executable": { "default": "pyls", "description": "Language server executable", "type": "string" }, "pyls.plugins.jedi_completion.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pyls.plugins.jedi_completion.include_params": { "default": true, "description": "Auto-completes methods and classes with tabstops for each parameter.", "type": "boolean" }, "pyls.plugins.jedi_definition.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pyls.plugins.jedi_definition.follow_builtin_imports": { "default": true, "description": "If follow_imports is True will decide if it follow builtin imports.", "type": "boolean" }, "pyls.plugins.jedi_definition.follow_imports": { "default": true, "description": "The goto call will follow imports.", "type": "boolean" }, "pyls.plugins.jedi_hover.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pyls.plugins.jedi_references.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pyls.plugins.jedi_signature_help.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pyls.plugins.jedi_symbols.all_scopes": { "default": true, "description": "If True lists the names of all scopes instead of only the module namespace.", "type": "boolean" }, "pyls.plugins.jedi_symbols.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pyls.plugins.mccabe.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pyls.plugins.mccabe.threshold": { "default": 15, "description": "The minimum threshold that triggers warnings about cyclomatic complexity.", "type": "number" }, "pyls.plugins.preload.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pyls.plugins.preload.modules": { "default": null, "description": "List of modules to import on startup", "items": { "type": "string" }, "type": "array", "uniqueItems": true }, "pyls.plugins.pycodestyle.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pyls.plugins.pycodestyle.exclude": { "default": null, "description": "Exclude files or directories which match these patterns.", "items": { "type": "string" }, "type": "array", "uniqueItems": true }, "pyls.plugins.pycodestyle.filename": { "default": null, "description": "When parsing directories, only check filenames matching these patterns.", "items": { "type": "string" }, "type": "array", "uniqueItems": true }, "pyls.plugins.pycodestyle.hangClosing": { "default": null, "description": "Hang closing bracket instead of matching indentation of opening bracket's line.", "type": "boolean" }, "pyls.plugins.pycodestyle.ignore": { "default": null, "description": "Ignore errors and warnings", "items": { "type": "string" }, "type": "array", "uniqueItems": true }, "pyls.plugins.pycodestyle.maxLineLength": { "default": null, "description": "Set maximum allowed line length.", "type": "number" }, "pyls.plugins.pycodestyle.select": { "default": null, "description": "Select errors and warnings", "items": { "type": "string" }, "type": "array", "uniqueItems": true }, "pyls.plugins.pydocstyle.addIgnore": { "default": null, "description": "Ignore errors and warnings in addition to the specified convention.", "items": { "type": "string" }, "type": "array", "uniqueItems": true }, "pyls.plugins.pydocstyle.addSelect": { "default": null, "description": "Select errors and warnings in addition to the specified convention.", "items": { "type": "string" }, "type": "array", "uniqueItems": true }, Last login: Thu Mar 5 11:17:18 on console Yongke@~%>sshcs2 [server exited] Connection to 202.203.132.240 closed by remote host. Connection to 202.203.132.240 closed. Yongke@~%>sshgpu no sessions "type": "string" [126/1845] }, "pyls.plugins.pydocstyle.enabled": { "default": false, "description": "Enable or disable the plugin.", "type": "boolean" }, "pyls.plugins.pydocstyle.ignore": { "default": null, "description": "Ignore errors and warnings", "items": { "type": "string" }, "type": "array", "uniqueItems": true }, "pyls.plugins.pydocstyle.match": { "default": "(?!test_).*\\.py", "description": "Check only files that exactly match the given regular expression; default is to match files that don't start with 'test_' but end with '.py'.", "type": "string" }, "pyls.plugins.pydocstyle.matchDir": { "default": "[^\\.].*", "description": "Search only dirs that exactly match the given regular expression; default is to match dirs which do not begin with a dot.", "type": "string" }, "pyls.plugins.pydocstyle.select": { "default": null, "description": "Select errors and warnings", "items": { "type": "string" }, "type": "array", "uniqueItems": true }, "pyls.plugins.pyflakes.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pyls.plugins.pylint.args": { "default": null, "description": "Arguments to pass to pylint.", "items": { "type": "string" }, "type": "array", "uniqueItems": false }, "pyls.plugins.pylint.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pyls.plugins.rope_completion.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pyls.plugins.yapf.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pyls.rope.extensionModules": { "default": null, "description": "Builtin and c-extension modules that are allowed to be imported and inspected by rope.", "type": "string" }, "pyls.rope.ropeFolder": { "default": null, "description": "The name of the folder in which rope stores project configurations and data. Pass `null` for not using such a folder at all.", "items": { "type": "string" }, "type": "array", "uniqueItems": true } }, "title": "Python Language Server Configuration", "type": "object" }, "display_name": "pyls", "env": { "PYTHONUNBUFFERED": "1" }, "extend": [ { "display_name": "pyls-mypy", "install": { "pip": "pip install pyls-mypy" } }, { "display_name": "pyls-black", "install": { "pip": "pip install pyls-black" } }, { "display_name": "pyls-isort", "install": { "pip": "pip install pyls-isort" } "install": { "conda": "conda install -c conda-forge python-language-server", "pip": "pip install python-language-server[all]" }, "languages": [ "python" ], "mime_types": [ "text/python", "text/x-ipython" ], "urls": { "home": "https://github.com/palantir/python-language-server", "issues": "https://github.com/palantir/python-language-server/issues" }, "version": 1 } } [I 10:47:02.762 LabApp] JupyterLab extension loaded from /home/syk/miniconda3/envs/py36/lib/python3.6/site-packages/jupyterlab [I 10:47:02.762 LabApp] JupyterLab application directory is /home/syk/miniconda3/envs/py36/share/jupyter/lab [D 10:47:03.015 LabApp] Yarn configuration loaded. ```
sunyongke commented 4 years ago

@Trid-collab I install step as tutorial https://github.com/krassowski/jupyterlab-lsp#installation

krassowski commented 4 years ago

@Trid-collab does the part of the statusbar which was not captured say "Fully initialized" or "Connecting"?. #214

I think that this might be an issue with a new version of pyls.

  1. Could you please share pip freeze | grep python-language and pip freeze | pyls results?
  2. Could you try to update to 0.8.0 and see if it works for you? See https://github.com/krassowski/jupyterlab-lsp/releases/tag/v0.8.0
krassowski commented 4 years ago

Also, pinning ujson <= 1.35 might help.

sponde25 commented 4 years ago

Sorry to jump in this thread, but I am having a similar issue. I don't even get any indicator of LSP in the status bar. I have no idea how to go around diagnosing the issue.

krassowski commented 4 years ago

@sponde25 no problem you are welcome to add to this discussion. Could you run jupyter troubleshoot and jupyter labextension list and provide the output from both commands? I should be able to recommend a potential solution then.

sponde25 commented 4 years ago
The output for `jupyter troubleshoot` :

$PATH: /usr/local/cuda/bin /scratch/work/jaina7/pyg/bin /usr/local/cuda/bin /share/apps/spack/envs/fgci-centos7-generic/software/cuda/10.1.243/2nsoz6c/bin /share/apps/spack/software/gcc/6.3.0/plcm4nt/bin /share/apps2/anaconda/anaconda3/latest/bin /share/apps2/anaconda/anaconda3/latest/condabin /usr/lib/qt-3.3/bin /usr/lib64/ccache /usr/local/bin /usr/bin /usr/local/sbin /usr/sbin /home/jaina7/.local/bin /home/jaina7/bin /home/jaina7/.local/bin /home/jaina7/bin sys.path: /scratch/work/jaina7/pyg/bin /scratch/work/jaina7/pyg/lib/python38.zip /scratch/work/jaina7/pyg/lib/python3.8 /scratch/work/jaina7/pyg/lib/python3.8/lib-dynload /scratch/work/jaina7/pyg/lib/python3.8/site-packages sys.executable: /scratch/work/jaina7/pyg/bin/python sys.version: 3.8.1 (default, Jan 8 2020, 22:29:32) [GCC 7.3.0] platform.platform(): Linux-3.10.0-1062.12.1.el7.x86_64-x86_64-with-glibc2.10 which -a jupyter: /scratch/work/jaina7/pyg/bin/jupyter /share/apps2/anaconda/anaconda3/latest/bin/jupyter pip list: Package Version --------------------------------- ------------------- absl-py 0.9.0 appdirs 1.4.3 asn1crypto 1.3.0 astroid 2.3.3 attrs 19.3.0 autopep8 1.5 backcall 0.1.0 bleach 3.1.0 cachetools 4.0.0 certifi 2019.11.28 cffi 1.14.0 chardet 3.0.4 cryptography 2.8 cycler 0.10.0 decorator 4.4.1 defusedxml 0.6.0 entrypoints 0.3 flake8 3.7.9 future 0.18.2 google-auth 1.11.2 google-auth-oauthlib 0.4.1 googledrivedownloader 0.4 grpcio 1.27.2 h5py 2.10.0 idna 2.8 imageio 2.6.1 importlib-metadata 1.5.0 ipykernel 5.1.4 ipython 7.12.0 ipython-genutils 0.2.0 ipywidgets 7.5.1 isodate 0.6.0 isort 4.3.21 jedi 0.15.2 Jinja2 2.11.1 joblib 0.14.1 json5 0.9.1 jsonschema 3.2.0 jupyter-client 5.3.4 jupyter-contrib-core 0.3.3 jupyter-contrib-nbextensions 0.5.1 jupyter-core 4.6.1 jupyter-highlight-selected-word 0.2.0 jupyter-latex-envs 1.4.6 jupyter-lsp 0.8.0 jupyter-nbextensions-configurator 0.4.1 jupyterlab 2.0.1 jupyterlab-server 1.0.6 kiwisolver 1.1.0 lazy-object-proxy 1.4.3 llvmlite 0.31.0 loss-landscapes 3.0.6 lxml 4.5.0 Mako 1.1.1 Markdown 3.2.1 MarkupSafe 1.1.1 matplotlib 3.1.3 mccabe 0.6.1 mistune 0.8.4 mkl-service 2.3.0 nbconvert 5.6.1 nbformat 5.0.4 networkx 2.4 notebook 6.0.3 numba 0.48.0 numpy 1.18.1 oauthlib 3.1.0 olefile 0.46 pandas 1.0.1 pandocfilters 1.4.2 parso 0.5.2 pexpect 4.8.0 pickleshare 0.7.5 Pillow 7.0.0 pip 20.0.2 plotly 3.10.0 pluggy 0.13.1 plyfile 0.7.1 prometheus-client 0.7.1 prompt-toolkit 3.0.3 protobuf 3.11.3 ptvsd 4.3.2 ptyprocess 0.6.0 pyasn1 0.4.8 pyasn1-modules 0.2.8 pycairo 1.19.0 pycodestyle 2.5.0 pycparser 2.19 pydocstyle 5.0.2 pyflakes 2.1.1 Pygments 2.5.2 pylint 2.4.4 pyls 0.1.6 pyOpenSSL 19.1.0 pyparsing 2.4.6 pyrsistent 0.15.7 PySocks 1.7.1 python-dateutil 2.8.1 python-jsonrpc-server 0.3.4 python-language-server 0.31.7 pytools 2020.1 pytz 2019.3 PyWavelets 1.1.1 PyYAML 5.3 pyzmq 18.1.1 rdflib 4.2.2 requests 2.22.0 requests-oauthlib 1.3.0 retrying 1.3.3 rope 0.16.0 rsa 4.0 scikit-image 0.16.2 scikit-learn 0.22.1 scipy 1.4.1 seaborn 0.10.0 Send2Trash 1.5.0 setuptools 45.2.0.post20200210 six 1.14.0 snowballstemmer 2.0.0 tensorboard 2.1.1 terminado 0.8.3 testpath 0.4.4 torch 1.4.0 torch-cluster 1.4.5 torch-geometric 1.4.1 torch-scatter 2.0.3 torch-sparse 0.4.4 torchvision 0.5.0 tornado 6.0.3 tqdm 4.42.1 traitlets 4.3.3 tsnecuda 2.1.0 ujson 1.35 urllib3 1.25.8 wcwidth 0.1.8 webencodings 0.5.1 Werkzeug 1.0.0 wheel 0.34.2 widgetsnbextension 3.5.1 wrapt 1.11.2 yapf 0.29.0 zipp 2.2.0 conda list: # packages in environment at /scratch/work/jaina7/pyg: # # Name Version Build Channel _libgcc_mutex 0.1 main absl-py 0.9.0 pypi_0 pypi appdirs 1.4.3 pypi_0 pypi asn1crypto 1.3.0 py38_0 astroid 2.3.3 py38_1 conda-forge attrs 19.3.0 py_0 autopep8 1.5 py_0 conda-forge backcall 0.1.0 py38_0 blas 1.0 openblas bleach 3.1.0 py_0 boost 1.70.0 py38h9de70de_1 conda-forge boost-cpp 1.70.0 h8e57a91_2 conda-forge bzip2 1.0.8 h7b6447c_0 ca-certificates 2019.11.28 hecc5488_0 conda-forge cachetools 4.0.0 pypi_0 pypi cairo 1.16.0 hfb77d84_1002 conda-forge certifi 2019.11.28 py38h32f6830_1 conda-forge cffi 1.14.0 py38h2e261b9_0 chardet 3.0.4 py38_1003 cryptography 2.8 py38h1ba5d50_0 cuda101 1.0 h589bae5_0 cannylab cudatoolkit 10.1.243 h6bb024c_0 cycler 0.10.0 pypi_0 pypi decorator 4.4.1 py_0 defusedxml 0.6.0 py_0 entrypoints 0.3 py38_0 flake8 3.7.9 py38_0 conda-forge fontconfig 2.13.1 h86ecdb6_1001 conda-forge freetype 2.9.1 h8a8886c_1 future 0.18.2 py38h32f6830_1 conda-forge glib 2.63.1 h5a9c865_0 gmp 6.1.2 h6c8ec71_1 google-auth 1.11.2 pypi_0 pypi google-auth-oauthlib 0.4.1 pypi_0 pypi googledrivedownloader 0.4 pypi_0 pypi grpcio 1.27.2 pypi_0 pypi h5py 2.10.0 pypi_0 pypi icu 64.2 he1b5a44_1 conda-forge idna 2.8 py38_1000 imageio 2.6.1 pypi_0 pypi importlib_metadata 1.5.0 py38_0 intel-openmp 2020.0 166 ipykernel 5.1.4 py38h39e3cac_0 ipython 7.12.0 py38h5ca1d4c_0 ipython_genutils 0.2.0 py38_0 ipywidgets 7.5.1 pypi_0 pypi isodate 0.6.0 pypi_0 pypi isort 4.3.21 py38h32f6830_1 conda-forge jedi 0.15.2 py38_0 conda-forge jinja2 2.11.1 py_0 joblib 0.14.1 pypi_0 pypi jpeg 9b h024ee3a_2 json5 0.9.1 py_0 jsonschema 3.2.0 py38_0 jupyter-contrib-core 0.3.3 pypi_0 pypi jupyter-latex-envs 1.4.6 pypi_0 pypi jupyter-lsp 0.8.0 pypi_0 pypi jupyter_client 5.3.4 py38_0 jupyter_contrib_core 0.3.3 py_2 conda-forge jupyter_contrib_nbextensions 0.5.1 py38_0 conda-forge jupyter_core 4.6.1 py38_0 jupyter_highlight_selected_word 0.2.0 py38_1000 conda-forge jupyter_latex_envs 1.4.4 py38_1000 conda-forge jupyter_nbextensions_configurator 0.4.1 py38_0 conda-forge jupyterlab 2.0.1 py_0 conda-forge jupyterlab_server 1.0.6 py_0 kiwisolver 1.1.0 pypi_0 pypi lazy-object-proxy 1.4.3 py38h516909a_1 conda-forge ld_impl_linux-64 2.33.1 h53a641e_7 libedit 3.1.20181209 hc058e9b_0 libffi 3.2.1 hd88cf55_4 libgcc-ng 9.1.0 hdf63c60_0 libgfortran-ng 7.3.0 hdf63c60_0 libopenblas 0.3.6 h5a2b251_2 libpng 1.6.37 hbc83047_0 libsodium 1.0.17 h516909a_0 conda-forge libstdcxx-ng 9.1.0 hdf63c60_0 libtiff 4.1.0 h2733197_0 libuuid 2.32.1 h14c3975_1000 conda-forge libuv 1.34.0 h516909a_0 conda-forge libxcb 1.13 h1bed415_1 libxml2 2.9.9 hea5a465_1 libxslt 1.1.33 h31b3aaa_0 conda-forge llvmlite 0.31.0 pypi_0 pypi loss-landscapes 3.0.6 pypi_0 pypi lxml 4.5.0 pypi_0 pypi mako 1.1.1 pypi_0 pypi markdown 3.2.1 pypi_0 pypi markupsafe 1.1.1 py38h7b6447c_0 matplotlib 3.1.3 pypi_0 pypi mccabe 0.6.1 py_1 conda-forge mistune 0.8.4 py38h7b6447c_1000 mkl 2020.0 166 mkl-service 2.3.0 py38he904b0f_0 nbconvert 5.6.1 py38_0 nbformat 5.0.4 py_0 ncurses 6.1 he6710b0_1 networkx 2.4 pypi_0 pypi ninja 1.9.0 py38hfd86e86_0 nodejs 13.9.0 hf5d1a2b_1 conda-forge nomkl 3.0 0 notebook 6.0.3 py38_0 conda-forge numba 0.48.0 pypi_0 pypi numpy 1.18.1 py38h94c655d_0 numpy-base 1.18.1 py38h2f8d375_1 oauthlib 3.1.0 pypi_0 pypi olefile 0.46 py_0 openblas 0.3.6 2 openblas-devel 0.3.6 2 openssl 1.1.1d h516909a_0 conda-forge pandas 1.0.1 py38h0573a6f_0 pandoc 2.2.3.2 0 pandocfilters 1.4.2 py38_1 parso 0.5.2 pypi_0 pypi pcre 8.43 he6710b0_0 pexpect 4.8.0 py38_0 pickleshare 0.7.5 py38_1000 pillow 7.0.0 py38hb39fc2d_0 pip 20.0.2 py38_1 pixman 0.38.0 h7b6447c_0 plotly 3.10.0 py_0 pluggy 0.13.1 py38_0 conda-forge plyfile 0.7.1 pypi_0 pypi prometheus_client 0.7.1 py_0 prompt_toolkit 3.0.3 py_0 protobuf 3.11.3 pypi_0 pypi ptvsd 4.3.2 py38h516909a_1 conda-forge ptyprocess 0.6.0 py38_0 pyasn1 0.4.8 pypi_0 pypi pyasn1-modules 0.2.8 pypi_0 pypi pycairo 1.19.0 py38h2a1e443_0 pycodestyle 2.5.0 py_0 conda-forge pycparser 2.19 py_0 pydocstyle 5.0.2 py_0 conda-forge pyflakes 2.1.1 py_0 conda-forge pygments 2.5.2 py_0 pylint 2.4.4 py38_0 conda-forge pyls 0.1.6 pypi_0 pypi pyopenssl 19.1.0 py38_0 pyparsing 2.4.6 pypi_0 pypi pyrsistent 0.15.7 py38h7b6447c_0 pysocks 1.7.1 py38_0 python 3.8.1 h0371630_1 python-dateutil 2.8.1 py_0 python-jsonrpc-server 0.3.4 py_0 conda-forge python-language-server 0.31.7 py38_0 conda-forge python_abi 3.8 1_cp38 conda-forge pytools 2020.1 pypi_0 pypi pytorch 1.4.0 py3.8_cuda10.1.243_cudnn7.6.3_0 pytorch pytz 2019.3 py_0 pywavelets 1.1.1 pypi_0 pypi pyyaml 5.3 pypi_0 pypi pyzmq 18.1.1 py38he6710b0_0 rdflib 4.2.2 pypi_0 pypi rdkit 2019.09.3 py38hb31dc5d_0 conda-forge readline 7.0 h7b6447c_5 requests 2.22.0 py38_1 requests-oauthlib 1.3.0 pypi_0 pypi retrying 1.3.3 py_2 rope 0.16.0 py_0 conda-forge rsa 4.0 pypi_0 pypi scikit-image 0.16.2 pypi_0 pypi scikit-learn 0.22.1 pypi_0 pypi scipy 1.4.1 pypi_0 pypi seaborn 0.10.0 pypi_0 pypi send2trash 1.5.0 py38_0 setuptools 45.2.0 py38_0 six 1.14.0 py38_0 snowballstemmer 2.0.0 py_0 conda-forge sqlite 3.31.1 h7b6447c_0 tensorboard 2.1.1 pypi_0 pypi terminado 0.8.3 py38_0 testpath 0.4.4 py_0 tk 8.6.8 hbc83047_0 torch-cluster 1.4.5 pypi_0 pypi torch-geometric 1.4.1 pypi_0 pypi torch-scatter 2.0.3 pypi_0 pypi torch-sparse 0.4.4 pypi_0 pypi torchvision 0.5.0 py38_cu101 pytorch tornado 6.0.3 py38h7b6447c_3 tqdm 4.42.1 py_0 traitlets 4.3.3 py38_0 tsnecuda 2.1.0 pypi_0 pypi ujson 1.35 pypi_0 pypi urllib3 1.25.8 py38_0 wcwidth 0.1.8 py_0 webencodings 0.5.1 py38_1 werkzeug 1.0.0 pypi_0 pypi wheel 0.34.2 py38_0 widgetsnbextension 3.5.1 pypi_0 pypi wrapt 1.11.2 pypi_0 pypi xeus 0.23.7 h4d8c418_0 conda-forge xeus-python 0.6.12 py38hc9558a2_1 conda-forge xorg-kbproto 1.0.7 h14c3975_1002 conda-forge xorg-libice 1.0.10 h516909a_0 conda-forge xorg-libsm 1.2.3 h84519dc_1000 conda-forge xorg-libx11 1.6.9 h516909a_0 conda-forge xorg-libxext 1.3.4 h516909a_0 conda-forge xorg-libxrender 0.9.10 h516909a_1002 conda-forge xorg-renderproto 0.11.1 h14c3975_1002 conda-forge xorg-xextproto 7.3.0 h14c3975_1002 conda-forge xorg-xproto 7.0.31 h14c3975_1007 conda-forge xz 5.2.4 h14c3975_4 yaml 0.2.2 h516909a_1 conda-forge yapf 0.29.0 py_0 conda-forge zeromq 4.3.2 he1b5a44_2 conda-forge zipp 2.2.0 py_0 zlib 1.2.11 h7b6447c_3 zstd 1.3.7 h0b5b093_0

Output for `jupyter labextension list`

JupyterLab v2.0.1 Known labextensions: app dir: /scratch/work/jaina7/pyg/share/jupyter/lab @krassowski/jupyterlab-lsp v1.0.0 enabled OK

krassowski commented 4 years ago

Thank you. Everything looks ok in there. I do not know where is the problem. Is there any message in the browser javascript console maybe?

sunyongke commented 4 years ago

@krassowski @krassowski I install the jupyterlab-lsp many times, but the output of the list still said it is uninstalled, even though, I uninstall the jupyterlab and reinstall it again.

please help me

output for jupyter labextension list JupyterLab v2.0.1 Known labextensions: app dir: /home/syk/miniconda3/envs/py36/share/jupyter/lab @jupyter-widgets/jupyterlab-manager v2.0.0 enabled OK @krassowski/jupyterlab-lsp v1.0.0 enabled OK @lckr/jupyterlab_variableinspector v0.4.0 enabled OK @ryantam626/jupyterlab_code_formatter v1.2.0 enabled OK

Uninstalled core extensions: @krassowski/jupyterlab-lsp @lckr/jupyterlab_variableinspector @ryantam626/jupyterlab_code_formatter jupyterlab_tensorboard

The output for jupyter troubleshoot :

$PATH:
/home/syk/miniconda3/bin
/home/syk/.pyenv/shims
/home/syk/.pyenv/bin
/usr/local/n/versions/node/13.5.0/bin
/home/syk/miniconda3/envs/py36/bin
/home/syk/miniconda3/condabin
/usr/local/bin
/usr/bin
/opt/dell/srvadmin/iSM/bin
/usr/local/sbin
/usr/sbin
/home/liuzhengwang/data/mongodb-linux-x86_64-rhel70-4.2.1/bin
/home/syk/.local/bin
/home/syk/bin

sys.path:
/home/syk/miniconda3/bin
/home/syk/miniconda3/lib/python38.zip
/home/syk/miniconda3/lib/python3.8
/home/syk/miniconda3/lib/python3.8/lib-dynload
/home/syk/miniconda3/lib/python3.8/site-packages

sys.executable:
/home/syk/miniconda3/bin/python
sys.version:
3.8.1 (default, Jan 8 2020, 22:29:32)
[GCC 7.3.0]

platform.platform(): Linux-3.10.0-862.11.6.el7.1.x86_64-x86_64-with-glibc2.10

which -a jupyter: /home/syk/miniconda3/bin/jupyter /home/syk/miniconda3/envs/py36/bin/jupyter

pip list: Package Version


    asn1crypto             1.3.0              
    attrs                  19.3.0             
    backcall               0.1.0              
    bleach                 3.1.1              
    certifi                2019.11.28         
    cffi                   1.13.2             
    chardet                3.0.4              
    conda                  4.8.2              
    conda-package-handling 1.6.0              
    cryptography           2.8                
    decorator              4.4.2              
    defusedxml             0.6.0              
    entrypoints            0.3                
    idna                   2.8                
    ipykernel              5.1.4              
    ipython                7.13.0             
    ipython-genutils       0.2.0              
    jedi                   0.15.2             
    Jinja2                 3.0.0a1
    jsonschema             3.2.0              
    jupyter-client         6.0.0              
    jupyter-core           4.6.3              
    jupyter-lsp            0.8.0              
    jupyterlab-pygments    0.1.0              
    MarkupSafe             1.1.1              
    mistune                0.8.4              
    nbconvert              6.0.0a0            
    nbformat               5.0.4              
    notebook               6.0.3              
    pandocfilters          1.4.2              
    parso                  0.5.2              
    pexpect                4.8.0              
    pickleshare            0.7.5              
    pip                    20.0.2             
    pluggy                 0.13.1             
    prometheus-client      0.7.1              
    prompt-toolkit         3.0.4              
    ptyprocess             0.6.0              
    pycosat                0.6.3              
    pycparser              2.19               
    Pygments               2.6.1              
    pyOpenSSL              19.1.0             
    pyrsistent             0.15.7             
    PySocks                1.7.1              
    python-dateutil        2.8.1              
    python-jsonrpc-server  0.3.4              
    python-language-server 0.31.8             
    pyzmq                  19.0.0             
    requests               2.22.0             
    ruamel-yaml            0.15.87            
    Send2Trash             1.5.0              
    setuptools             45.1.0.post20200127
    six                    1.14.0             
    terminado              0.8.3              
    testpath               0.4.4              
    tornado                6.0.4              
    tqdm                   4.42.0             
    traitlets              4.3.3              
    ujson                  1.35               
    urllib3                1.25.8             
    wcwidth                0.1.8              
    webencodings           0.5.1              
    wheel                  0.34.2             
    yapf                   0.29.0
krassowski commented 4 years ago

@sunyongke sorry, I do not know why this may be the case. But the output you posted shows that this happens for other extensions as well:

@lckr/jupyterlab_variableinspector
@ryantam626/jupyterlab_code_formatter

which are all seemingly enabled and OK. I guess you need to open an issue in JupyterLab repository or ask on gitter. Please link back to any issue you open - this would be valuable to follow!

But see: https://discourse.jupyter.org/t/extension-shows-up-as-both-installed-and-uninstalled-and-doesnt-work/2688/4

sponde25 commented 4 years ago

After multiple installs, I have got things working with jupyterlab=1.2 and lsp=0.8.0 The newest version with jupyterlab=2.0 and lsp=1.0 doesnt work with python language server. It is forever stuck at connecting, I couldn't find any error messages to see why this might be the case.

krassowski commented 4 years ago

@sponde25 I'm sorry it does not work for you in JupyterLab 2.0. We are fairly confident that it should be working on a clean install (we have a running continuous integration on 3 python versions on Mac, Linux and Windows) and it also works for me on Linux, both with a clean install and after upgrade from JupyterLab 1.2. 

krassowski commented 4 years ago

Wait, I see something. @sunyongke and @sponde25 you both have pyls. Why is that? I imagine that this package (which is NOT related to python-language-server package, which has the abbreviation pyls as well) can cause some problems with the python language server... Would you mind trying to uninstall it?

sunyongke commented 4 years ago

@krassowski I uninstall it and installed again, it still has no help for me. I search from google, and find this https://github.com/krassowski/jupyterlab-lsp/issues/171#issuecomment-580632271

from past experiences with pyls the best way to avoid running the checkers you want is to NOT install the others: when you install pyls, use pip install python-language-server instead of pip install python-language-server[all] then install only the checkers you need/want (i.e pip install rope pyls-black etc.). Right now you can probably pip uninstall pycodestyle and any other plugin you know it is doing extra checks or changes you don't want.

the status icon appeared, but always show "connecting...."

krassowski commented 4 years ago

But what about the pyls package? Did you remove it?

krassowski commented 4 years ago

To reiterate, you must not have pyls installed, this is a different, unrelated package which will keep python-language-server form working properly. The same name is a coincidence.

sunyongke commented 4 years ago

@krassowski

Yes, I removed the package pyls, just install the python-language-serve.

Unfortunately,I crashed again, I saw some debug information as follow, it seems python-language-server working not correctly.

` [W 02:54:00.728 LabApp] 404 HEAD http://112.124.42.80:63435/ (60.191.52.254) 2.4 8ms referer=None [I 03:38:16.954 LabApp] 302 GET / (60.191.38.78) 0.88ms [I 03:38:17.125 LabApp] 302 GET /lab? (60.191.38.78) 0.99ms [W 08:49:23.081 LabApp] 404 GET http://clientapi.ipip.net/echo.php?info=12345678 90 (139.162.81.62) 2.62ms referer=None [W 09:07:22.876 LabApp] 404 GET http://www.baidu.com/cache/global/img/gs.gif (80 .82.70.187) 2.51ms referer=None [I 11:43:20.431 LabApp] 302 GET / (184.154.47.2) 0.90ms [I 11:43:21.498 LabApp] 302 GET /lab? (184.154.47.2) 0.89ms [I 15:25:39.256 LabApp] 302 GET / (198.108.67.48) 0.86ms [I 17:54:22.196 LabApp] 302 GET / (183.136.225.56) 0.90ms [I 17:54:22.347 LabApp] 302 GET /lab? (183.136.225.56) 0.96ms [I 18:46:42.443 LabApp] 302 GET / (183.136.225.56) 0.89ms [I 18:46:42.769 LabApp] 302 GET /lab? (183.136.225.56) 0.96ms [W 18:50:21.681 LabApp] 404 GET http://www.baidu.com/cache/global/img/gs.gif (80.82.70.187) 2.52ms referer=None [I 19:39:56.686 LabApp] 302 GET / (183.136.225.56) 0.85ms [I 19:39:56.918 LabApp] 302 GET /lab? (183.136.225.56) 0.95ms

[0] 0:python3.6* "gtx1070" 20:27 18-3月-20 [恢复于2020年3月19日 上午11:12:23] Last login: Thu Mar 19 11:11:32 on console Yongke@~%>sshgpu [server exited] Connection to 202.203.132.240 closed by remote host. Connection to 202.203.132.240 closed. Yongke@~%>sshgpu no sessions [exited] Connection to 202.203.132.240 closed. Yongke@~%>sshgpu no sessions

[D 23:57:05.752 LabApp] Found kernel python3 in /home/syk/miniconda3/envs/py36/share/jupyter/kernels [27/1989] [D 23:57:05.754 LabApp] 200 GET /api/kernelspecs?1584633425696 (39.130.51.47) 2.93ms
[D 23:57:05.762 LabApp] 200 GET /api/kernels?1584633425709 (39.130.51.47) 1.41ms
[D 23:57:05.925 LabApp] Initializing websocket connection /api/kernels/15616f5d-0bf6-40f0-bcf9-b4ba2e2f4dae/channels
[D 23:57:05.928 LabApp] Requesting kernel info from 15616f5d-0bf6-40f0-bcf9-b4ba2e2f4dae
[D 23:57:05.928 LabApp] Connecting to: tcp://127.0.0.1:47044
[D 23:57:05.929 LabApp] Initializing websocket connection /api/kernels/15616f5d-0bf6-40f0-bcf9-b4ba2e2f4dae/channels
[D 23:57:05.932 LabApp] Waiting for pending kernel_info request
[D 23:57:05.940 LabApp] Path components/MathJax/extensions/Safe.js served from /home/syk/miniconda3/envs/py36/lib/python3.6/si$ e-packages/notebook/static/components/MathJax/extensions/Safe.js
[D 23:57:05.941 LabApp] 304 GET /static/components/MathJax/extensions/Safe.js?V=2.7.7 (39.130.51.47) 1.64ms
[D 23:57:05.953 LabApp] 200 GET /metrics?1584633425891 (39.130.51.47) 11.00ms
[D 23:57:06.109 LabApp] 200 GET /api/contents/wood-NIR?content=1&1584633426053 (39.130.51.47) 7.14ms
[D 23:57:06.235 LabApp] activity on 15616f5d-0bf6-40f0-bcf9-b4ba2e2f4dae: status (starting)
[D 23:57:06.237 LabApp] activity on 15616f5d-0bf6-40f0-bcf9-b4ba2e2f4dae: status (busy)
[D 23:57:06.239 LabApp] activity on 15616f5d-0bf6-40f0-bcf9-b4ba2e2f4dae: status (idle)
[D 23:57:06.240 LabApp] Received kernel info: {'status': 'ok', 'protocol_version': '5.3', 'implementation': 'ipython', 'impleme ntation_version': '7.13.0', 'language_info': {'name': 'python', 'version': '3.6.8', 'mimetype': 'text/x-python', 'codemirror_mo de': {'name': 'ipython', 'version': 3}, 'pygments_lexer': 'ipython3', 'nbconvert_exporter': 'python', 'file_extension': '.py'}, 'banner': "Python 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34) \nType 'copyright', 'credits' or 'license' for more information\nIPython 7.13.0 -- An enhanced Interactive Python. Type '?' for help.\n", 'help_links': [{'text': 'Python Reference ', 'url': 'https://docs.python.org/3.6'}, {'text': 'IPython Reference', 'url': 'https://ipython.org/documentation.html'}, {'tex t': 'NumPy Reference', 'url': 'https://docs.scipy.org/doc/numpy/reference/'}, {'text': 'SciPy Reference', 'url': 'https://docs. scipy.org/doc/scipy/reference/'}, {'text': 'Matplotlib Reference', 'url': 'https://matplotlib.org/contents.html'}, {'text': 'Sy mPy Reference', 'url': 'http://docs.sympy.org/latest/index.html'}, {'text': 'pandas Reference', 'url': 'https://pandas.pydata.o rg/pandas-docs/stable/'}]}
[D 23:57:06.242 LabApp] 101 GET /api/kernels/15616f5d-0bf6-40f0-bcf9-b4ba2e2f4dae/channels?session_id=82512e5b-6cd9-4beb-b196-8 f8ca2dae70c (39.130.51.47) 317.71ms
[D 23:57:06.247 LabApp] Opening websocket /api/kernels/15616f5d-0bf6-40f0-bcf9-b4ba2e2f4dae/channels [D 23:57:06.248 LabApp] Fetching URL: https://registry.yarnpkg.com/@ryantam626%2Fjupyterlab_code_formatter [D 23:57:06.248 LabApp] Getting buffer for 15616f5d-0bf6-40f0-bcf9-b4ba2e2f4dae [D 23:57:06.249 LabApp] Connecting to: tcp://127.0.0.1:47044 [D 23:57:06.263 LabApp] Connecting to: tcp://127.0.0.1:40436 [D 23:57:06.263 LabApp] Connecting to: tcp://127.0.0.1:45209 [D 23:57:06.263 LabApp] Connecting to: tcp://127.0.0.1:41117 [D 23:57:06.263 LabApp] Connecting to: tcp://127.0.0.1:41117 [D 23:57:06.264 LabApp] 101 GET /api/kernels/15616f5d-0bf6-40f0-bcf9-b4ba2e2f4dae/channels?session_id=f1238a38-ebd2-40bb-af7a-c fedeedf6e42 (39.130.51.47) 335.34ms [D 23:57:06.265 LabApp] Opening websocket /api/kernels/15616f5d-0bf6-40f0-bcf9-b4ba2e2f4dae/channels [D 23:57:06.265 LabApp] Getting buffer for 15616f5d-0bf6-40f0-bcf9-b4ba2e2f4dae [D 23:57:06.265 LabApp] Connecting to: tcp://127.0.0.1:47044 [D 23:57:06.265 LabApp] Connecting to: tcp://127.0.0.1:40436 [D 23:57:06.266 LabApp] Connecting to: tcp://127.0.0.1:45209 [D 23:57:06.266 LabApp] Connecting to: tcp://127.0.0.1:41117 [D 23:57:06.299 LabApp] activity on 15616f5d-0bf6-40f0-bcf9-b4ba2e2f4dae: status (busy) [D 23:57:06.302 LabApp] activity on 15616f5d-0bf6-40f0-bcf9-b4ba2e2f4dae: status (idle) [D 23:57:06.307 LabApp] activity on 15616f5d-0bf6-40f0-bcf9-b4ba2e2f4dae: status (busy) [D 23:57:06.311 LabApp] activity on 15616f5d-0bf6-40f0-bcf9-b4ba2e2f4dae: status (idle) [D 23:57:06.324 LabApp] activity on 15616f5d-0bf6-40f0-bcf9-b4ba2e2f4dae: status (busy) [D 23:57:06.325 LabApp] activity on 15616f5d-0bf6-40f0-bcf9-b4ba2e2f4dae: status (idle) [D 23:57:06.331 LabApp] Path components/MathJax/jax/output/HTML-CSS/fonts/STIX-Web/fontdata.js served from /home/syk/miniconda3 /envs/py36/lib/python3.6/site-packages/notebook/static/components/MathJax/jax/output/HTML-CSS/fonts/STIX-Web/fontdata.js [D 23:57:06.331 LabApp] 304 GET /static/components/MathJax/jax/output/ `

sunyongke commented 4 years ago

@krassowski

Everything is ok after I used this command.

jupyter serverextension enable --sys-prefix --py jupyter_lsp

thank you

allenzhao commented 4 years ago

Similar issue here, after re-configuring manytimes and trying https://github.com/krassowski/jupyterlab-lsp/issues/203#issuecomment-601320933 I've ended up with no luck. I've configured both the python and r language servers, it was able to autodetect and use the r server, but not the python one. I've also tried to use the python-language-server locally with VScode following their guide, I think it works. I've attached the screenshot. Seems to me the plugin is not able to detect the installed plys. Any ideas? Screenshot from 2020-03-27 19-04-35

@krassowski

krassowski commented 4 years ago

Please open a new issue providing all the troubleshooting and package information (including pip freezes); the problems mentioned here we already identified and solved - it is of little benefit to keep notifying everyone here (and difficult to scroll through by the way).

ChasingZenith commented 4 years ago

@krassowski

Everything is ok after I used this command.

jupyter serverextension enable --sys-prefix --py jupyter_lsp

thank you

Problem Description

When I install the Jupyter-lsp following the instruction in readme. The status bar always give connecting. and shows LSP servers missing python.

Solution

The solution of @allenzhao helps a lot.

But I find that using this command directly gave 'permission denied' and if I run it with sudo I get something like 'no Jupyter'.

So I try

jupyter serverextension enable --py jupyter_lsp

and luckily this works for me.

I don't know what's each parameter means but this is my solution.