reopen notebook ipywidget in jlab - Error creating widget: could not find model
See original GitHub issueI am using:
- JupyterLab v0.26.5
- @jupyter-widgets/jupyterlab-manager@0.26.0
- ipywidgets-7.0.0
- widgetsnbextension-3.0.0
I created a notebook with Jupyterlab and some ipywidgets - Textbox and int slider. When I close the notebook and reopen the notebook, the kernel is still attached but the widget has disappeared and instead shows:
Error creating widget: could not find model
In the notebook, when I close the notebook and reopen it the values in the Textbox and slider are persistent and do not get deleted. Here, to even see the widget again I have to re-run the cell
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How can I overcome "Error: Object 'jupyter.widget' not found in ...
I am trying to display widgets using e.g. from ipywidgets import interact @interact(x=(0, 100, 10) ...
Read more >jupyterlab/jupyterlab - Gitter
Hello, does jupyterlab have any documentation around its build processes, ... a notebook I see something like Error displaying widget: model not found...
Read more >Jupyter Documentation - Read the Docs
Try Jupyter (https://try.jupyter.org) is a site for trying out the Jupyter Notebook, equipped with kernels for several.
Read more >Nbdev v2 & Jupyter Widgets - Fast.ai forums
The Quarto docs show that it does support Jupyter widgets. ... I don't see any errors reported in the terminal running nbdev_preview or...
Read more >Error creating widget: could not find model - Plotly Python
I'm on Window, with anaconda (and plotly 3.0.0@rc11 installed from pip). notebook=5.5.0 ipywidgets=7.2.1 jupyterlab=0.32.1. Any suggestions for ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Just tested jlab 1.0.0a3 and it seems that this problem has been resolved 😉 Thanks, great team
Same thing happens with plots opened using
%matplotlib ipympl.Current jupyter notebook displays a static image when opening a previous notebook.