Closed emhl closed 2 years ago
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
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.
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! :wave:
Welcome to the Jupyter community! :tada:
Here's the webserver output as well:
labicon.jss:58 Redefining previously loaded icon svgstr. name: git, svgstrOld: , svgstr: j @ labicon.jss:58 labicon.jss:58 Redefining previously loaded icon svgstr. name: git:add, svgstrOld: , svgstr: j @ labicon.jss:58 labicon.jss:58 Redefining previously loaded icon svgstr. name: git:branch, svgstrOld: , svgstr: j @ labicon.jss:58 labicon.jss:58 Redefining previously loaded icon svgstr. name: git:clone, svgstrOld: , svgstr: j @ labicon.jss:58 labicon.jss:58 Redefining previously loaded icon svgstr. name: git:deletions, svgstrOld: , svgstr: j @ labicon.jss:58 labicon.jss:58 Redefining previously loaded icon svgstr. name: git:desktop, svgstrOld: , svgstr: j @ labicon.jss:58 labicon.jss:58 Redefining previously loaded icon svgstr. name: git:diff, svgstrOld: , svgstr: j @ labicon.jss:58 labicon.jss:58 Redefining previously loaded icon svgstr. name: git:discard, svgstrOld: , svgstr: j @ labicon.jss:58 labicon.jss:58 Redefining previously loaded icon svgstr. name: git:insertions, svgstrOld: , svgstr: j @ labicon.jss:58 labicon.jss:58 Redefining previously loaded icon svgstr. name: git:open-file, svgstrOld: , svgstr: j @ labicon.jss:58 labicon.jss:58 Redefining previously loaded icon svgstr. name: git:pull, svgstrOld: , svgstr: j @ labicon.jss:58 labicon.jss:58 Redefining previously loaded icon svgstr. name: git:push, svgstrOld: , svgstr: j @ labicon.jss:58 labicon.jss:58 Redefining previously loaded icon svgstr. name: git:remove, svgstrOld: , svgstr: j @ labicon.jss:58 labicon.jss:58 Redefining previously loaded icon svgstr. name: git:rewind, svgstrOld: , svgstr: j @ labicon.jss:58 labicon.jss:58 Redefining previously loaded icon svgstr. name: git:tag, svgstrOld: , svgstr: j @ labicon.jss:58 labicon.jss:58 Redefining previously loaded icon svgstr. name: git:trash, svgstrOld: , svgstr: j @ labicon.jss:58 index.es6.jss:282 Plugin '@jupyterlab/git:clone' failed to activate. (anonymous) @ index.es6.jss:282 index.es6.jss:283 Error: No provider for: jupyter.extensions.git_plugin. at W.e.resolveRequiredService (static/lab/jlab_core.b5c5f704a59f47233d51.js?v=b5c5f704a59f47233d51:2:1321385) at static/lab/jlab_core.b5c5f704a59f47233d51.js?v=b5c5f704a59f47233d51:2:1320942 at Array.map () at W.e.activatePlugin (static/lab/jlab_core.b5c5f704a59f47233d51.js?v=b5c5f704a59f47233d51:2:1320916) at static/lab/jlab_core.b5c5f704a59f47233d51.js?v=b5c5f704a59f47233d51:2:1322108 at Array.map ( ) at W.e.start (static/lab/jlab_core.b5c5f704a59f47233d51.js?v=b5c5f704a59f47233d51:2:1322082) at H (static/lab/7796.231483329f166601248a.js?v=231483329f166601248a:1:8988) (anonymous) @ index.es6.jss:283 dialog.jss:34 Showing error: Object D @ dialog.jss:34 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 api/metrics/v1?1647728524747:1 Failed to load resource: the server responded with a status of 404 () git/settings?version=0.30.0&1647728524890:1 Failed to load resource: the server responded with a status of 404 () api/metrics/v1?1647728525036:1 Failed to load resource: the server responded with a status of 404 () settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 git.jss:59 Not a JSON response body. Response index.jss:76 Failed to load the jupyterlab-git server extension settings 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 serverextension list. at jt (static/lab/6839.bede31058c15edbba232.js?v=bede31058c15edbba232:1:64195) at async bn (static/lab/6839.bede31058c15edbba232.js?v=bede31058c15edbba232:1:134668) at async Promise.all (index 126) bn @ index.jss:76 dialog.jss:34 Showing 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 serverextension list. D @ dialog.jss:34 364.7873ab3b4f6c579588c7.js:1 TypeError: Cannot convert undefined or null to object at Function.entries ( ) at vn.fetchSessions (lab/extensions/@krassowski/jupyterlab-lsp/static/364.7873ab3b4f6c579588c7.js:1:147217) fetchSessions @ 364.7873ab3b4f6c579588c7.js:1 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object (anonymous) @ settingregistry.jss:824 api/metrics/v1?1647728527235:1 Failed to load resource: the server responded with a status of 404 () settingregistry.jss:824 Skipping this default shortcut because it collides with another default shortcut. Object
You are trying to install incompatible extension:
@jupyterlab/git v0.34.2 enabled OK (python, jupyterlab-git)
@datalayer-jupyter/jupyterlab-git v0.30.0 enabled OK
You need to remove @datalayer-jupyter/jupyterlab-git
i removed the extension, but i still get the first error message when reloading the page. following the instruction of the message and rebuilding doesn't change anything about that.
Name: jupyterlab-git
Version: 0.36.0
Summary: A JupyterLab extension for version control using git
Home-page: https://github.com/jupyterlab/jupyterlab-git
Author: Jupyter Development Team
Author-email:
License: BSD-3-Clause
Location: /opt/conda/lib/python3.9/site-packages
Requires: jupyter-server, nbdime, nbformat, packaging, pexpect
Required-by:
- Extension Version:
````(base) root@05e5a8878043:/srv/ubuntu# jupyter labextension list
JupyterLab v3.3.2
/opt/conda/share/jupyter/labextensions
jupyter-matplotlib v0.10.5 enabled OK
jupyterlab-system-monitor v0.8.0 enabled OK (python, jupyterlab-system-monitor)
jupyterlab-topbar-extension v0.6.1 enabled OK (python, jupyterlab-topbar)
nbdime-jupyterlab v2.1.1 enabled OK
jupyterlab-theme-solarized-dark v2.0.1 enabled OK (python, jupyterlab_theme_solarized_dark)
@jupyter-widgets/jupyterlab-manager v3.1.0 enabled OK (python, jupyterlab_widgets)
@krassowski/jupyterlab-lsp v3.9.0 enabled OK (python, jupyterlab-lsp)
@jupyterlab/git v0.36.0 enabled OK (python, jupyterlab-git)
@jupyter-server/resource-usage v0.6.1 enabled OK (python, jupyter-resource-usage)
Other labextensions (built into JupyterLab)
app dir: /opt/conda/share/jupyter/lab
@jupyterlab/debugger v3.3.2 disabled OK
spreadsheet-editor v0.6.1 enabled OK
Disabled extensions:
@jupyterlab/debugger (all plugins)
Would you mind providing the result of commands jupyter server extension list
and jupyter serverextension list
?
here are the outputs of those commands. hope they help
(base) root@05e5a8878043:/srv/ubuntu# jupyter server extension list
Config dir: /home/jovyan/.jupyter
jupyterlab_git enabled
- Validating jupyterlab_git...
jupyterlab_git 0.36.0 OK
/opt/conda/lib/python3.9/site-packages/jupyter_lsp/types.py:193: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
nodejs = Unicode(help=_("path to nodejs executable")).tag(config=True)
/opt/conda/lib/python3.9/site-packages/jupyter_lsp/types.py:195: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
node_roots = List_([], help=_("absolute paths in which to seek node_modules")).tag(
/opt/conda/lib/python3.9/site-packages/jupyter_lsp/types.py:200: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
[], help=_("additional absolute paths to seek node_modules first")
/opt/conda/lib/python3.9/site-packages/jupyter_lsp/manager.py:41: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
help=_("extra language server specs, keyed by implementation, from conf.d"),
/opt/conda/lib/python3.9/site-packages/jupyter_lsp/manager.py:46: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
help=_("a dict of language server specs, keyed by implementation"),
/opt/conda/lib/python3.9/site-packages/jupyter_lsp/manager.py:52: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
True, help=_("try to find known language servers in sys.prefix (and elsewhere)")
Config dir: /opt/conda/etc/jupyter
jupyter_kite enabled
- Validating jupyter_kite...
jupyter_kite 2.0.2 OK
jupyter_lsp enabled
- Validating jupyter_lsp...
jupyter_lsp 1.4.1 OK
jupyter_resource_usage enabled
- Validating jupyter_resource_usage...
jupyter_resource_usage 0.6.1 OK
jupyter_server_mathjax enabled
- Validating jupyter_server_mathjax...
jupyter_server_mathjax OK
jupyterlab enabled
- Validating jupyterlab...
jupyterlab 3.3.2 OK
jupyterlab_git enabled
- Validating jupyterlab_git...
jupyterlab_git 0.36.0 OK
nbclassic enabled
- Validating nbclassic...
nbclassic OK
nbdime enabled
- Validating nbdime...
nbdime 3.1.1 OK
notebook_shim enabled
- Validating notebook_shim...
notebook_shim OK
Config dir: /usr/local/etc/jupyter
(base) root@05e5a8878043:/srv/ubuntu# jupyter serverextension list
config dir: /opt/conda/etc/jupyter
jupyter_lsp enabled
- Validating...
/opt/conda/lib/python3.9/site-packages/jupyter_lsp/types.py:193: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
nodejs = Unicode(help=_("path to nodejs executable")).tag(config=True)
/opt/conda/lib/python3.9/site-packages/jupyter_lsp/types.py:195: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
node_roots = List_([], help=_("absolute paths in which to seek node_modules")).tag(
/opt/conda/lib/python3.9/site-packages/jupyter_lsp/types.py:200: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
[], help=_("additional absolute paths to seek node_modules first")
/opt/conda/lib/python3.9/site-packages/jupyter_lsp/manager.py:41: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
help=_("extra language server specs, keyed by implementation, from conf.d"),
/opt/conda/lib/python3.9/site-packages/jupyter_lsp/manager.py:46: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
help=_("a dict of language server specs, keyed by implementation"),
/opt/conda/lib/python3.9/site-packages/jupyter_lsp/manager.py:52: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
True, help=_("try to find known language servers in sys.prefix (and elsewhere)")
jupyter_lsp 1.4.1 OK
jupyter_resource_usage enabled
- Validating...
jupyter_resource_usage 0.6.1 OK
jupyterlab enabled
- Validating...
jupyterlab 3.3.2 OK
jupyterlab_git enabled
- Validating...
jupyterlab_git 0.36.0 OK
nbdime enabled
- Validating...
nbdime 3.1.1 OK
nbresuse enabled
- Validating...
nbresuse OK
Ok I'm lost - everything looks fine.
Could you run jupyter lab in debug mode and report here the server log? You need to execute jupyter lab --debug
for that. And could you look at errors in the web browser console too?
i don't know what i did (exept for manually killing all the jupyter lab processes), but somehow it works now. thanks <3
i don't know what i did (exept for manually killing all the jupyter lab processes), but somehow it works now. thanks <3
Hi, Just wanted to say I had the same issue and it was fixed by shutting down my JupyterLab notebook and restarting it :)
Yes had same issue and had to restart the Jupyterhub which kills all jupyterlab users sessions.
Killing the Jupyter Lab session, then restarting it, made it work for me.
Killing the session and restarting also resolved it for me.
Description
i have tried multiple times to install jupyterlab_git when installing with pip i get the following error:
when installing with conda i get an error with the following message as well:
Context
Other labextensions (built into JupyterLab) app dir: /opt/conda/share/jupyter/lab @datalayer-jupyter/jupyterlab-git v0.30.0 enabled OK @jupyterlab/debugger v3.3.2 disabled OK spreadsheet-editor v0.6.1 enabled OK
Disabled extensions: @jupyterlab/debugger (all plugins)
git version 2.25.1