Skip to content

Rise slides not rendered with ipywidgets>=8.0.0 #119

@anciaux

Description

@anciaux

Description

With ipywidgets>=8.0.0, when clicking the rise button in jupyter lab, the tab appears but the content stays empty.
I noticed that with ipywidgets==7.8.5 it works fine.

Reproduce

Ensure the latest ipywidgets is installed and launch jupyterlab. Open a notebook and click the rise button.

Expected behavior

Should render the slides.

Context

python 3.12.9

jupyter --version
Selected Jupyter core packages...
IPython : 9.6.0
ipykernel : 6.30.1
ipywidgets : 8.1.7
jupyter_client : 8.6.3
jupyter_core : 5.8.1
jupyter_server : 2.17.0
jupyterlab : 4.4.9
nbclient : 0.6.3
nbconvert : 7.16.6
nbformat : 5.10.4
notebook : 7.4.7
qtconsole : 5.7.0
traitlets : 5.14.3

jupyter labextension list
JupyterLab v4.4.9
.pyenv/versions/3.12.9/share/jupyter/labextensions
jupyter-matplotlib v0.11.7 enabled OK
jupyterlab-datawidgets v7.1.2 enabled OK
jupyterlab-rise v0.43.1 enabled OK (python, jupyterlab_rise)
jupyterlab_pygments v0.3.0 enabled OK (python, jupyterlab_pygments)
@pyviz/jupyterlab_pyviz v3.0.4 enabled OK
@jupyter-widgets/jupyterlab-manager v3.1.11 enabled OK (python, jupyterlab_widgets)
@jupyter-notebook/lab-extension v7.4.7 enabled OK

Other labextensions (built into JupyterLab)
app dir: .pyenv/versions/3.12.9/share/jupyter/lab

uname -a
Linux lsmspc35 6.16.9+deb14-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.16.9-1 (2025-09-27) x86_64 GNU/Linux

firefox --version
Mozilla Firefox 143.0.3

Command Line Output
[I 2025-10-09 08:39:06.326 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2025-10-09 08:39:06.328 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2025-10-09 08:39:06.330 ServerApp] jupyterlab | extension was successfully linked.
[I 2025-10-09 08:39:06.332 ServerApp] jupyterlab_rise | extension was successfully linked.
[I 2025-10-09 08:39:06.335 ServerApp] nbclassic | extension was successfully linked.
[I 2025-10-09 08:39:06.337 ServerApp] notebook | extension was successfully linked.
[I 2025-10-09 08:39:06.501 ServerApp] notebook_shim | extension was successfully linked.
[I 2025-10-09 08:39:06.501 ServerApp] panel.io.jupyter_server_extension | extension was successfully linked.
[I 2025-10-09 08:39:06.517 ServerApp] notebook_shim | extension was successfully loaded.
[I 2025-10-09 08:39:06.519 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2025-10-09 08:39:06.519 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2025-10-09 08:39:06.522 LabApp] JupyterLab extension loaded from .pyenv/versions/3.12.9/lib/python3.12/site-packages/jupyterlab
[I 2025-10-09 08:39:06.522 LabApp] JupyterLab application directory is .pyenv/versions/3.12.9/share/jupyter/lab
[I 2025-10-09 08:39:06.522 LabApp] Extension Manager is 'pypi'.
[I 2025-10-09 08:39:06.569 ServerApp] jupyterlab | extension was successfully loaded.
[I 2025-10-09 08:39:06.570 ServerApp] jupyterlab_rise | extension was successfully loaded.
[I 2025-10-09 08:39:06.572 ServerApp] nbclassic | extension was successfully loaded.
[I 2025-10-09 08:39:06.574 ServerApp] notebook | extension was successfully loaded.
[I 2025-10-09 08:39:06.574 ServerApp] panel.io.jupyter_server_extension | extension was successfully loaded.
[I 2025-10-09 08:39:06.575 ServerApp] Serving notebooks from local directory: repositories/sp4e-class-material/lectures
[I 2025-10-09 08:39:06.575 ServerApp] Jupyter Server 2.17.0 is running at:
[I 2025-10-09 08:39:06.575 ServerApp] http://localhost:8888/lab?token=b22b63397e38a33fb5d7216f1271033a876342f6004aa862
[I 2025-10-09 08:39:06.575 ServerApp]     http://127.0.0.1:8888/lab?token=b22b63397e38a33fb5d7216f1271033a876342f6004aa862
[I 2025-10-09 08:39:06.575 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2025-10-09 08:39:06.600 ServerApp] 
To access the server, open this file in a browser:
    file://.local/share/jupyter/runtime/jpserver-14069-open.html
Or copy and paste one of these URLs:
    http://localhost:8888/lab?token=b22b63397e38a33fb5d7216f1271033a876342f6004aa862
    http://127.0.0.1:8888/lab?token=b22b63397e38a33fb5d7216f1271033a876342f6004aa862

