I have now also tried the prostate model, but it too causes an error. One big difference between it and my model is that right when I create the segmentation node it automaticaly creates a segmentation within the node; my model did not do this…
Here is the log from my model:
[DEBUG][Qt] 18.02.2020 10:51:29 [] (unknown:0) - Session start time …: 2020-02-18 10:51:29
[DEBUG][Qt] 18.02.2020 10:51:29 [] (unknown:0) - Slicer version …: 4.10.2 (revision 28257) win-amd64 - installed release
[DEBUG][Qt] 18.02.2020 10:51:29 [] (unknown:0) - Operating system …: Windows / Personal / (Build 9200) - 64-bit
[DEBUG][Qt] 18.02.2020 10:51:29 [] (unknown:0) - Memory …: 16119 MB physical, 18551 MB virtual
[DEBUG][Qt] 18.02.2020 10:51:29 [] (unknown:0) - CPU …: GenuineIntel , 12 cores, 12 logical processors
[DEBUG][Qt] 18.02.2020 10:51:29 [] (unknown:0) - VTK configuration …: OpenGL2 rendering, TBB threading
[DEBUG][Qt] 18.02.2020 10:51:29 [] (unknown:0) - Developer mode enabled …: no
[DEBUG][Qt] 18.02.2020 10:51:29 [] (unknown:0) - Prefer executable CLI …: yes
[DEBUG][Qt] 18.02.2020 10:51:29 [] (unknown:0) - Additional module paths …: C:/Users/thefl/AppData/Roaming/NA-MIC/Extensions-28257/CleaverExtension/lib/Slicer-4.10/cli-modules, C:/Users/thefl/AppData/Roaming/NA-MIC/Extensions-28257/SegmentMesher/lib/Slicer-4.10/qt-scripted-modules
[DEBUG][Python] 18.02.2020 10:51:30 [Python] (C:\Program Files\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations
[DEBUG][Python] 18.02.2020 10:51:31 [Python] (C:\Program Files\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentEditor
[DEBUG][Python] 18.02.2020 10:51:31 [Python] (C:\Program Files\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics
[DEBUG][Qt] 18.02.2020 10:51:31 [] (unknown:0) - Switch to module: “Data”
[DEBUG][Qt] 18.02.2020 10:52:04 [] (unknown:0) - “Model” Reader has successfully read the file “C:/Users/thefl/Downloads/testCube.vtk” “[0.00s]”
[ERROR][VTK] 18.02.2020 10:52:09 [vtkMRMLSegmentationNode (000001FFF5205210)] (D:\D\S\Slicer-4102\Modules\Loadable\Segmentations\Logic\vtkSlicerSegmentationsModuleLogic.cxx:1171) - ImportModelToSegmentationNode: Invalid model node
[CRITICAL][Qt] 18.02.2020 10:52:09 [] (unknown:0) - void __cdecl qSlicerSubjectHierarchySegmentationsPlugin::convertModelToSegmentation(void) : Failed to import model ’ testCube ’ to segmentation ’ testCube-segmentation ’
[DEBUG][Qt] 18.02.2020 10:52:12 [] (unknown:0) - Switch to module: “SegmentMesher”
[INFO][Python] 18.02.2020 10:52:13 [Python] (C:/Users/thefl/AppData/Roaming/NA-MIC/Extensions-28257/SegmentMesher/lib/Slicer-4.10/qt-scripted-modules/SegmentMesher.py:361) - Mesh generation using Cleaver is started in working directory: C:/Users/thefl/AppData/Local/Temp/Slicer/SegmentMesher/20200218_105213_730
[INFO][Stream] 18.02.2020 10:52:13 [] (unknown:0) - CLEAVER
[INFO][Stream] 18.02.2020 10:52:13 [] (unknown:0) - Mesh generation using Cleaver is started in working directory: C:/Users/thefl/AppData/Local/Temp/Slicer/SegmentMesher/20200218_105213_730
[ERROR][VTK] 18.02.2020 10:52:13 [vtkOrientedImageData (000001FFF51417E0)] (D:\D\S\Slicer-4102\Libs\vtkSegmentationCore\vtkSegmentationConverter.cxx:214) - DeserializeImageGeometry: Failed to de-serialize geometry string
[ERROR][VTK] 18.02.2020 10:52:13 [vtkMRMLSegmentationNode (000001FFF5205210)] (D:\D\S\Slicer-4102\Libs\MRML\Core\vtkMRMLSegmentationNode.cxx:527) - GenerateMergedLabelmap: Segmentation does not contain binary labelmap representation
[ERROR][VTK] 18.02.2020 10:52:13 [vtkMRMLSegmentationNode (000001FFF5205210)] (D:\D\S\Slicer-4102\Modules\Loadable\Segmentations\Logic\vtkSlicerSegmentationsModuleLogic.cxx:1021) - ExportSegmentsToLabelmapNode: Failed to generate merged labelmap
[WARNING][VTK] 18.02.2020 10:52:13 [] (unknown:0) - Generic Warning: In D:\D\S\Slicer-4102\Libs\MRML\Core\vtkDataFileFormatHelper.cxx, line 237
vtkDataFileFormatHelper::GetFileExtensionFromFormatString: please update deprecated extension-only format specifier to ‘File format name (.ext)’ format! Current format string: .nrrd
[ERROR][VTK] 18.02.2020 10:52:13 [vtkITKImageWriter (000001FFF4E805E0)] (D:\D\S\Slicer-4102\Libs\vtkITK\vtkITKImageWriter.cxx:514) - Can only export 1 or 3 component images, current image has 0 components
[ERROR][VTK] 18.02.2020 10:52:13 [vtkMRMLVolumeArchetypeStorageNode (000001FFF2F28CA0)] (D:\D\S\Slicer-4102\Libs\MRML\Core\vtkMRMLVolumeArchetypeStorageNode.cxx:866) - UpdateFileList: the archetype file ‘inputLabelmap.nrrd’ wasn’t written out when writing ‘C:/Users/thefl/AppData/Local/Temp/Slicer/SegmentMesher/20200218_105213_730/TempWriteinputLabelmap/inputLabelmap.nrrd’ in ‘C:/Users/thefl/AppData/Local/Temp/Slicer/SegmentMesher/20200218_105213_730/TempWriteinputLabelmap’. Only those 0 file(s) have been written: . Old name is ‘C:/Users/thefl/AppData/Local/Temp/Slicer/SegmentMesher/20200218_105213_730\inputLabelmap.nrrd’.
[WARNING][VTK] 18.02.2020 10:52:13 [] (unknown:0) - Generic Warning: In D:\D\S\Slicer-4102\Libs\MRML\Core\vtkDataFileFormatHelper.cxx, line 237
vtkDataFileFormatHelper::GetFileExtensionFromFormatString: please update deprecated extension-only format specifier to ‘File format name (.ext)’ format! Current format string: .nrrd
[ERROR][VTK] 18.02.2020 10:52:13 [vtkITKImageWriter (000001FFF4E80ED0)] (D:\D\S\Slicer-4102\Libs\vtkITK\vtkITKImageWriter.cxx:514) - Can only export 1 or 3 component images, current image has 0 components
[INFO][Stream] 18.02.2020 10:52:13 [] (unknown:0) - ‘NoneType’ object has no attribute ‘GetColorNode’
[CRITICAL][Stream] 18.02.2020 10:52:13 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 18.02.2020 10:52:13 [] (unknown:0) - File “C:/Users/thefl/AppData/Roaming/NA-MIC/Extensions-28257/SegmentMesher/lib/Slicer-4.10/qt-scripted-modules/SegmentMesher.py”, line 296, in onApplyButton
[CRITICAL][Stream] 18.02.2020 10:52:13 [] (unknown:0) - self.cleaverPaddingPercentSpinBox.value * 0.01)
[CRITICAL][Stream] 18.02.2020 10:52:13 [] (unknown:0) - File “C:/Users/thefl/AppData/Roaming/NA-MIC/Extensions-28257/SegmentMesher/lib/Slicer-4.10/qt-scripted-modules/SegmentMesher.py”, line 548, in createMeshFromSegmentationCleaver
[CRITICAL][Stream] 18.02.2020 10:52:13 [] (unknown:0) - colorTableNode = labelmapVolumeNode.GetDisplayNode().GetColorNode()
[CRITICAL][Stream] 18.02.2020 10:52:13 [] (unknown:0) - AttributeError: ‘NoneType’ object has no attribute ‘GetColorNode’
Here is the prostate model’s log:
[DEBUG][Qt] 18.02.2020 10:55:15 [] (unknown:0) - Session start time …: 2020-02-18 10:55:15
[DEBUG][Qt] 18.02.2020 10:55:15 [] (unknown:0) - Slicer version …: 4.10.2 (revision 28257) win-amd64 - installed release
[DEBUG][Qt] 18.02.2020 10:55:15 [] (unknown:0) - Operating system …: Windows / Personal / (Build 9200) - 64-bit
[DEBUG][Qt] 18.02.2020 10:55:15 [] (unknown:0) - Memory …: 16119 MB physical, 18551 MB virtual
[DEBUG][Qt] 18.02.2020 10:55:15 [] (unknown:0) - CPU …: GenuineIntel , 12 cores, 12 logical processors
[DEBUG][Qt] 18.02.2020 10:55:15 [] (unknown:0) - VTK configuration …: OpenGL2 rendering, TBB threading
[DEBUG][Qt] 18.02.2020 10:55:15 [] (unknown:0) - Developer mode enabled …: no
[DEBUG][Qt] 18.02.2020 10:55:15 [] (unknown:0) - Prefer executable CLI …: yes
[DEBUG][Qt] 18.02.2020 10:55:15 [] (unknown:0) - Additional module paths …: C:/Users/thefl/AppData/Roaming/NA-MIC/Extensions-28257/CleaverExtension/lib/Slicer-4.10/cli-modules, C:/Users/thefl/AppData/Roaming/NA-MIC/Extensions-28257/SegmentMesher/lib/Slicer-4.10/qt-scripted-modules
[DEBUG][Python] 18.02.2020 10:55:17 [Python] (C:\Program Files\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations
[DEBUG][Python] 18.02.2020 10:55:17 [Python] (C:\Program Files\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentEditor
[DEBUG][Python] 18.02.2020 10:55:17 [Python] (C:\Program Files\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics
[DEBUG][Qt] 18.02.2020 10:55:17 [] (unknown:0) - Switch to module: “Data”
[DEBUG][Qt] 18.02.2020 10:55:29 [] (unknown:0) - “Model” Reader has successfully read the file “C:/Users/thefl/Downloads/ProstateMeanShape2.stl” “[0.07s]”
[INFO][VTK] 18.02.2020 10:55:31 [vtkClosedSurfaceToBinaryLabelmapConversionRule (00000279C06AAB10)] (D:\D\S\Slicer-4102\Libs\vtkSegmentationCore\vtkClosedSurfaceToBinaryLabelmapConversionRule.cxx:251) - CalculateOutputGeometry: No image geometry specified, default geometry is calculated (0.165357492443735;0;0;41.1088981628418;0;0.165357492443735;0;52.828800201416;0;0;0.165357492443735;18.8999996185303;0;0;0;1;0;322;0;221;0;219;)
[DEBUG][Qt] 18.02.2020 10:55:41 [] (unknown:0) - Switch to module: “SegmentMesher”
[INFO][Python] 18.02.2020 10:55:48 [Python] (C:/Users/thefl/AppData/Roaming/NA-MIC/Extensions-28257/SegmentMesher/lib/Slicer-4.10/qt-scripted-modules/SegmentMesher.py:361) - Mesh generation using Cleaver is started in working directory: C:/Users/thefl/AppData/Local/Temp/Slicer/SegmentMesher/20200218_105548_245
[INFO][Stream] 18.02.2020 10:55:48 [] (unknown:0) - CLEAVER
[INFO][Stream] 18.02.2020 10:55:48 [] (unknown:0) - Mesh generation using Cleaver is started in working directory: C:/Users/thefl/AppData/Local/Temp/Slicer/SegmentMesher/20200218_105548_245
[DEBUG][Python] 18.02.2020 10:55:48 [Python] (C:/Users/thefl/AppData/Roaming/NA-MIC/Extensions-28257/SegmentMesher/lib/Slicer-4.10/qt-scripted-modules/SegmentMesher.py:375) - Attempt to find executable at: C:\Users\thefl\AppData\Roaming\NA-MIC\Extensions-28257\SegmentMesher\lib\Slicer-4.10\cleaver-cli.exe
[INFO][Python] 18.02.2020 10:55:48 [Python] (C:/Users/thefl/AppData/Roaming/NA-MIC/Extensions-28257/SegmentMesher/lib/Slicer-4.10/qt-scripted-modules/SegmentMesher.py:361) - Generating volumetric mesh…
[WARNING][VTK] 18.02.2020 10:55:48 [] (unknown:0) - Generic Warning: In D:\D\S\Slicer-4102\Libs\MRML\Core\vtkDataFileFormatHelper.cxx, line 237
vtkDataFileFormatHelper::GetFileExtensionFromFormatString: please update deprecated extension-only format specifier to ‘File format name (.ext)’ format! Current format string: .nrrd
[INFO][Stream] 18.02.2020 10:55:48 [] (unknown:0) - Generating volumetric mesh…
[INFO][Python] 18.02.2020 10:55:48 [Python] (C:/Users/thefl/AppData/Roaming/NA-MIC/Extensions-28257/SegmentMesher/lib/Slicer-4.10/qt-scripted-modules/SegmentMesher.py:448) - Generate mesh using: C:\Users\thefl\AppData\Roaming\NA-MIC\Extensions-28257\SegmentMesher\lib\Slicer-4.10\cleaver-cli.exe: [’–input_files’, u’C:/Users/thefl/AppData/Local/Temp/Slicer/SegmentMesher/20200218_105548_245\inputLabelmap.nrrd’, ‘–segmentation’, ‘–output_path’, u’C:/Users/thefl/AppData/Local/Temp/Slicer/SegmentMesher/20200218_105548_245/’, ‘–output_format’, ‘vtkUSG’, ‘–fix_tet_windup’, ‘–strip_exterior’, ‘–verbose’, ‘–scale’, ‘0.2’, ‘–multiplier’, ‘2’, ‘–grading’, ‘5’]
[INFO][Stream] 18.02.2020 10:55:48 [] (unknown:0) - Generate mesh using: C:\Users\thefl\AppData\Roaming\NA-MIC\Extensions-28257\SegmentMesher\lib\Slicer-4.10\cleaver-cli.exe: [’–input_files’, u’C:/Users/thefl/AppData/Local/Temp/Slicer/SegmentMesher/20200218_105548_245\inputLabelmap.nrrd’, ‘–segmentation’, ‘–output_path’, u’C:/Users/thefl/AppData/Local/Temp/Slicer/SegmentMesher/20200218_105548_245/’, ‘–output_format’, ‘vtkUSG’, ‘–fix_tet_windup’, ‘–strip_exterior’, ‘–verbose’, ‘–scale’, ‘0.2’, ‘–multiplier’, ‘2’, ‘–grading’, ‘5’]
[INFO][Stream] 18.02.2020 10:56:16 [] (unknown:0) - ‘NoneType’ object has no attribute ‘GetType’
[CRITICAL][Stream] 18.02.2020 10:56:16 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 18.02.2020 10:56:16 [] (unknown:0) - File “C:/Users/thefl/AppData/Roaming/NA-MIC/Extensions-28257/SegmentMesher/lib/Slicer-4.10/qt-scripted-modules/SegmentMesher.py”, line 296, in onApplyButton
[CRITICAL][Stream] 18.02.2020 10:56:16 [] (unknown:0) - self.cleaverPaddingPercentSpinBox.value * 0.01)
[CRITICAL][Stream] 18.02.2020 10:56:16 [] (unknown:0) - File “C:/Users/thefl/AppData/Roaming/NA-MIC/Extensions-28257/SegmentMesher/lib/Slicer-4.10/qt-scripted-modules/SegmentMesher.py”, line 625, in createMeshFromSegmentationCleaver
[CRITICAL][Stream] 18.02.2020 10:56:16 [] (unknown:0) - if currentColorNode.GetType() == currentColorNode.User and currentColorNode.IsA(“vtkMRMLColorTableNode”):
[CRITICAL][Stream] 18.02.2020 10:56:16 [] (unknown:0) - AttributeError: ‘NoneType’ object has no attribute ‘GetType’