View Issue Details

IDProjectCategoryView StatusLast Update
0003962Slicer4Module Editorpublic2018-03-02 11:07
Reportererikc Assigned Topieper  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product VersionSlicer 4.4.0 
Target VersionFixed in VersionSlicer 4.5.0-1 
Summary0003962: Working with multiple volumes imported from .nrrd files in the Editor causes Slicer to crash
Description

How to reproduce crash (100% repeatable on two separate Macs)

Start Slicer
Welcome->Download Sample Data->Download MRHead
Editor -> Apply with "Accept the Generic Anatomy Colors”
File -> Close Scene

Everything is nominal so far. But if one subsequently repeats the first two steps:

Welcome->Download Sample Data->Download MRHead
Editor -> Apply with "Accept the Generic Anatomy Colors”

The Editor’s “Create Merge Label Map…” dialogue does not show anything where the “GenericAnatomyColors” option should be visible, and when one hits apply, the dialogue box does not go away. At this point, a whole host of VTK errors appears in the log. If one uses Editor anyway, either it doesn’t allow modification of the label map, or it crashes slicer. Usually both.

Additional Information

This behavior also happens when importing two .nrrd files and trying to quantify label map statistics created in one volume to both volumes. But the process listed above is simpler and lists similar errors in the log.

TagsNo tags attached.

Relationships

related to 0003994 closedpieper Not able to set merge volume with certain node names 

Activities

pieper

pieper

2015-05-14 15:51

administrator   ~0013056

I can't reproduce this on my mac with the current code. Can you try the nightly?

erikc

erikc

2015-05-25 08:34

reporter   ~0013099

I believe this was fixed months ago. In the nightly build of 2015-02-17, the behavior does not appear.

However, in the nightly build from from 2015-05-21, I can't get editor to work appropriately on downloaded MR data. [Repeatable] steps:

Welcome: Download Sample Data -> Download MR Head

Editor: Generic Anatomy Colors -> Apply
Editor: Per-Structure Volumes -> Add Structure -> select any tissue type
Editor: Choose paint effect, attempt to paint structure, FAIL. Unable to paint.

Log shows:

Traceback (most recent call last):
File "/Volumes/Slicer-4.4.0-2015-05-21-macosx-amd64/Slicer.app/Contents/lib/Slicer-4.4/qt-scripted-modules/EditorLib/EditBox.py", line 105, in _onParameterNodeModified
self._onEffectChanged(caller.GetParameter("effect"))
File "/Volumes/Slicer-4.4.0-2015-05-21-macosx-amd64/Slicer.app/Contents/lib/Slicer-4.4/qt-scripted-modules/EditorLib/EditBox.py", line 355, in _onEffectChanged
self.currentOption = effectClass.options(self.optionsFrame)
File "/Volumes/Slicer-4.4.0-2015-05-21-macosx-amd64/Slicer.app/Contents/lib/Slicer-4.4/qt-scripted-modules/EditorLib/PaintEffect.py", line 43, in init
if labelVolume and labelVolume.GetImageData():
AttributeError: GetImageData
Exception AttributeError: "'PaintEffectOptions' object has no attribute 'widgets'" in <bound method PaintEffectOptions.del of <EditorLib.PaintEffect.PaintEffectOptions object at 0x13639b390>> ignored
Traceback (most recent call last):
File "/Volumes/Slicer-4.4.0-2015-05-21-macosx-amd64/Slicer.app/Contents/lib/Slicer-4.4/qt-scripted-modules/EditorLib/EditColor.py", line 115, in updateGUIFromMRML
self.colorNode = self.editUtil.getColorNode()
File "/Volumes/Slicer-4.4.0-2015-05-21-macosx-amd64/Slicer.app/Contents/lib/Slicer-4.4/qt-scripted-modules/EditorLib/EditUtil.py", line 128, in getColorNode
dispNode = labelNode.GetDisplayNode()
AttributeError: GetDisplayNode

If I close the scene and start over, I can get the paint effect tool to work, but only a very large spot; trying to change the size causes it to get stuck, in the sense that you can’t get it to stop painting.

pieper

pieper

2015-05-27 07:21

administrator   ~0013106

This should be fixed by the same thing that fixed 0003994.

http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&amp;revision=24275

Issue History

Date Modified Username Field Change
2015-02-16 11:38 erikc New Issue
2015-02-16 11:38 erikc Status new => assigned
2015-02-16 11:38 erikc Assigned To => pieper
2015-05-14 15:51 pieper Note Added: 0013056
2015-05-14 15:51 pieper Status assigned => feedback
2015-05-25 08:34 erikc Note Added: 0013099
2015-05-27 07:21 pieper Relationship added related to 0003994
2015-05-27 07:21 pieper Note Added: 0013106
2015-05-27 07:21 pieper Status feedback => resolved
2015-05-27 07:21 pieper Fixed in Version => Slicer 4.4.1
2015-05-27 07:21 pieper Resolution open => fixed
2015-09-09 08:29 jcfr Fixed in Version Slicer 4.4.1 => Slicer 4.5.0-1
2018-03-02 11:07 jcfr Status resolved => closed