View Issue Details

IDProjectCategoryView StatusLast Update
0003758Slicer4Module Markupspublic2018-03-02 11:06
Reporterjcfr Assigned Tonicole  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.4.0Fixed in VersionSlicer 4.4.0 
Summary0003758: py_LoadAnnotationRulerScene display an error about missing ruler.mrml
Description

312: ERROR: In /home/jchris/Projects/Slicer-2-SuperBuild-Debug/VTKv6/IO/XMLParser/vtkXMLParser.cxx, line 218
312: vtkMRMLParser (0x56956c0): Cannot open XML file: /home/jchris/Projects/Slicer4/Modules/Loadable/Annotations/Testing/Data/Input/ruler.mrml

TagsNo tags attached.

Activities

nicole

nicole

2014-07-03 07:40

administrator   ~0012129

Reproducible in my version.
LoadAnnotationRulerScene.py is trying to open the file based on an assumption that the source code was checked out into a directory named Slicer4, which fails when the checkout is in a directory named Slicer. The test hasn't changed in 2 years, but it does make sense to use a less hard coded path to the data input directory. Some of the other annotation tests use the build directory to hold testing data, I can change the Annotation test to do that, or I can disable it and fix it for the Markups version.

jcfr

jcfr

2014-07-03 07:49

administrator   ~0012130

Waiting Markups ruler take over, I suggest you fix this test. Thanks

nicole

nicole

2014-07-03 10:28

administrator   ~0012133

Fix commited as svn 23410
http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=23410

nicole

nicole

2014-07-03 13:41

administrator   ~0012138

The windows continuous build failed but with no output so I'm not sure why:
http://slicer.cdash.org/testDetails.php?test=5064367&build=244154
I'll take a look at the nightly builds on Monday to see if they give more feedback.

Related Changesets

Import 2017-06-07 23:51:09: master 43e4168d

2014-07-03 14:18:27

naucoin

Details Diff
BUG: fix the path to the ruler scene file for test

Pass the Input data directory via the CMakeLists file on the command line.
Avoids the hard coded path that assumes a specific directory name for
the Slicer source code check out.

Issue 0003758


git-svn-id: http://svn.slicer.org/Slicer4/trunk@23410 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Loadable/Annotations/Testing/Python/CMakeLists.txt Diff File
mod - Modules/Loadable/Annotations/Testing/Python/LoadAnnotationRulerScene.py Diff File

Issue History

Date Modified Username Field Change
2014-07-03 00:48 jcfr New Issue
2014-07-03 00:48 jcfr Status new => assigned
2014-07-03 00:48 jcfr Assigned To => nicole
2014-07-03 00:48 jcfr Target Version => Slicer 4.4.0
2014-07-03 00:48 jcfr Description Updated
2014-07-03 07:40 nicole Note Added: 0012129
2014-07-03 07:49 jcfr Note Added: 0012130
2014-07-03 10:28 nicole Note Added: 0012133
2014-07-03 10:28 nicole Status assigned => resolved
2014-07-03 10:28 nicole Fixed in Version => Slicer 4.4.0
2014-07-03 10:28 nicole Resolution open => fixed
2014-07-03 13:41 nicole Note Added: 0012138
2017-06-10 08:51 Changeset attached => Slicer master 43e4168d
2018-03-02 11:06 jcfr Status resolved => closed