-
Notifications
You must be signed in to change notification settings - Fork 320
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 #1333
Comments
Just tried installing this extension for the first time, in a freshly-installed JupyterHub instance, and immediately hit this issue. Are you able to reproduce this @Zsailer et al.? |
I had the same issue in jupyterhub. Restarted the server resolved it. |
Restarting did not resolve the issue for me. |
i don't know if this was the reason. But I saw that version 0.50.1 failed to be published on conda-forge. It is done now. Does that solve your issue? |
No, that didn’t fix this issue. It should be easy to check that this is still broken. Just try installing jupyterlab-git in a fresh jupyterlab instance (eg using the Extensions tab in the UI) then observe that every time you load the UI you get the error “Failed to load the jupyterlab-git server extension”. |
@jab I deployed hundreds of JupyterLab servers and did not encounter this issue. Your problem may be that you are installing the extension too late, this is after the single user server has started. Alternatively, you may be running the legacy notebook server instead of jupyter-server. Running |
@krassowski (base) jovyan@bc4396815f67:~$ jupyter server extension list
Config dir: /home/jovyan/.jupyter
Config dir: /opt/conda/etc/jupyter
jupyter_lsp enabled
- Validating jupyter_lsp...
jupyter_lsp 2.2.5 OK
jupyter_server_mathjax enabled
- Validating jupyter_server_mathjax...
jupyter_server_mathjax OK
jupyter_server_terminals enabled
- Validating jupyter_server_terminals...
jupyter_server_terminals 0.5.3 OK
jupyterlab enabled
- Validating jupyterlab...
jupyterlab 4.2.3 OK
jupyterlab_git enabled
- Validating jupyterlab_git...
jupyterlab_git 0.50.1 OK
nbclassic enabled
- Validating nbclassic...
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 1.1.0 OK
nbdime enabled
- Validating nbdime...
nbdime 4.0.1 OK
notebook enabled
- Validating notebook...
notebook 7.2.1 OK
notebook_shim enabled
- Validating notebook_shim...
notebook_shim OK
Config dir: /usr/local/etc/jupyter |
@xiongjiamu I guess the best approach is to build custom image based on quay.io/jupyter/base-notebook and include git there, but did not check it. I am fine with heavier datascience image. |
So if this requires git then I assume it will fail to load in JupyterLite, which seems to be a natural place to want to synch with eg GitHub repos? |
Trying to run JupyterLab with the latest package in a clean Docker build, I get:
The text was updated successfully, but these errors were encountered: