-
Notifications
You must be signed in to change notification settings - Fork 225
Still getting "Model not found" error instead of static figure when saving and re-opening the notebook #473
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
Comments
Mmh I'm wondering if something has changed in JupyterLab recently that causes this. Would you be able to try to downgrade JupyterLab? |
Which version should I try? |
Sorry I didn't mean to close this issue 😕 maybe 3.0? |
Looks like I'm not the only one closing issues unintentionally https://twitter.com/choldgraf/status/1542169522282860550?s=20&t=7WHeO5lmM8dD62HwB5qHsg |
I am still getting the "Model not found" error in
|
Ah, version |
Interesting! So something has changed between 3.0.0 and 3.0.18 that prevents it from displaying the image repr...
This might be difficult, if the VBox cannot be displayed then we cannot do much about it. Also the VBox embeds the widget representation of the plot, not the image one. |
What's interesting is:
I am guessing the png repr is correctly being saved by 3.0.0 (I don't know exactly which version broke between 3.0.0 and 3.0.18 yet), and then it can be loaded by later versions. So this would mean that versions 3.0.18 and higher are failing to save the png rather than load it? |
I can confirm that downgrading ( |
Can confirm that jupyterlab 3.0.0 does work and that jupyterlab 3.5.2 does not work. Also: the problem seems to be in saving the notebook. A simple notebook saved with 3.0.0 opens with a static image in 3.5.2. |
I can confirm @davidfokkema. That 3.0.0 works and 3.5.2 not. Moreover in our case we use widgets with asynchronous calls. And this problem leads to widgets disappearing from the notebook approximately after one minute idle. |
Just tested this with 3.5.0 and it works. |
I get "Error displaying widget: model not found" with the following env (and jupyterlab 3.6.1):
jupyterlab 3.0.0 works though. |
Not working in the jupyterlab 3.6.4 either. |
This is a bit old, but I just ran into this with a fresh installation of ipympl (0.9.4) & jupyter-lab (4.2.1). However there is now a jupyter-lab menu |
Hi, unfortunately, I am still seeing this error after re-opening the notebook.

The console log from Chrome:

Versions:
Thanks for any help!
Originally posted by @nvaytet in #343 (comment)
The text was updated successfully, but these errors were encountered: