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.

Loading widget... and/or Error displaying widget: model not found

See original GitHub issue

Hi, I’ve encounter an error on bqplot after updating widegts. Figure/table widgets work as expected; however, bqplot only works in voila preview and when using regular notebook. In JLab i either get a never ending loading or error displaying widget. I’ve tried uninstalling/re-installing bqplot, jupyterlab manager, testing sliders (some work), etc… Any ideas what it could be? I have the following configurations: Any help appreciated. Thanks!

JupyterLab v1.0.2
Known labextensions:
   app dir: /Users/Me/miniconda3/envs/JupyterProjects/share/jupyter/lab
        @jupyter-voila/jupyterlab-preview v0.1.0  enabled  OK
        @jupyter-widgets/jupyterlab-manager v1.0.1  enabled  OK
        bqplot v0.5.0-alpha.2  enabled  OK
        jupyterlab-chart-editor v1.2.0  enabled  OK
        jupyterlab-plotly v1.0.0  enabled  OK
        plotlywidget v1.0.0  enabled  OK

Error displaying: 
manager.js:251 Uncaught (in promise) Error: Module bqplot, semver range ^0.4.6 is not registered as a widget module
    at WidgetManager.loadClass (manager.js:251)
    at WidgetManager.<anonymous> (manager-base.js:263)
    at step (manager-base.js:44)
    at Object.next (manager-base.js:25)
    at manager-base.js:19
    at new Promise (<anonymous>)
    at push.hs2k.__awaiter (manager-base.js:15)
    at WidgetManager.push.hs2k.ManagerBase._make_model (manager-base.js:257)
    at WidgetManager.<anonymous> (manager-base.js:246)
    at step (manager-base.js:44)
Screen Shot 2019-07-28 at 3 51 53 PM

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:12

github_iconTop GitHub Comments

5reactions
oronimbuscommented, Aug 10, 2019

FYI I just fixed this issue on my side using sudo jupyter labextension install bqplot@0.4.6. Bqplot charts now correctly display in both JL and JNB. This was suggested in #885 . Thanks!

4reactions
tslatoncommented, Jul 31, 2019

Installing bqplot from master works for me, as I am just trying to build a prototype right now anyway:

pip install -e git+git://github.com/bloomberg/bqplot.git@master#egg=bqplot

If you’re relying on any kind of stability though, you might want to wait for a release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Loading widget... and/or Error displaying widget: model not ...
Hi, I've encounter an error on bqplot after updating widegts. Figure/table widgets work as expected; however, bqplot only works in voila ...
Read more >
Error displaying widget; model not found: 5 Fixes
In this article, we're talking about the “Error displaying widget: model not found” problem when using Jupyter Labs in Python.
Read more >
Error displaying widget: model not found -- how to fix this?
So as to use Stacked, I installed version 8: > pip uninstall ipywidgets > pip install ipywidgets==8.0.0b But upon displaying a Stacked ...
Read more >
Jupyter-matplotlib: Error displaying widget: model not found
Solved! Turned out ipywidget 7.5 breaks jupyter lab and it isaffecting other libraries too. https://github.com/plotly/plotly.py/issues/1659.
Read more >
Issue with stackview inside JupyterLab - "Error displaying widget
... notebook but encountered a problem which I could solve so far. ... inside JupyterLab - "Error displaying widget: model not found".
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