Trait Error: The ‘children’ trait of a VBox instance ... itkwidgets 1.0a16

See original GitHub issue

Getting TraitError: The 'children' trait of a VBox instance contains an Instance of a TypedTuple which expected a Widget, not the Viewer at '0x2aaab5d0ad00'.

when running the code below in Jupyter Lab

import itkwidgets
import ipywidgets
    
view = itkwidgets.view(geometries=None, background=[0.0, 0.0, 0.0])

# Headings
heading = ipywidgets.HTML(value="<h1>Heading</h1>")

# Output Widget
widget = ipywidgets.VBox(children = [heading, view])

Below are my versions of packages.

itkwidgets 1.0a16 pypi_0 pypi ipywidgets 7.6.5 pyhd3eb1b0_1 defaults

When running with version 0.X of itkwidgets this error does not occur

itkwidgets 0.32.0 py38h32f6830_0 conda-forge

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
thewtexcommented, Nov 22, 2022

@kevinsweeney84 not, yet but we are working on it.

1reaction
thewtexcommented, Oct 27, 2022

Yes, making progress towards this. The other blocker is #568 , which is a bit tricky and hard to estimate a timeline.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Trait Error: The 'children' trait of a VBox instance - ITK Discourse
Below are my versions of packages. itkwidgets 1.0a16 pypi_0 pypi ipywidgets 7.6.5 pyhd3eb1b0_1 defaults. When running this locally with.
Read more >
Issues · InsightSoftwareConsortium/itkwidgets - GitHub
InsightSoftwareConsortium / itkwidgets Public. Notifications · Fork 65 ... Trait Error: The 'children' trait of a VBox instance ... itkwidgets 1.0a16.
Read more >
itkwidgets - bytemeta
itkwidgets repo issues. ... Trait Error: The 'children' trait of a VBox instance ... itkwidgets 1.0a16. PaulHax. PaulHax OPEN · Updated 1 week...
Read more >
The version of basic-setup in npm is still 0.20.0. - Codemirror/Dev
[feature]: Add keyboard shortcuts in edgeless mode. 0, 2022-08-14, 2022-10-27 ... Trait Error: The 'children' trait of a VBox instance ... itkwidgets 1.0a16...
Read more >
supported view types,about InsightSoftwareConsortium/itkwidgets ...
supported view types about itkwidgets HOT 2 CLOSED ... from itkwidgets. ... Trait Error: The 'children' trait of a VBox instance ... itkwidgets...
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