[I 2025-10-09 08:39:06.936 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server
[I 2025-10-09 08:39:08.866 LabApp] Build is up to date
[W 2025-10-09 08:39:09.166 ServerApp] Notebook topics/python-object-oriented.ipynb is not trusted
[W 2025-10-09 08:39:09.502 ServerApp] 404 GET /figures/objects.png ([email protected]) 12.59ms referer=http://localhost:8888/lab
[I 2025-10-09 08:39:09.779 ServerApp] Kernel started: 0bc00499-30d6-4390-8e64-dce8103e601c
[I 2025-10-09 08:39:10.185 ServerApp] Connecting to kernel 0bc00499-30d6-4390-8e64-dce8103e601c.
[I 2025-10-09 08:39:10.196 ServerApp] Connecting to kernel 0bc00499-30d6-4390-8e64-dce8103e601c.
.pyenv/versions/3.12.9/bin/python3.12: No module named pyls.main; 'pyls' is a package and cannot be directly executed
[W 2025-10-09 08:39:10.561 ServerApp] Notebook topics/python-object-oriented.ipynb is not trusted
[I 2025-10-09 08:39:10.698 ServerApp] Connecting to kernel 0bc00499-30d6-4390-8e64-dce8103e601c.
[I 2025-10-09 08:39:17.732 ServerApp] Starting buffering for 0bc00499-30d6-4390-8e64-dce8103e601c:3c78df1c-f550-422b-846a-e0d7da2e393c

Web Browser Output
Unsatisfied version 2.2.1 from @jupyterlab/application-top of shared singleton module @lumino/coreutils (required ^1.11.0) [remoteEntry.df0c23d97ca6f9d47cab.js:1:4999](http://localhost:8888/lab/extensions/jupyterlab-datawidgets/static/remoteEntry.df0c23d97ca6f9d47cab.js)
Deprecated shortcut selectors: ".jp-Notebook:focus" was replaced with ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus" in JupyterLab 4.1 (present in ".lm-Widget.reveal .jp-Notebook:focus")
".jp-Notebook:focus" was replaced with ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus" in JupyterLab 4.1 (present in ".jp-Notebook:focus")

The selectors will be substituted transparently this time, but need to be updated at source before next major release. jlab_core.3848fab95c3700a4e3fe.js:1:1566991
Starting application in workspace: "default" jlab_core.3848fab95c3700a4e3fe.js:1:9877
JupyterLab extension jupyterlab-rise is activated! 175.28968382b312b9d0fb03.js:1:6801
Unsatisfied version 0.16.7 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyter/web-components (required ~0.13.3) consumes:70:62
Unsatisfied version 0.16.7 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyter/react-components (required ~0.13.3) consumes:70:62
Unsatisfied version 3.0.2 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyter/ydoc (required ~1.1.1) consumes:70:62
Theme is light based on '--jp-layout-color1' value: white. applyTheme.js:161:25
Unsatisfied version 2.2.0 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @lumino/coreutils (required ^1.11.0) remoteEntry.df0c23d97ca6f9d47cab.js:1:4999
Unsatisfied version 4.3.4 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/logconsole (required ^4.4.1) remoteEntry.35b6c65bd99dab37b910.js:1:7250
Unsatisfied version 4.3.4 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/rendermime (required ^4.4.1) remoteEntry.35b6c65bd99dab37b910.js:1:7250
Unsatisfied version 4.3.4 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/notebook (required ^4.4.1) remoteEntry.35b6c65bd99dab37b910.js:1:7250
Unsatisfied version 4.3.4 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/translation (required ^4.4.1) remoteEntry.35b6c65bd99dab37b910.js:1:7250
Unsatisfied version 7.3.4 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/services (required ^7.4.1) remoteEntry.35b6c65bd99dab37b910.js:1:7250
No satisfying version (^4.4.1) of shared module @jupyterlab/outputarea found in shared scope default.
Available versions: 4.3.4 from _JUPYTERLAB.CORE_OUTPUT remoteEntry.35b6c65bd99dab37b910.js:1:7250
Unsatisfied version 4.3.4 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/settingregistry (required ^4.4.1) remoteEntry.35b6c65bd99dab37b910.js:1:7250
Unsatisfied version 4.3.4 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/mainmenu (required ^4.4.1) remoteEntry.35b6c65bd99dab37b910.js:1:7250
Unsatisfied version 4.3.4 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/application (required ^4.4.9) remoteEntry.7b426e34c9bd9f45e6dc.js:1:5810
Unsatisfied version 4.3.4 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/translation (required ^4.4.9) remoteEntry.7b426e34c9bd9f45e6dc.js:1:5810
Unsatisfied version 6.3.4 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/coreutils (required ^6.4.9) remoteEntry.7b426e34c9bd9f45e6dc.js:1:5810
Unsatisfied version 4.4.4 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/apputils (required ^4.5.9) remoteEntry.7b426e34c9bd9f45e6dc.js:1:5810
Unsatisfied version 4.3.4 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/ui-components (required ^4.4.9) remoteEntry.7b426e34c9bd9f45e6dc.js:1:5810
Unsatisfied version 4.3.4 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/notebook (required ^4.4.9) remoteEntry.7b426e34c9bd9f45e6dc.js:1:5810
No satisfying version (^4.4.9) of shared module @jupyterlab/docregistry found in shared scope default.
Available versions: 4.3.4 from _JUPYTERLAB.CORE_OUTPUT remoteEntry.7b426e34c9bd9f45e6dc.js:1:5810
Unsatisfied version 4.3.4 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/rendermime (required ^4.4.9) remoteEntry.7b426e34c9bd9f45e6dc.js:1:5810
Starting WebSocket: ws://localhost:8888/api/kernels/06bc4431-6dd4-422a-84fb-25141548c374 2 jlab_core.3848fab95c3700a4e3fe.js:1:1425024
Failed to create module: package: @jupyter-widgets/jupyterlab-manager; module: ./extension index.js:58:13
Error: Shared module @jupyterlab/console doesn't exist in shared scope default
b remoteEntry.35b6c65bd99dab37b910.js:1
g remoteEntry.35b6c65bd99dab37b910.js:1
g remoteEntry.35b6c65bd99dab37b910.js:1
w remoteEntry.35b6c65bd99dab37b910.js:1
v remoteEntry.35b6c65bd99dab37b910.js:1
1378 remoteEntry.35b6c65bd99dab37b910.js:1
consumes remoteEntry.35b6c65bd99dab37b910.js:1
consumes remoteEntry.35b6c65bd99dab37b910.js:1
e remoteEntry.35b6c65bd99dab37b910.js:1
e remoteEntry.35b6c65bd99dab37b910.js:1
I remoteEntry.35b6c65bd99dab37b910.js:1
h remoteEntry.2ef60efce0f2dfb0beaf.js:1
s remoteEntry.2ef60efce0f2dfb0beaf.js:1
g remoteEntry.2ef60efce0f2dfb0beaf.js:1
b remoteEntry.2ef60efce0f2dfb0beaf.js:1
294 remoteEntry.2ef60efce0f2dfb0beaf.js:1
consumes remoteEntry.2ef60efce0f2dfb0beaf.js:1
consumes remoteEntry.2ef60efce0f2dfb0beaf.js:1
e remoteEntry.2ef60efce0f2dfb0beaf.js:1
e remoteEntry.2ef60efce0f2dfb0beaf.js:1
extension remoteEntry.2ef60efce0f2dfb0beaf.js:1
a remoteEntry.2ef60efce0f2dfb0beaf.js:1
t index.js:55
80458 index.js:198
80458 index.js:189
index.js:228:15
Plugin 'matplotlib-jupyter:main' failed to activate. TypeError: No provider for: jupyter.extensions.jupyterWidgetRegistry.
resolveRequiredService index.js:574
i index.js:453
activatePlugin index.js:453
t index.js:494
activatePlugins index.js:492
start index.es6.js:248
80458 index.js:258
index.js:497:37
Plugin 'jupyter.extensions.datawidgets' failed to activate. TypeError: No provider for: jupyter.extensions.jupyterWidgetRegistry.
resolveRequiredService index.js:574
i index.js:453
activatePlugin index.js:453
t index.js:494
activatePlugins index.js:492
start index.es6.js:248
80458 index.js:258
index.js:497:37
Starting WebSocket: ws://localhost:8888/api/kernels/06bc4431-6dd4-422a-84fb-25141548c374 jlab_core.3848fab95c3700a4e3fe.js:1:1425024
Two matching servers: pyls and pylsp have the same rank; choose which one to use by changing the rank in Advanced Settings Editor jlab_core.3848fab95c3700a4e3fe.js:1:1004895
Language pack 'en_US' not installed! manager.js:49:21
Deprecated shortcut selectors: ".jp-Notebook:focus" was replaced with ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus" in JupyterLab 4.1 (present in ".lm-Widget.reveal .jp-Notebook:focus")
".jp-Notebook:focus" was replaced with ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus" in JupyterLab 4.1 (present in ".jp-Notebook:focus")

The selectors will be substituted transparently this time, but need to be updated at source before next major release. settingregistry.js:1201:21
JupyterLab extension jupyterlab-rise is activated! 175.28968382b312b9d0fb03.js:1:6801
Uncaught (in promise) TypeError: can't access property "DisposableDelegate", p is undefined
te 446.f8696ce72124c78273da.js:1
createNew 30.75d820ce1270e3eada12.js:1
_initializeWidget widgetmanager.js:103
createWidget widgetmanager.js:89
_createOrOpenDocument manager.js:562
open manager.js:375
activate rise.js:61
446.f8696ce72124c78273da.js:1:83423
Starting WebSocket: ws://localhost:8888/api/kernels/06bc4431-6dd4-422a-84fb-25141548c374 default.js:69:21
Uncaught (in promise) TypeError: can't access property "widgetManagerProperty", pe is undefined
r http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/446.f8696ce72124c78273da.js?v=f8696ce72124c78273da:1
446.f8696ce72124c78273da.js:1:83120
Connection to topics/python-object-oriented.ipynb timed out after 30 seconds, will continue retrying for another 5 minutes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions