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

Failed to load the jupyterlab-git server extension #1237

Open
GretaVilla opened this issue Apr 26, 2023 · 7 comments
Open

Failed to load the jupyterlab-git server extension #1237

GretaVilla opened this issue Apr 26, 2023 · 7 comments

Comments

@GretaVilla
Copy link

I'm using an Azure virtual machine. In jupyter lab I downloaded the git extension with:
pip install jupyterlab-git
and downloaded @jupyterlab/git from the extension manager.

After refresh I get the following error:
"Git server extension is unavailable. Please ensure you have installed the JupyterLab Git server extension by running: pip install --upgrade jupyterlab-git. To confirm that the server extension is installed, run: jupyter server extension list."

image

I did run pip install --upgrade jupyterlab-git and everything seems fine, requirements were already installed.
From the output of jupyter server extension list I can correctly see the extension:

imageimage

@welcome
Copy link

welcome bot commented Apr 26, 2023

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@HananInfiniGrow
Copy link

HananInfiniGrow commented Apr 30, 2023

I have the same issue. Both front and backend version is v0.41.0

> sudo jupyter server extension list
Config dir: /root/.jupyter

Config dir: /usr/etc/jupyter

Config dir: /usr/local/etc/jupyter
    jupyter_server_fileid enabled
    - Validating jupyter_server_fileid...
Package jupyter_server_fileid took 0.0014s to import
      jupyter_server_fileid 0.9.0 OK
    jupyter_server_mathjax enabled
    - Validating jupyter_server_mathjax...
Package jupyter_server_mathjax took 0.0006s to import
      jupyter_server_mathjax  OK
    jupyter_server_terminals enabled
    - Validating jupyter_server_terminals...
Package jupyter_server_terminals took 0.0028s to import
      jupyter_server_terminals 0.4.4 OK
    jupyter_server_ydoc enabled
    - Validating jupyter_server_ydoc...
Package jupyter_server_ydoc took 0.0142s to import
      jupyter_server_ydoc 0.8.0 OK
    jupyterlab enabled
    - Validating jupyterlab...
Package jupyterlab took 0.0361s to import
      jupyterlab 3.6.3 OK
    jupyterlab_git enabled
    - Validating jupyterlab_git...
Package jupyterlab_git took 0.0158s to import
      jupyterlab_git 0.41.0 OK
    nbclassic enabled
    - Validating nbclassic...
Package nbclassic took 0.0000s to import
A `_jupyter_server_extension_points` function was not found in nbclassic. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
      nbclassic 0.5.6 OK
    nbdime enabled
    - Validating nbdime...
Package nbdime took 0.0000s to import
      nbdime 3.2.0 OK
    notebook_shim enabled
    - Validating notebook_shim...
Package notebook_shim took 0.0000s to import
A `_jupyter_server_extension_points` function was not found in notebook_shim. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
      notebook_shim  OK
JupyterLab v3.6.3
/usr/local/share/jupyter/labextensions
        jupyterlab_pygments v0.2.2 enabled OK (python, jupyterlab_pygments)
        nbdime-jupyterlab v2.2.0 enabled OK
        @jupyterlab/git v0.41.0 enabled OK (python, jupyterlab-git)

Other labextensions (built into JupyterLab)
   app dir: /usr/local/share/jupyter/lab

@fcollonval
Copy link
Member

Could you please execute JupyterLab in debug mode (CLI option --debug) and provide here the server logs?

@HananInfiniGrow
Copy link

HananInfiniGrow commented May 3, 2023 via email

@GretaVilla
Copy link
Author

I'm running jupyterLab from an Azure ML compute instance, which automatically opens JupyterLab. I'm not sure how to turn on debugging

@HYBG-1126
Copy link

I have the same issue,but i don't know what should i do;

@picarro-nrandolph
Copy link

picarro-nrandolph commented Jan 11, 2024

I'm having this issue in AWS SageMaker. Here's the output from the debug command:

jupyter-lab-debug-output.txt

related packages in environment:
image

git version:
image

extension status:
image

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

No branches or pull requests

5 participants