-
Notifications
You must be signed in to change notification settings - Fork 225
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
Latest version of everything still causes the dreaded Error displaying widget: model not found #534
Comments
PS: works fine in the traditional notebook interface, i.e. changing the URL from |
Hi, i had the same issue, i updated everything to the latest version, same issue. i closed jupyterLab and restarted the pc and then it worked as expected. maybe that might help you too |
Thanks for the suggestion. Besides this being on a server (not a PC), anyway a reboot did not help. |
Hi @davide-q is this running in a virtual environment (e.g. via conda/venv)? If so could you try in a freshly created environment to see if the issue persists? When I create a new environment with:
Unfortunately that is not controlled by ipympl, rather by ipywidgets. You can see a PR that attempted to improve things here: jupyter-widgets/ipywidgets#2960 |
Thanks @ianhi -- yes, this is in a venv, and no creating a new one did not help (actually I had already tried that a few times, in case I was doing something incorrectly). At this point, I suspect the root cause is this server being behind a firewall (which I have no control of) that is blocking something. It would be good to know what that "something" is, so I could ask the network people if they are okay opening it.... Thanks for pointing me to the PR, hopefully we will eventually get good messages. |
A good thing to check is if there are errors in your browser console |
Thanks again @ianhi -- I don't think that provides any useful information, but here it is. While trying to run this cell, which fails as shown The chrome console reports While the jupyter console reports As mentioned before in this ticket, the very same cell, on the very same jupyter install works just fine if I use the traditional interface rather than the jupyterlab by simply removing |
I'm having this same issue too. Environment:
Setup:
After opening my notebook: Console errors:
Please let me know if there is any further information I can provide. |
Same problem here. |
I still have not figured out why this is happening, but I re-installed everything in two different environments (server and kernel) and the reinstallation with the latest-and-greatest work. It would be nice to know what is causing the issue (which is still there in the old environments), but probably life's too short for that and having new environments where it work may be good enough for people. |
Great that you could have an environment where it works. It's good to try with an environment with the least packages possible, and progressively install stuffs to find the culprit. It turns out that some extensions like jupyter-bokeh breaks widgets as of today. Probably things will be better soonish. |
Describe the issue
<rant>
Wouldn't it be possible to provide a more meaningful error message that does not end up fooling google and providing outdated solutions of many, many versions ago?
</rant>
Versions
The text was updated successfully, but these errors were encountered: