jupyterlab / jupyter-collaboration

A Jupyter Server Extension Providing Support for Y Documents

Home Page:https://jupyterlab-realtime-collaboration.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No collaborator panel in development mode

davidbrochart opened this issue · comments

Description

After setting up a development environment, JupyterLab doesn't show the collaborator panel. Collaborating on a notebook works fine though.
Am I missing something?

Reproduce

pip install -e .
pip install -e projects/jupyter-collaboration-ui -e projects/jupyter-docprovider -e projects/jupyter-server-ydoc
jupyter labextension develop --overwrite projects/jupyter-collaboration-ui
jupyter labextension develop --overwrite projects/jupyter-docprovider

Do you have a JavaScript error message in the console?

What does jupyter labextension list give you?

It seems that it depends on the installation order:

$ pip install -e .
$ pip install -e projects/jupyter-collaboration-ui -e projects/jupyter-docprovider -e projects/jupyter-server-ydoc
$ pip install jupyterlab
$ jupyter labextension develop --overwrite projects/jupyter-collaboration-ui
$ jupyter labextension develop --overwrite projects/jupyter-docprovider

jupyter-collaboration is not installed:

$ jupyter labextension list
JupyterLab v4.1.6
/home/david/micromamba/envs/jupyter-collaboration/share/jupyter/labextensions
        jupyterlab_pygments v0.3.0 enabled OK (python, jupyterlab_pygments)
        @jupyter/docprovider-extension v3.0.0-alpha.0 enabled OK


Disabled extensions:
    @jupyterlab/filebrowser-extension:defaultFileBrowser
    @jupyterlab/notebook-extension:cell-executor

After reinstalling it with jupyter labextension develop --overwrite projects/jupyter-collaboration-ui, now it works:

$ jupyter labextension list
JupyterLab v4.1.6
/home/david/micromamba/envs/jupyter-collaboration/share/jupyter/labextensions
        jupyterlab_pygments v0.3.0 enabled OK (python, jupyterlab_pygments)
        @jupyter/collaboration-extension v3.0.0-alpha.0 enabled OK
        @jupyter/docprovider-extension v3.0.0-alpha.0 enabled OK (python, jupyter-docprovider)


Disabled extensions:
    @jupyterlab/filebrowser-extension:defaultFileBrowser
    @jupyterlab/notebook-extension:cell-executor

@davidbrochart it should be fixed with #285