Skip to content

gridspecLayout example does not work with ipywidgets=7.7.0 #1119

@trungleduc

Description

@trungleduc

Description

gridspecLayout.ipynb notebook does not work with voila=0.3.3 and ipywidgets=7.7.0. It works well in JupyterLab or with ipywidgets=7.6.5

  • ipywidgets=7.6.5
    ipy765

  • ipywidgets=7.7.0
    ipy770

Reproduce

  1. Install ipywidgets=7.7.0 and voila=3.3.0
  2. Start voila with the example folder
  3. Go to voila/render/gridspecLayout.ipynb
  4. See error
voila.js:488 Uncaught (in promise) Error: widget model not found
    at Qt.get_model (voila.js:488:81803)
    at q (voila.js:23:209508)
    at voila.js:23:209326
    at Array.forEach (<anonymous>)
    at Object.q [as deserialize] (voila.js:23:209296)
    at Function.t._deserialize_state (voila.js:23:214684)
    at Qt.<anonymous> (voila.js:23:203604)
    at voila.js:23:199970
    at Object.next (voila.js:23:200075)
    at a (voila.js:23:198813)

Expected behavior

Widget is rendered and no error is logged

Context

  • voila version 0.3.3
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.
Command Line Output
Paste the output from your command line running `voila` here, use `--debug` if possible.
Browser Output
Paste the output from your browser Javascript console here.

If using JupyterLab

  • JupyterLab version:
Installed Labextensions
Paste the output from your command line running `jupyter labextension list`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions