I am currently running this function in my code in my Python script:
slicer.vtkSlicerVolumesLogic().CreateLabelVolumeFromVolume(slicer.mrmlScene, labelVolumeNode, loadedScalarNode)
On Windows 10 it properly works, and my code later uses the label volume to convert an NRRD into an OBJ with some segmentation settings.
However, in a Linux machine I’m tripping over the following error:
SetAndObserveColorToDisplayNode failed: invalid Colors module logic.
I’ve never seen this error in any discussion, bug tracker, or ticket that exists in Git or in this forum and so I was wondering if anyone had any ideas what might be causing this? A look into the VTK library finds that this is an error triggered by a null pointer in the color information node.