Kitware / itk-vtk-viewer

2D / 3D web image, mesh, and point set viewer using itk-wasm and vtk.js
https://kitware.github.io/itk-vtk-viewer/
BSD 3-Clause "New" or "Revised" License
210 stars 64 forks source link

Config pup #690

Open PaulHax opened 1 year ago

thewtex commented 1 year ago

@PaulHax thanks for working on this!

Unlike expectations, #693 did not require changes to vtk.js; it is good to have these updates in the long run but less short-term urgency.

PaulHax commented 1 year ago

Some interesting errors that sometimes show up

Chrome 99.0.4844.74 (Linux x86_64) LOG: 'ok 80 compare method matches'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '# Test createViewer setCompareImage with checkerboard and 2 component image'
Chrome 99.0.4844.74 (Linux x86_64) WARN: 'Resetting view-up since view plane normal is parallel'
Chrome 99.0.4844.74 (Linux x86_64) WARN: 'Resetting view-up since view plane normal is parallel'
Chrome 99.0.4844.74 (Linux x86_64) WARN: 'Resetting view-up since view plane normal is parallel'
Chrome 99.0.4844.74 (Linux x86_64) LOG: 'not ok 81 Uncaught NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'http://localhost:9876/absolute/tmp/_karma_webpack_339456/commons.js' failed to load.'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '  ---'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '    operator: error'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '  ...'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '# Test setCompareImage with checkerboard and 2D image'
Chrome 99.0.4844.74 (Linux x86_64) LOG: 'ok 82 createViewer did not crash right after setFixedImage and setCheckerboard'
Chrome 99.0.4844.74 (Linux x86_64) LOG: 'not ok 83 plan != count'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '  ---'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '    operator: fail'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '    expected: 1'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '    actual:   2'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '    stack: |-'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '      Error: plan != count'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '          at Test.assert [as _assert] (webpack-internal:///./node_modules/tape/lib/test.js:276:50)'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '          at Test.bound [as _assert] (webpack-internal:///./node_modules/tape/lib/test.js:86:22)'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '          at Test.fail (webpack-internal:///./node_modules/tape/lib/test.js:352:8)'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '          at Test.bound [as fail] (webpack-internal:///./node_modules/tape/lib/test.js:86:22)'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '          at Test.assert [as _assert] (webpack-internal:///./node_modules/tape/lib/test.js:345:10)'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '          at Test.bound [as _assert] (webpack-internal:///./node_modules/tape/lib/test.js:86:22)'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '          at Test.pass (webpack-internal:///./node_modules/tape/lib/test.js:359:8)'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '          at Test.bound [as pass] (webpack-internal:///./node_modules/tape/lib/test.js:86:22)'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '          at EventEmitter.eval (webpack-internal:///./test/createViewerTest.js:807:15)'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '          at EventEmitter.emit (webpack-internal:///./node_modules/eventemitter3/index.js:165:29)'
Chrome 99.0.4844.74 (Linux x86_64) LOG: '  ...'
16 05 2023 22:28:03.865:WARN [Chrome 99.0.4844.74 (Linux x86_64)]: Disconnected (0 times) , because no message in 160000 ms.
Chrome 99.0.4844.74 (Linux x86_64) ERROR
  Disconnected , because no message in 160000 ms.