View Issue Details

IDProjectCategoryView StatusLast Update
0001895Slicer4Module Editorpublic2012-08-21 09:47
Reporterjcfr Assigned Topieper  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product VersionSlicer 4.1.0 RC 
Target VersionSlicer 4.2.0Fixed in VersionSlicer 4.2.0 
Summary0001895: py_nomainwindow_qSlicerEditorModuleGenericTest output output error messages
Description

The following test associated with the Editor is not failing but outputs the following text.

$ ctest -R py_nomainwindow_qSlicerEditorModuleGenericTest -V

// -------------------
324: test_widgetRepresentation (qSlicerEditorModuleGenericTest.qSlicerEditorModuleGenericTest) ... can't read "::slicer3::MRMLScene": no such variable
324: can't read "::slicer3::MRMLScene": no such variable
324: while executing
324: "$::slicer3::MRMLScene GetNumberOfNodesByClass "vtkMRMLScriptedModuleNode""
324: (procedure "EditorGetParameterNode" line 4)
324: invoked from within
324: "EditorGetParameterNode"
324: (procedure "EditorGetPaintLabel" line 2)
324: invoked from within
324: "EditorGetPaintLabel"
// -------------------

If I run the same test without the '--no-main-windows', it passes. Since the Module class is supposed to be GUI independent. Would be great to sort that out.

TagsNo tags attached.

Activities

pieper

pieper

2012-04-20 06:08

administrator   ~0004051

$ svn commit -m "BUG: don't build editor module gui when there is no main window - fix for 1895" Modules/Scripted/Scripts/Editor.py
Sending Modules/Scripted/Scripts/Editor.py
Transmitting file data .
Committed revision 19913.

jcfr

jcfr

2012-05-02 21:03

administrator   ~0004141

Verified

Issue History

Date Modified Username Field Change
2012-04-11 14:30 jcfr New Issue
2012-04-11 14:30 jcfr Status new => assigned
2012-04-11 14:30 jcfr Assigned To => pieper
2012-04-20 06:08 pieper Note Added: 0004051
2012-04-20 06:08 pieper Status assigned => resolved
2012-04-20 06:08 pieper Resolution open => fixed
2012-05-02 21:03 jcfr Note Added: 0004141
2012-05-02 21:03 jcfr Status resolved => closed
2012-05-02 21:03 jcfr Fixed in Version => Slicer 4.x AHM Summer 2012
2012-08-21 09:47 jcfr Target Version => Slicer 4.2.0 - Feature freeze Sept 1st 2012