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

No collaborator panel in development mode #283

Closed
davidbrochart opened this issue Apr 16, 2024 · 3 comments · Fixed by #285
Closed

No collaborator panel in development mode #283

davidbrochart opened this issue Apr 16, 2024 · 3 comments · Fixed by #285
Labels
bug Something isn't working

Comments

@davidbrochart
Copy link
Collaborator

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
@davidbrochart davidbrochart added the bug Something isn't working label Apr 16, 2024
@martinRenou
Copy link
Member

Do you have a JavaScript error message in the console?

What does jupyter labextension list give you?

@davidbrochart
Copy link
Collaborator Author

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

@brichet
Copy link
Contributor

brichet commented Apr 16, 2024

@davidbrochart it should be fixed with #285

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants