Description
When instantiating the LocalView with a vtkCameraOrientationWidget and updating the view afterwards, there are errors in JS console:
JS Error => 2026-07-03 11:42:52.260 ( 2.270s) [ 8F87F4] vtkDeserializer.cxx:88 ERR| vtkDeserializer (0x91e4d0): No state found at id=27
JS Error => 2026-07-03 11:42:52.262 ( 2.272s) [ 8F87F4]vtkOpenGLRendererSerDes:184 ERR| vtkDeserializer (0x91e4d0): Superclass deserialization failed
JS Error => 2026-07-03 11:42:52.263 ( 2.273s) [ 8F87F4] vtkDeserializer.cxx:88 ERR| vtkDeserializer (0x91e4d0): No state found at id=54
JS Error => 2026-07-03 11:42:52.264 ( 2.274s) [ 8F87F4]vtkOpenGLRendererSerDes:184 ERR| vtkDeserializer (0x91e4d0): Superclass deserialization failed
JS Error => 2026-07-03 11:42:52.264 ( 2.274s) [ 8F87F4]vtkRendererCollectionSe:79 ERR| vtkDeserializer (0x91e4d0): Superclass deserialization failed
JS Error => 2026-07-03 11:42:52.265 ( 2.276s) [ 8F87F4]vtkOpenGLRenderWindowSe:248 ERR| vtkDeserializer (0x91e4d0): Superclass deserialization failed
JS Error => 2026-07-03 11:42:52.265 ( 2.276s) [ 8F87F4]vtkWebAssemblyOpenGLRen:163 ERR| vtkDeserializer (0x91e4d0): Superclass deserialization failed
Id's 27 and 54 reported above are the camera ids for the parent renderer and the camera widget renderer. This seems to be related to vtk-wasm unregistering the state of those ids, since cameras ids ends up in ignored ids in the "vtklocal.get.status" protocol.
Where does the issue originate?
Upstream Project (vtk.wasm JS bindings)
Version Information
"trame>3.13", "trame-vtklocal==1.0.1", "vtk==9.6.20260405.dev0"
Steps to Reproduce
Just run this script with uv, the dependencies are included in the shebang. After running, click the "update" button in the toolbar and you should see the errors.
repro.py
Relevant Log Output
JS Error => 2026-07-03 11:42:52.260 ( 2.270s) [ 8F87F4] vtkDeserializer.cxx:88 ERR| vtkDeserializer (0x91e4d0): No state found at id=27
JS Error => 2026-07-03 11:42:52.262 ( 2.272s) [ 8F87F4]vtkOpenGLRendererSerDes:184 ERR| vtkDeserializer (0x91e4d0): Superclass deserialization failed
JS Error => 2026-07-03 11:42:52.263 ( 2.273s) [ 8F87F4] vtkDeserializer.cxx:88 ERR| vtkDeserializer (0x91e4d0): No state found at id=54
JS Error => 2026-07-03 11:42:52.264 ( 2.274s) [ 8F87F4]vtkOpenGLRendererSerDes:184 ERR| vtkDeserializer (0x91e4d0): Superclass deserialization failed
JS Error => 2026-07-03 11:42:52.264 ( 2.274s) [ 8F87F4]vtkRendererCollectionSe:79 ERR| vtkDeserializer (0x91e4d0): Superclass deserialization failed
JS Error => 2026-07-03 11:42:52.265 ( 2.276s) [ 8F87F4]vtkOpenGLRenderWindowSe:248 ERR| vtkDeserializer (0x91e4d0): Superclass deserialization failed
JS Error => 2026-07-03 11:42:52.265 ( 2.276s) [ 8F87F4]vtkWebAssemblyOpenGLRen:163 ERR| vtkDeserializer (0x91e4d0): Superclass deserialization failed
Description
When instantiating the LocalView with a vtkCameraOrientationWidget and updating the view afterwards, there are errors in JS console:
Id's 27 and 54 reported above are the camera ids for the parent renderer and the camera widget renderer. This seems to be related to vtk-wasm unregistering the state of those ids, since cameras ids ends up in ignored ids in the "vtklocal.get.status" protocol.
Where does the issue originate?
Upstream Project (vtk.wasm JS bindings)
Version Information
"trame>3.13", "trame-vtklocal==1.0.1", "vtk==9.6.20260405.dev0"
Steps to Reproduce
Just run this script with uv, the dependencies are included in the shebang. After running, click the "update" button in the toolbar and you should see the errors.
repro.py
Relevant Log Output