Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language server keeps waiting #1029

Open
Nemoos-0 opened this issue Nov 28, 2023 · 1 comment
Open

Language server keeps waiting #1029

Nemoos-0 opened this issue Nov 28, 2023 · 1 comment

Comments

@Nemoos-0
Copy link

Nemoos-0 commented Nov 28, 2023

Description

The python language server is recognized and seems to be running, but it keeps saying "Waiting..." even if the kernel is not busy,

Screenshot from 2023-11-28 07-50-04

This is what appears in the developer tool console

image

Reproduce

I have no idea how to reproduce this bug.

I just installed the packages from the arch linux official repository (arch does not allow installing packages globally using pip).

P.S. I would like not to create a virtual environment and install a text editor + lsp server + formatter + extensions + libraries for every folder with a python script. So I don't know how to deal with this

Expected behavior

The LSP should run

Context

  • Operating System and version: Arch linux (kernel version 6.5.9)
  • Browser and version: Firefox 119.0
  • JupyterLab version:
$ jupyter --version
Selected Jupyter core packages...
IPython          : 8.17.2
ipykernel        : 6.26.0
ipywidgets       : 8.1.1
jupyter_client   : 8.6.0
jupyter_core     : 5.5.0
jupyter_server   : 2.10.0
jupyterlab       : 4.0.8
nbclient         : 0.8.0
nbconvert        : 7.7.4
nbformat         : 5.9.2
notebook         : not installed
qtconsole        : not installed
traitlets        : 5.9.0
  • Language server and version: pylsp v1.8.0
Required: installed server extensions
Paste the output from running `jupyter server extension list` (JupyterLab >= 3)
or `jupyter serverextension list` (JupyterLab < 3) from the command line here.
You may want to sanitize the paths in the output.
Config dir: /home/**************/.jupyter

Config dir: /usr/etc/jupyter

Config dir: /usr/local/etc/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 v4.0.8
/usr/share/jupyter/labextensions
        jupyterlab_pygments v0.2.2 enabled  X (python, jupyterlab_pygments)
        jupyter-matplotlib v0.11.3 enabled OK
        @jupyter-lsp/jupyterlab-lsp v4.2.0 enabled OK (python, jupyterlab-lsp)
        @jupyter-widgets/jupyterlab-manager v5.0.9 enabled OK (python, jupyterlab_widgets)


   The following extensions are outdated:
        jupyterlab_pygments

   Consider checking if an update is available for these packages.
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.
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.

@minhnguyent546
Copy link

I have the same issue on archlinux 6.7.8. Have you solved it yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants