jupyterlab-lsp icon indicating copy to clipboard operation
jupyterlab-lsp copied to clipboard

Jump to Definition fails IFF space in (Windows) Path

Open JulianSMoore opened this issue 3 years ago • 2 comments
trafficstars

Description

Jump to Definition fails with message File Load Error (whether invoked via context menu or keyboard)

Reproduce

  1. Create a notebook in a path with spaces in it. The notebook filename CAN have spaces without affecting the result.
  2. Define a trivial function e.g. def a(x): return x ** 2 in one cell
  3. Execute a(4) in another cell
  4. Select "a" in the latter, invoke jump to definition
  5. See error

image

Diagnosed by creating notebooks in paths with and without spaces in paths.

Expected behavior

Notebook scrolls to defining cell and selects definition

Context

  • Operating System and version: Win 10 64-bit Home 21H2
  • Browser and version: Chrome Version 107.0.5304.88 (Official Build) (64-bit)
  • JupyterLab version: 3.5.0
  • Language server and version: jupyter_lsp 1.5.1
Required: installed server extensions
Paste the output from running `jupyter server extension list` (JupyterLab >= 3)
or `jupyter serverextension list` (JupyterLab 
Config dir: C:\Users\Julian\.jupyter

Config dir: C:\Users\Julian\anaconda3\envs\PYTFCurrent\etc\jupyter jupyter_lsp enabled - Validating jupyter_lsp... jupyter_lsp 1.5.1 ok jupyterlab enabled - Validating jupyterlab... jupyterlab 3.5.0 ok nbclassic enabled - Validating nbclassic... nbclassic 0.4.8 ok notebook_shim enabled - Validating notebook_shim... notebook_shim ok

Config dir: C:\ProgramData\jupyter

Required: installed lab extensions
Paste the output from running `jupyter labextension list` from the command line here.
You may want to sanitize the paths in the output.
JupyterLab v3.5.0 C:\Users\Julian\anaconda3\envs\PYTFCurrent\share\jupyter\labextensions jupyterlab-plotly v5.11.0 enabled ok jupyterlab_pygments v0.2.2 enabled ok (python, jupyterlab_pygments) @jupyter-widgets/jupyterlab-manager v5.0.3 enabled ok (python, jupyterlab_widgets) @krassowski/jupyterlab-lsp v3.10.2 enabled ok (python, jupyterlab-lsp)
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: C:\Users\Julian\anaconda3\envs\PYTFCurrent C:\Users\Julian\anaconda3\envs\PYTFCurrent\Library\mingw-w64\bin C:\Users\Julian\anaconda3\envs\PYTFCurrent\Library\usr\bin C:\Users\Julian\anaconda3\envs\PYTFCurrent\Library\bin C:\Users\Julian\anaconda3\envs\PYTFCurrent\Scripts C:\Users\Julian\anaconda3\envs\PYTFCurrent\bin C:\Users\Julian\anaconda3\condabin C:\Program Files\WindowsApps\Microsoft.WindowsTerminalPreview_1.16.2641.0_x64__8wekyb3d8bbwe C:\Program Files (x86)\VMware\VMware Player\bin C:\Python39\Scripts C:\Python39 C:\Program Files (x86)\Common Files\Oracle\Java\javapath C:\Program Files\Microsoft MPI\Bin C:\Program Files (x86)\Intel\iCLS Client C:\Program Files\Intel\iCLS Client C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\System32\Wbem C:\WINDOWS\System32\WindowsPowerShell\v1.0 C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL C:\Program Files\Intel\Intel(R) Management Engine Components\DAL C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT C:\Program Files\Intel\Intel(R) Management Engine Components\IPT C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn C:\Program Files\Microsoft SQL Server\140\Tools\Binn C:\Program Files\Microsoft SQL Server\140\DTS\Binn C:\Users\Julian\.dnx\bin C:\Program Files\Microsoft DNX\Dnvm C:\Program Files\Microsoft SQL Server\130\Tools\Binn C:\Program Files\Git\cmd C:\WINDOWS\System32\OpenSSH C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\libnvvp C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin C:\Program Files\Microsoft VS Code\bin C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64 C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\System32\Wbem C:\WINDOWS\System32\WindowsPowerShell\v1.0 C:\WINDOWS\System32\OpenSSH C:\Program Files (x86)\Wolfram Research\WolframScript C:\ProgramData\chocolatey\bin C:\Program Files (x86)\Calibre2 C:\Program Files\wureset C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\lib\x64 C:\Program Files (x86)\Common Files\Acronis\VirtualFile C:\Program Files (x86)\Common Files\Acronis\VirtualFile64 C:\Program Files (x86)\Common Files\Acronis\FileProtector C:\Program Files (x86)\Common Files\Acronis\FileProtector64 C:\Program Files (x86)\Common Files\Acronis\SnapAPI C:\Program Files\nodejs C:\Program Files\Pandoc C:\Program Files\NVIDIA Corporation\Nsight Compute 2020.3.0 C:\Program Files\Git LFS C:\Program Files\dotnet C:\Users\Julian\AppData\Local\Microsoft\WindowsApps C:\Users\Julian\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\x64 C:\Program Files\Microsoft VS Code\bin C:\Users\Julian\Standalone Apps\PSTools C:\Users\Julian\AppData\Local\Microsoft\WindowsApps C:\Users\Julian\AppData\Roaming\npm C:\Users\Julian\AppData\Local\GitHubDesktop\bin C:\Users\Julian\Anaconda3 C:\Users\Julian\Anaconda3\Scripts C:\Users\Julian\Anaconda3\Library\bin C:\Users\Julian\anaconda3\condabin\conda.bat C:\Program Files (x86)\FFMPEG\bin .

sys.path: C:\Users\Julian\anaconda3\envs\PYTFCurrent\Scripts\jupyter-troubleshoot.EXE C:\Users\Julian\anaconda3\envs\PYTFCurrent\python310.zip C:\Users\Julian\anaconda3\envs\PYTFCurrent\DLLs C:\Users\Julian\anaconda3\envs\PYTFCurrent\lib C:\Users\Julian\anaconda3\envs\PYTFCurrent C:\Users\Julian\anaconda3\envs\PYTFCurrent\lib\site-packages C:\Users\Julian\anaconda3\envs\PYTFCurrent\lib\site-packages\win32 C:\Users\Julian\anaconda3\envs\PYTFCurrent\lib\site-packages\win32\lib C:\Users\Julian\anaconda3\envs\PYTFCurrent\lib\site-packages\Pythonwin

sys.executable: C:\Users\Julian\anaconda3\envs\PYTFCurrent\python.exe

sys.version: 3.10.6 | packaged by conda-forge | (main, Aug 22 2022, 20:29:51) [MSC v.1929 64 bit (AMD64)]

platform.platform(): Windows-10-10.0.19044-SP0

where jupyter: C:\Users\Julian\anaconda3\envs\PYTFCurrent\Scripts\jupyter.exe

C:\Users\Julian\Anaconda3\Scripts\jupyter.exe

pip list: Package Version

---------------------------- -----------

absl-py                      1.3.0

anyio                        3.6.2

argon2-cffi                  21.3.0

argon2-cffi-bindings         21.2.0

astroid                      2.12.12

asttokens                    2.1.0

astunparse                   1.6.3

attrs                        22.1.0

autopep8                     1.6.0

Babel                        2.11.0

backcall                     0.2.0

beautifulsoup4               4.11.1

bleach                       5.0.1

bs4                          0.0.1

CacheControl                 0.12.11

cachetools                   5.2.0

certifi                      2022.9.24

cffi                         1.15.1

charset-normalizer           2.1.1

click                        8.1.3

cloudpickle                  2.2.0

colorama                     0.4.6

contourpy                    1.0.6

cupy-cuda112                 10.6.0

cycler                       0.11.0

debugpy                      1.6.3

decorator                    5.1.1

defusedxml                   0.7.1

dill                         0.3.6

display-xml                  0.1.0

dm-tree                      0.1.7

docstring-to-markdown        0.10

docutils                     0.19

entrypoints                  0.4

etils                        0.9.0

executing                    1.2.0

fastjsonschema               2.16.2

fastrlock                    0.8.1

flake8                       5.0.4

flatbuffers                  1.12

fonttools                    4.38.0

gast                         0.4.0

google-auth                  2.14.1

google-auth-oauthlib         0.4.6

google-pasta                 0.2.0

googleapis-common-protos     1.56.4

grpcio                       1.50.0

gTTS                         2.2.4

h5py                         3.7.0

idna                         3.4

importlib-resources          5.10.0

ipyfilechooser               0.6.0

ipykernel                    6.17.1

ipython                      8.6.0

ipython-genutils             0.2.0

ipywidgets                   8.0.2

isort                        5.10.1

jedi                         0.18.1

Jinja2                       3.1.2

json5                        0.9.10

jsonschema                   4.17.0

jupyter_client               7.4.4

jupyter_core                 5.0.0

jupyter-lsp                  1.5.1

jupyter-server               1.23.1

jupyterlab                   3.5.0

jupyterlab-lsp               3.10.2

jupyterlab-pygments          0.2.2

jupyterlab_server            2.16.2

jupyterlab-widgets           3.0.3

keras                        2.9.0

Keras-Preprocessing          1.1.2

kiwisolver                   1.4.4

lazy-object-proxy            1.8.0

libclang                     14.0.6

line-profiler                3.5.1

llvmlite                     0.39.1

lxml                         4.9.1

Markdown                     3.4.1

MarkupSafe                   2.1.1

matplotlib                   3.6.2

matplotlib-inline            0.1.6

mccabe                       0.7.0

mistune                      2.0.4

msgpack                      1.0.4

nbclassic                    0.4.8

nbclient                     0.7.0

nbconvert                    7.2.4

nbformat                     5.7.0

nest-asyncio                 1.5.6

notebook                     6.5.2

notebook_shim                0.2.2

numba                        0.56.4

numpy                        1.23.4

oauthlib                     3.2.2

opt-einsum                   3.3.0

packaging                    21.3

pandas                       1.5.1

pandoc                       2.2

pandocfilters                1.5.0

parso                        0.8.3

pickleshare                  0.7.5

Pillow                       9.3.0

pip                          22.3.1

pip-autoremove               0.10.0

platformdirs                 2.5.3

playsound                    1.3.0

plotly                       5.11.0

pluggy                       1.0.0

plumbum                      1.8.0

ply                          3.11

prometheus-client            0.15.0

promise                      2.3

prompt-toolkit               3.0.32

protobuf                     3.19.6

psutil                       5.9.4

pure-eval                    0.2.2

pyasn1                       0.4.8

pyasn1-modules               0.2.8

pycodestyle                  2.9.1

pycparser                    2.21

pydocstyle                   6.1.1

pyflakes                     2.5.0

Pygments                     2.13.0

pylint                       2.15.5

pyparsing                    3.0.9

pyrsistent                   0.19.2

PySimpleGUI                  4.60.4

python-dateutil              2.8.2

python-lsp-jsonrpc           1.0.0

python-lsp-server            1.6.0

pytoolconfig                 1.2.2

pytz                         2022.6

pywebcopy                    7.0.2

pywin32                      305

pywinpty                     2.0.9

pyzmq                        24.0.1

requests                     2.28.1

requests-oauthlib            1.3.1

rope                         1.4.0

rsa                          4.9

scipy                        1.9.3

seaborn                      0.12.1

Send2Trash                   1.8.0

setuptools                   65.5.1

six                          1.16.0

sniffio                      1.3.0

snowballstemmer              2.2.0

soupsieve                    2.3.2.post1

stack-data                   0.6.0

statistics                   1.0.3.5

tabulate                     0.9.0

tenacity                     8.1.0

tensorboard                  2.9.1

tensorboard-data-server      0.6.1

tensorboard-plugin-wit       1.8.1

tensorflow                   2.9.1

tensorflow-addons            0.18.0

tensorflow-datasets          4.7.0

tensorflow-estimator         2.9.0

tensorflow-hub               0.12.0

tensorflow-io-gcs-filesystem 0.27.0

tensorflow-metadata          1.10.0

tensorflow-probability       0.18.0

tensorflow-text              2.9.0

termcolor                    2.1.0

terminado                    0.17.0

tinycss2                     1.2.1

toml                         0.10.2

tomli                        2.0.1

tomlkit                      0.11.6

tornado                      6.2

tqdm                         4.64.1

traitlets                    5.5.0

typeguard                    2.13.3

typing_extensions            4.4.0

ujson                        5.5.0

urllib3                      1.26.12

wcwidth                      0.2.5

webencodings                 0.5.1

websocket-client             1.4.2

Werkzeug                     2.2.2

wget                         3.2

whatthepatch                 1.0.2

wheel                        0.38.3

widgetsnbextension           4.0.3

wrapt                        1.14.1

yapf                         0.32.0

zipp                         3.10.0

conda list: # packages in environment at C:\Users\Julian\anaconda3\envs\PYTFCurrent:

#

# Name                    Version                   Build  Channel

absl-py                   1.3.0                    pypi_0    pypi

anyio                     3.6.2                    pypi_0    pypi

argon2-cffi               21.3.0                   pypi_0    pypi

argon2-cffi-bindings      21.2.0                   pypi_0    pypi

astroid                   2.12.12                  pypi_0    pypi

asttokens                 2.1.0                    pypi_0    pypi

astunparse                1.6.3                    pypi_0    pypi

attrs                     22.1.0                   pypi_0    pypi

autopep8                  1.6.0                    pypi_0    pypi

babel                     2.11.0                   pypi_0    pypi

backcall                  0.2.0                    pypi_0    pypi

beautifulsoup4            4.11.1                   pypi_0    pypi

bleach                    5.0.1                    pypi_0    pypi

bs4                       0.0.1                    pypi_0    pypi

bzip2                     1.0.8                h8ffe710_4    conda-forge

ca-certificates           2022.9.24            h5b45459_0    conda-forge

cachecontrol              0.12.11                  pypi_0    pypi

cachetools                5.2.0                    pypi_0    pypi

certifi                   2022.9.24                pypi_0    pypi

cffi                      1.15.1                   pypi_0    pypi

charset-normalizer        2.1.1                    pypi_0    pypi

click                     8.1.3                    pypi_0    pypi

cloudpickle               2.2.0                    pypi_0    pypi

colorama                  0.4.6                    pypi_0    pypi

contourpy                 1.0.6                    pypi_0    pypi

cuda-nvcc                 11.8.89                       0    nvidia

cudatoolkit               11.2.2              h933977f_10    conda-forge

cudnn                     8.1.0.77             h3e0f4f4_0    conda-forge

cupy-cuda112              10.6.0                   pypi_0    pypi

cycler                    0.11.0                   pypi_0    pypi

debugpy                   1.6.3                    pypi_0    pypi

decorator                 5.1.1                    pypi_0    pypi

defusedxml                0.7.1                    pypi_0    pypi

dill                      0.3.6                    pypi_0    pypi

display-xml               0.1.0                    pypi_0    pypi

dm-tree                   0.1.7                    pypi_0    pypi

docstring-to-markdown     0.10                     pypi_0    pypi

docutils                  0.19                     pypi_0    pypi

entrypoints               0.4                      pypi_0    pypi

etils                     0.9.0                    pypi_0    pypi

executing                 1.2.0                    pypi_0    pypi

fastjsonschema            2.16.2                   pypi_0    pypi

fastrlock                 0.8.1                    pypi_0    pypi

flake8                    5.0.4                    pypi_0    pypi

flatbuffers               1.12                     pypi_0    pypi

fonttools                 4.38.0                   pypi_0    pypi

gast                      0.4.0                    pypi_0    pypi

google-auth               2.14.1                   pypi_0    pypi

google-auth-oauthlib      0.4.6                    pypi_0    pypi

google-pasta              0.2.0                    pypi_0    pypi

googleapis-common-protos  1.56.4                   pypi_0    pypi

grpcio                    1.50.0                   pypi_0    pypi

gtts                      2.2.4                    pypi_0    pypi

h5py                      3.7.0                    pypi_0    pypi

idna                      3.4                      pypi_0    pypi

importlib-resources       5.10.0                   pypi_0    pypi

ipyfilechooser            0.6.0                    pypi_0    pypi

ipykernel                 6.17.1                   pypi_0    pypi

ipython                   8.6.0                    pypi_0    pypi

ipython-genutils          0.2.0                    pypi_0    pypi

ipywidgets                8.0.2                    pypi_0    pypi

isort                     5.10.1                   pypi_0    pypi

jedi                      0.18.1                   pypi_0    pypi

jinja2                    3.1.2                    pypi_0    pypi

json5                     0.9.10                   pypi_0    pypi

jsonschema                4.17.0                   pypi_0    pypi

jupyter-client            7.4.4                    pypi_0    pypi

jupyter-core              5.0.0                    pypi_0    pypi

jupyter-lsp               1.5.1                    pypi_0    pypi

jupyter-server            1.23.1                   pypi_0    pypi

jupyterlab                3.5.0                    pypi_0    pypi

jupyterlab-lsp            3.10.2                   pypi_0    pypi

jupyterlab-pygments       0.2.2                    pypi_0    pypi

jupyterlab-server         2.16.2                   pypi_0    pypi

jupyterlab-widgets        3.0.3                    pypi_0    pypi

keras                     2.9.0                    pypi_0    pypi

keras-preprocessing       1.1.2                    pypi_0    pypi

kiwisolver                1.4.4                    pypi_0    pypi

lazy-object-proxy         1.8.0                    pypi_0    pypi

libclang                  14.0.6                   pypi_0    pypi

libffi                    3.4.2                h8ffe710_5    conda-forge

libsqlite                 3.39.4               hcfcfb64_0    conda-forge

libzlib                   1.2.13               hcfcfb64_4    conda-forge

line-profiler             3.5.1                    pypi_0    pypi

llvmlite                  0.39.1                   pypi_0    pypi

lxml                      4.9.1                    pypi_0    pypi

markdown                  3.4.1                    pypi_0    pypi

markupsafe                2.1.1                    pypi_0    pypi

matplotlib                3.6.2                    pypi_0    pypi

matplotlib-inline         0.1.6                    pypi_0    pypi

mccabe                    0.7.0                    pypi_0    pypi

mistune                   2.0.4                    pypi_0    pypi

msgpack                   1.0.4                    pypi_0    pypi

nbclassic                 0.4.8                    pypi_0    pypi

nbclient                  0.7.0                    pypi_0    pypi

nbconvert                 7.2.4                    pypi_0    pypi

nbformat                  5.7.0                    pypi_0    pypi

nest-asyncio              1.5.6                    pypi_0    pypi

notebook                  6.5.2                    pypi_0    pypi

notebook-shim             0.2.2                    pypi_0    pypi

numba                     0.56.4                   pypi_0    pypi

numpy                     1.23.4                   pypi_0    pypi

oauthlib                  3.2.2                    pypi_0    pypi

openssl                   3.0.7                hcfcfb64_0    conda-forge

opt-einsum                3.3.0                    pypi_0    pypi

packaging                 21.3                     pypi_0    pypi

pandas                    1.5.1                    pypi_0    pypi

pandoc                    2.2                      pypi_0    pypi

pandocfilters             1.5.0                    pypi_0    pypi

parso                     0.8.3                    pypi_0    pypi

pickleshare               0.7.5                    pypi_0    pypi

pillow                    9.3.0                    pypi_0    pypi

pip                       22.3.1             pyhd8ed1ab_0    conda-forge

pip-autoremove            0.10.0                   pypi_0    pypi

platformdirs              2.5.3                    pypi_0    pypi

playsound                 1.3.0                    pypi_0    pypi

plotly                    5.11.0                   pypi_0    pypi

pluggy                    1.0.0                    pypi_0    pypi

plumbum                   1.8.0                    pypi_0    pypi

ply                       3.11                     pypi_0    pypi

prometheus-client         0.15.0                   pypi_0    pypi

promise                   2.3                      pypi_0    pypi

prompt-toolkit            3.0.32                   pypi_0    pypi

protobuf                  3.19.6                   pypi_0    pypi

psutil                    5.9.4                    pypi_0    pypi

pure-eval                 0.2.2                    pypi_0    pypi

pyasn1                    0.4.8                    pypi_0    pypi

pyasn1-modules            0.2.8                    pypi_0    pypi

pycodestyle               2.9.1                    pypi_0    pypi

pycparser                 2.21                     pypi_0    pypi

pydocstyle                6.1.1                    pypi_0    pypi

pyflakes                  2.5.0                    pypi_0    pypi

pygments                  2.13.0                   pypi_0    pypi

pylint                    2.15.5                   pypi_0    pypi

pyparsing                 3.0.9                    pypi_0    pypi

pyrsistent                0.19.2                   pypi_0    pypi

pysimplegui               4.60.4                   pypi_0    pypi

python                    3.10.6          hcf16a7b_0_cpython    conda-forge

python-dateutil           2.8.2                    pypi_0    pypi

python-lsp-jsonrpc        1.0.0                    pypi_0    pypi

python-lsp-server         1.6.0                    pypi_0    pypi

pytoolconfig              1.2.2                    pypi_0    pypi

pytz                      2022.6                   pypi_0    pypi

pywebcopy                 7.0.2                    pypi_0    pypi

pywin32                   305                      pypi_0    pypi

pywinpty                  2.0.9                    pypi_0    pypi

pyzmq                     24.0.1                   pypi_0    pypi

requests                  2.28.1                   pypi_0    pypi

requests-oauthlib         1.3.1                    pypi_0    pypi

rope                      1.4.0                    pypi_0    pypi

rsa                       4.9                      pypi_0    pypi

scipy                     1.9.3                    pypi_0    pypi

seaborn                   0.12.1                   pypi_0    pypi

send2trash                1.8.0                    pypi_0    pypi

setuptools                65.5.1             pyhd8ed1ab_0    conda-forge

six                       1.16.0                   pypi_0    pypi

sniffio                   1.3.0                    pypi_0    pypi

snowballstemmer           2.2.0                    pypi_0    pypi

soupsieve                 2.3.2.post1              pypi_0    pypi

stack-data                0.6.0                    pypi_0    pypi

statistics                1.0.3.5                  pypi_0    pypi

tabulate                  0.9.0                    pypi_0    pypi

tenacity                  8.1.0                    pypi_0    pypi

tensorboard               2.9.1                    pypi_0    pypi

tensorboard-data-server   0.6.1                    pypi_0    pypi

tensorboard-plugin-wit    1.8.1                    pypi_0    pypi

tensorflow                2.9.1                    pypi_0    pypi

tensorflow-addons         0.18.0                   pypi_0    pypi

tensorflow-datasets       4.7.0                    pypi_0    pypi

tensorflow-estimator      2.9.0                    pypi_0    pypi

tensorflow-hub            0.12.0                   pypi_0    pypi

tensorflow-io-gcs-filesystem 0.27.0                   pypi_0    pypi

tensorflow-metadata       1.10.0                   pypi_0    pypi

tensorflow-probability    0.18.0                   pypi_0    pypi

tensorflow-text           2.9.0                    pypi_0    pypi

termcolor                 2.1.0                    pypi_0    pypi

terminado                 0.17.0                   pypi_0    pypi

tinycss2                  1.2.1                    pypi_0    pypi

tk                        8.6.12               h8ffe710_0    conda-forge

toml                      0.10.2                   pypi_0    pypi

tomli                     2.0.1                    pypi_0    pypi

tomlkit                   0.11.6                   pypi_0    pypi

tornado                   6.2                      pypi_0    pypi

tqdm                      4.64.1                   pypi_0    pypi

traitlets                 5.5.0                    pypi_0    pypi

typeguard                 2.13.3                   pypi_0    pypi

typing-extensions         4.4.0                    pypi_0    pypi

tzdata                    2022f                h191b570_0    conda-forge

ucrt                      10.0.22621.0         h57928b3_0    conda-forge

ujson                     5.5.0                    pypi_0    pypi

urllib3                   1.26.12                  pypi_0    pypi

vc                        14.3                 h3d8a991_9    conda-forge

vs2015_runtime            14.32.31332          h1d6e394_9    conda-forge

wcwidth                   0.2.5                    pypi_0    pypi

webencodings              0.5.1                    pypi_0    pypi

websocket-client          1.4.2                    pypi_0    pypi

werkzeug                  2.2.2                    pypi_0    pypi

wget                      3.2                      pypi_0    pypi

whatthepatch              1.0.2                    pypi_0    pypi

wheel                     0.38.3             pyhd8ed1ab_0    conda-forge

widgetsnbextension        4.0.3                    pypi_0    pypi

wrapt                     1.14.1                   pypi_0    pypi

xz                        5.2.6                h8d14728_0    conda-forge

yapf                      0.32.0                   pypi_0    pypi

zipp                      3.10.0                   pypi_0    pypi

conda env: name: PYTFCurrent

channels:

  - nvidia

  - conda-forge

  - defaults

dependencies:

  - bzip2=1.0.8=h8ffe710_4

  - ca-certificates=2022.9.24=h5b45459_0

  - cuda-nvcc=11.8.89=0

  - cudatoolkit=11.2.2=h933977f_10

  - cudnn=8.1.0.77=h3e0f4f4_0

  - libffi=3.4.2=h8ffe710_5

  - libsqlite=3.39.4=hcfcfb64_0

  - libzlib=1.2.13=hcfcfb64_4

  - openssl=3.0.7=hcfcfb64_0

  - pip=22.3.1=pyhd8ed1ab_0

  - python=3.10.6=hcf16a7b_0_cpython

  - setuptools=65.5.1=pyhd8ed1ab_0

  - tk=8.6.12=h8ffe710_0

  - tzdata=2022f=h191b570_0

  - ucrt=10.0.22621.0=h57928b3_0

  - vc=14.3=h3d8a991_9

  - vs2015_runtime=14.32.31332=h1d6e394_9

  - wheel=0.38.3=pyhd8ed1ab_0

  - xz=5.2.6=h8d14728_0

  - pip:

    - absl-py==1.3.0

    - anyio==3.6.2

    - argon2-cffi==21.3.0

    - argon2-cffi-bindings==21.2.0

    - astroid==2.12.12

    - asttokens==2.1.0

    - astunparse==1.6.3

    - attrs==22.1.0

    - autopep8==1.6.0

    - babel==2.11.0

    - backcall==0.2.0

    - beautifulsoup4==4.11.1

    - bleach==5.0.1

    - bs4==0.0.1

    - cachecontrol==0.12.11

    - cachetools==5.2.0

    - certifi==2022.9.24

    - cffi==1.15.1

    - charset-normalizer==2.1.1

    - click==8.1.3

    - cloudpickle==2.2.0

    - colorama==0.4.6

    - contourpy==1.0.6

    - cupy-cuda112==10.6.0

    - cycler==0.11.0

    - debugpy==1.6.3

    - decorator==5.1.1

    - defusedxml==0.7.1

    - dill==0.3.6

    - display-xml==0.1.0

    - dm-tree==0.1.7

    - docstring-to-markdown==0.10

    - docutils==0.19

    - entrypoints==0.4

    - etils==0.9.0

    - executing==1.2.0

    - fastjsonschema==2.16.2

    - fastrlock==0.8.1

    - flake8==5.0.4

    - flatbuffers==1.12

    - fonttools==4.38.0

    - gast==0.4.0

    - google-auth==2.14.1

    - google-auth-oauthlib==0.4.6

    - google-pasta==0.2.0

    - googleapis-common-protos==1.56.4

    - grpcio==1.50.0

    - gtts==2.2.4

    - h5py==3.7.0

    - idna==3.4

    - importlib-resources==5.10.0

    - ipyfilechooser==0.6.0

    - ipykernel==6.17.1

    - ipython==8.6.0

    - ipython-genutils==0.2.0

    - ipywidgets==8.0.2

    - isort==5.10.1

    - jedi==0.18.1

    - jinja2==3.1.2

    - json5==0.9.10

    - jsonschema==4.17.0

    - jupyter-client==7.4.4

    - jupyter-core==5.0.0

    - jupyter-lsp==1.5.1

    - jupyter-server==1.23.1

    - jupyterlab==3.5.0

    - jupyterlab-lsp==3.10.2

    - jupyterlab-pygments==0.2.2

    - jupyterlab-server==2.16.2

    - jupyterlab-widgets==3.0.3

    - keras==2.9.0

    - keras-preprocessing==1.1.2

    - kiwisolver==1.4.4

    - lazy-object-proxy==1.8.0

    - libclang==14.0.6

    - line-profiler==3.5.1

    - llvmlite==0.39.1

    - lxml==4.9.1

    - markdown==3.4.1

    - markupsafe==2.1.1

    - matplotlib==3.6.2

    - matplotlib-inline==0.1.6

    - mccabe==0.7.0

    - mistune==2.0.4

    - msgpack==1.0.4

    - nbclassic==0.4.8

    - nbclient==0.7.0

    - nbconvert==7.2.4

    - nbformat==5.7.0

    - nest-asyncio==1.5.6

    - notebook==6.5.2

    - notebook-shim==0.2.2

    - numba==0.56.4

    - numpy==1.23.4

    - oauthlib==3.2.2

    - opt-einsum==3.3.0

    - packaging==21.3

    - pandas==1.5.1

    - pandoc==2.2

    - pandocfilters==1.5.0

    - parso==0.8.3

    - pickleshare==0.7.5

    - pillow==9.3.0

    - pip-autoremove==0.10.0

    - platformdirs==2.5.3

    - playsound==1.3.0

    - plotly==5.11.0

    - pluggy==1.0.0

    - plumbum==1.8.0

    - ply==3.11

    - prometheus-client==0.15.0

    - promise==2.3

    - prompt-toolkit==3.0.32

    - protobuf==3.19.6

    - psutil==5.9.4

    - pure-eval==0.2.2

    - pyasn1==0.4.8

    - pyasn1-modules==0.2.8

    - pycodestyle==2.9.1

    - pycparser==2.21

    - pydocstyle==6.1.1

    - pyflakes==2.5.0

    - pygments==2.13.0

    - pylint==2.15.5

    - pyparsing==3.0.9

    - pyrsistent==0.19.2

    - pysimplegui==4.60.4

    - python-dateutil==2.8.2

    - python-lsp-jsonrpc==1.0.0

    - python-lsp-server==1.6.0

    - pytoolconfig==1.2.2

    - pytz==2022.6

    - pywebcopy==7.0.2

    - pywin32==305

    - pywinpty==2.0.9

    - pyzmq==24.0.1

    - requests==2.28.1

    - requests-oauthlib==1.3.1

    - rope==1.4.0

    - rsa==4.9

    - scipy==1.9.3

    - seaborn==0.12.1

    - send2trash==1.8.0

    - six==1.16.0

    - sniffio==1.3.0

    - snowballstemmer==2.2.0

    - soupsieve==2.3.2.post1

    - stack-data==0.6.0

    - statistics==1.0.3.5

    - tabulate==0.9.0

    - tenacity==8.1.0

    - tensorboard==2.9.1

    - tensorboard-data-server==0.6.1

    - tensorboard-plugin-wit==1.8.1

    - tensorflow==2.9.1

    - tensorflow-addons==0.18.0

    - tensorflow-datasets==4.7.0

    - tensorflow-estimator==2.9.0

    - tensorflow-hub==0.12.0

    - tensorflow-io-gcs-filesystem==0.27.0

    - tensorflow-metadata==1.10.0

    - tensorflow-probability==0.18.0

    - tensorflow-text==2.9.0

    - termcolor==2.1.0

    - terminado==0.17.0

    - tinycss2==1.2.1

    - toml==0.10.2

    - tomli==2.0.1

    - tomlkit==0.11.6

    - tornado==6.2

    - tqdm==4.64.1

    - traitlets==5.5.0

    - typeguard==2.13.3

    - typing-extensions==4.4.0

    - ujson==5.5.0

    - urllib3==1.26.12

    - wcwidth==0.2.5

    - webencodings==0.5.1

    - websocket-client==1.4.2

    - werkzeug==2.2.2

    - wget==3.2

    - whatthepatch==1.0.2

    - widgetsnbextension==4.0.3

    - wrapt==1.14.1

    - yapf==0.32.0

    - zipp==3.10.0

prefix: C:\Users\Julian\anaconda3\envs\PYTFCurrent

usage: conda-script.py [-h] [-V] command ... conda-script.py: error: argument command: invalid choice: 'lists,' (choose from 'clean', 'compare', 'config', 'create', 'info', 'init', 'install', 'list', 'package', 'remove', 'rename', 'run', 'search', 'uninstall', 'update', 'upgrade', 'notices')

Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
Browser Output (recommended for all interface issues)
Paste the output from your browser JavaScript console replacing the text in here.

To learn how to open the developer tools in your browser: https://developer.mozilla.org/en-US/docs/Learn/Common_questions/What_are_browser_developer_tools#How_to_open_the_devtools_in_your_browser If too many messages accumulated after many hours of working in JupyterLab, consider refreshing the window and then reproducing the bug to reduce the noise in the logs.

JulianSMoore avatar Nov 11 '22 10:11 JulianSMoore

Thanks for reporting. This should be added to test cases for https://github.com/jupyter-lsp/jupyterlab-lsp/issues/850.

krassowski avatar Nov 23 '22 22:11 krassowski

@krassowski Correction - or at least new doubt: spaces in the filename now also seems to impact it. I'm puzzled because I thought I was quite careful about it (even thought he example illustrated does not test this case), but that's what it is today.

Update.… and now I can't reproduce the issue with spaces in filename. Confused. Apologies for causing same!

Update 2! Solved - the character "&" in the filename also causes Jump to Def to fail, whether or not there are spaces

JulianSMoore avatar Nov 24 '22 12:11 JulianSMoore