question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

reopen notebook ipywidget in jlab - Error creating widget: could not find model

See original GitHub issue

I am using:

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:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Alexboiboicommented, Apr 24, 2019

Just tested jlab 1.0.0a3 and it seems that this problem has been resolved 😉 Thanks, great team

1reaction
spalatocommented, Feb 1, 2018

Same thing happens with plots opened using %matplotlib ipympl.

Current jupyter notebook displays a static image when opening a previous notebook.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found