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

Unable to render dashboard (404) when using JupyterLab with Real Time Collaboration enabled #1419

Open
jrouly opened this issue Nov 17, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@jrouly
Copy link

jrouly commented Nov 17, 2023

Description

Voila extension is incompatible with JupyterLab "real time collaboration" (RTC) mode.

Reproduce

  1. Run jupyterlab with jupyter-collaboration installed and enabled (--LabApp.collaborative=True).
  2. Start up a notebook and hit the voila button to bring up a new side panel with the rendered dashboard.
  3. Get a JupyterHub 404 error (404: Not Found You are requesting a page that does not exist!)

It seems like this is due to the URL for RTC notebooks including the prefix RTC: before the notebook filename (RTC:Untitled.ipynb).

I think this may be an underlying issue in jupyterlab (see this issue or this issue but I'm reporting it here for completeness.

Expected behavior

Dashboard renders.

Context

$ jupyter --version
Selected Jupyter core packages...
IPython          : 8.17.2
ipykernel        : 6.26.0
ipywidgets       : 8.1.1
jupyter_client   : 8.6.0
jupyter_core     : 5.5.0
jupyter_server   : 2.10.1
jupyterlab       : 4.0.8
nbclient         : 0.7.4
nbconvert        : 7.11.0
nbformat         : 5.9.2
notebook         : 7.0.6
qtconsole        : not installed
traitlets        : 5.13.0

If using JupyterLab

  • JupyterLab version: 4.0.8
$ jupyter lab extension list
...
    voila.server_extension enabled
    - Validating voila.server_extension...
Package voila.server_extension took 0.0977s to import
      voila.server_extension  OK
    voila enabled
    - Validating voila...
Package voila took 0.0000s to import
      voila 0.5.5 OK
@jrouly jrouly added the bug Something isn't working label Nov 17, 2023
@jrouly jrouly changed the title Unable to Unable to render dashboard (404) when using JupyterLab with Real Time Collaboration enabled Nov 17, 2023
@jrouly
Copy link
Author

jrouly commented Nov 21, 2023

Looks like upstream contributors view this as not their problem -- it's an issue in downstream extensions (like voila).

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

No branches or pull requests

1 participant