Bone thickness mapping module was not working. what's the wrong?

Python 3.9.10 (main, Feb 22 2023, 01:07:37) [MSC v.1930 64 bit (AMD64)] on win32

TODO: implement cloud fingerprint store
[Qt] libpng warning: iCCP: profile ‘ICC Profile’: ‘CMYK’: invalid ICC profile color space
[Qt] libpng warning: iCCP: known incorrect sRGB profile
[Qt] Error(s):
[Qt] CLI executable: C:/Users/User/AppData/Local/NA-MIC/Slicer 5.2.2/NA-MIC/Extensions-31382/SlicerVMTK/lib/Slicer-5.2/qt-loadable-modules/vtkvmtk.py
[Qt] The process failed to start. Either the invoked program is missing, or you may have insufficient permissions to invoke the program.
[Qt] Fail to instantiate module “vtkvmtk”
[Qt] The following modules failed to be instantiated:
[Qt] vtkvmtk
Failed to load vtkSlicerStenosisMeasurement3DModuleLogicPython: No module named vtkSlicerShapeModuleMRMLPython
[Qt] QLayout::addChildLayout: layout “” already has a parent
[Qt] This function is deprecated. Use lookFromAxis(const ctkAxesWidget::Axis& axis) instead.
[Qt] ctkSliderWidget::setSingleStep() 0 is out of bounds. 0 100 1
Initializing execution…
Traceback (most recent call last):
File “C:/Users/User/AppData/Local/NA-MIC/Slicer 5.2.2/NA-MIC/Extensions-31382/BoneThicknessMapping/lib/Slicer-5.2/qt-scripted-modules/BoneThicknessMapping.py”, line 521, in click_execute
BoneThicknessMappingLogic.set_scalar_colour_bar_state(0)
File “C:/Users/User/AppData/Local/NA-MIC/Slicer 5.2.2/NA-MIC/Extensions-31382/BoneThicknessMapping/lib/Slicer-5.2/qt-scripted-modules/BoneThicknessMapping.py”, line 936, in set_scalar_colour_bar_state
ctkBar = slicer.util.findChildren(colorWidget, name=‘VTKScalarBar’)[0]
IndexError: list index out of range
[Qt] This function is deprecated. Use lookFromAxis(const ctkAxesWidget::Axis& axis) instead.

this module was not working.
what am i do?

1 Like

I am having the same problem with the SlicerVMTK extension. Whenever I try to run the python console from slicer or run slicer --python-script, I get the following error:
Failed to load vtkSlicerStenosisMeasurement3DModuleLogicPython: No module named vtkSlicerShapeModuleMRMLPython

1 Like