Skip to content

Jupyter Lab extensions 1.5.2 fails to display widgets #2229

Closed
@andrei91ro

Description

@andrei91ro

After having build issues with version 1.5.1 of the jupyter lab extension (discussed and solved in #2223 ) I am now faced with runtime problems: the widget does not start and the plot is not shown.

I am seeing only a blank container where the plot should be. If I use a widget, I only see a loading widget ... message that never changes.

I installed the exact versions (for python and JS versions of plotly) as stated in the update README.
The only difference is that I am using Jupyter lab 1.2.6 vs 1.2.0 from the Readme.

Can this be the cause of my problem?

The browser console contains the following output:

Could not instantiate widget manager-base.js:273:32
    _make_model manager-base.js:273
    l manager-base.js:44
    s manager-base.js:25
    s manager-base.js:17
Error: "Could not create a model."
    n utils.js:119
utils.js:119:20
    n utils.js:119
Exception opening new comm default.js:992:24
    _handleCommOpen default.js:992
Error: Module plotlywidget, semver range 1.5.2 is not registered as a widget module manager.js:305:18
Error: "Module plotlywidget, semver range 1.5.2 is not registered as a widget module"
    loadClass manager.js:305
    _make_model manager-base.js:263
    l manager-base.js:44
    s manager-base.js:25
    L manager-base.js:19
    L manager-base.js:15
    _make_model manager-base.js:257
    new_model manager-base.js:246
    l manager-base.js:44
    s manager-base.js:25
    L manager-base.js:19
    L manager-base.js:15
    new_model manager-base.js:232
    handle_comm_open manager-base.js:144
    _handleCommOpen manager.js:62
    _handleCommOpen default.js:990
default.js:111:74
    _msgChain default.js:111
Error: Module plotlywidget, semver range 1.5.2 is not registered as a widget module manager.js:305:18

Thank you for your kind help and congrats for Plotly!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions