View Revisions: Issue #4662

Summary 0004662: Various traceback errors when closing scene after using Segment Editor
Revision 2019-01-04 16:04 by jamesobutler
Description

There are various tracebacks after switching to some segment editor effects and then closing the scene. Confirmed problems with Slicer 4.10 and Slicer 4.11.0-2019-01-03 builds.

Same Error for "Fill Between Slices" and "WaterShed" (of SegmentEditorExtraEffects extension)
[CRITICAL][Stream] 04.01.2019 15:43:21 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 04.01.2019 15:43:21 [] (unknown:0) - File "C:\Program Files\Slicer 4.11.0-2019-01-03\lib\Slicer-4.11\qt-scripted-modules\SegmentEditorEffects\AbstractScriptedSegmentEditorAutoCompleteEffect.py", line 229, in updateGUIFromMRML
[CRITICAL][Stream] 04.01.2019 15:43:21 [] (unknown:0) - self.observeSegmentation(False)
[CRITICAL][Stream] 04.01.2019 15:43:21 [] (unknown:0) - File "C:\Program Files\Slicer 4.11.0-2019-01-03\lib\Slicer-4.11\qt-scripted-modules\SegmentEditorEffects\AbstractScriptedSegmentEditorAutoCompleteEffect.py", line 177, in observeSegmentation
[CRITICAL][Stream] 04.01.2019 15:43:21 [] (unknown:0) - segmentation = self.scriptedEffect.parameterSetNode().GetSegmentationNode().GetSegmentation()
[CRITICAL][Stream] 04.01.2019 15:43:21 [] (unknown:0) - AttributeError: 'NoneType' object has no attribute 'GetSegmentation'

Similar Error for "Islands" and "MaskVolume" (of SegmentEditorExtraEffects extension)
[CRITICAL][Stream] 04.01.2019 15:42:03 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 04.01.2019 15:42:03 [] (unknown:0) - File "C:\Program Files\Slicer 4.11.0-2019-01-03\lib\Slicer-4.11\qt-scripted-modules\SegmentEditorEffects\SegmentEditorEffects\SegmentEditorIslandsEffect.py", line 330, in updateGUIFromMRML
[CRITICAL][Stream] 04.01.2019 15:42:03 [] (unknown:0) - currentOperationRadioButton = self.widgetToOperationNameMap.keys()[self.widgetToOperationNameMap.values().index(operationName)]
[CRITICAL][Stream] 04.01.2019 15:42:03 [] (unknown:0) - ValueError: '' is not in list
[CRITICAL][Qt] 04.01.2019 15:42:03 [] (unknown:0) - class QString __cdecl qSlicerSegmentEditorAbstractEffect::parameter(class QString) : Parameter named "MinimumSize" cannot be found for effect "Islands"

Error for "DrawTube" and "SurfaceCut" (of SegmentEditorExtraEffects extension)
[CRITICAL][Stream] 04.01.2019 15:46:00 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 04.01.2019 15:46:00 [] (unknown:0) - File "C:/Users/james/AppData/Roaming/NA-MIC/Extensions-27678/SegmentEditorExtraEffects/lib/Slicer-4.11/qt-scripted-modules/SegmentEditorDrawTubeLib/SegmentEditorEffect.py", line 167, in updateGUIFromMRML
[CRITICAL][Stream] 04.01.2019 15:46:00 [] (unknown:0) - self.scriptedEffect.parameter("Interpolation")][0]
[CRITICAL][Stream] 04.01.2019 15:46:00 [] (unknown:0) - IndexError: list index out of range
[CRITICAL][Qt] 04.01.2019 15:46:00 [] (unknown:0) - class QString cdecl qSlicerSegmentEditorAbstractEffect::parameter(class QString) : Parameter named "Interpolation" cannot be found for effect "Draw tube"
[CRITICAL][Qt] 04.01.2019 15:46:00 [] (unknown:0) - class QString
cdecl qSlicerSegmentEditorAbstractEffect::parameter(class QString) : Parameter named "Interpolation" cannot be found for effect "Draw tube"
[CRITICAL][Qt] 04.01.2019 15:46:00 [] (unknown:0) - class QString cdecl qSlicerSegmentEditorAbstractEffect::parameter(class QString) : Parameter named "Interpolation" cannot be found for effect "Draw tube"
[CRITICAL][Qt] 04.01.2019 15:46:00 [] (unknown:0) - class QString
cdecl qSlicerSegmentEditorAbstractEffect::parameter(class QString) : Parameter named "Interpolation" cannot be found for effect "Draw tube"
[CRITICAL][Qt] 04.01.2019 15:46:00 [] (unknown:0) - class QString __cdecl qSlicerSegmentEditorAbstractEffect::parameter(class QString) : Parameter named "Interpolation" cannot be found for effect "Draw tube"

Revision 2018-12-05 12:47 by jamesobutler
Description

There is a traceback error that occurs after using Fill Between Slices effect. I think it might have to do with updates related to auto-complete previewing. There was some work recently related to this in https://github.com/Slicer/Slicer/commit/d9a6181ab7a886f78745f24dda5794f0f7f252f6 . Not sure if that resulted in this error.

Revision 2018-12-03 13:30 by jamesobutler
Description

There is a traceback error that occurs after using Fill Between Slices effect. I think it might have to do with updates related to auto-complete previewing of this effect added in https://github.com/Slicer/Slicer/commit/d9a6181ab7a886f78745f24dda5794f0f7f252f6 .