View Issue Details

IDProjectCategoryView StatusLast Update
0002741Slicer4Module EMSegmentpublic2014-09-17 22:55
Reporterjcfr Assigned Topohl  
PriorityhighSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionSlicer 4.2.0 
Target VersionSlicer 4.4.0Fixed in VersionSlicer 4.4.0 
Summary0002741: Fix EMSegCLTask{HumanEye, MRIHumanBrainExp}_BRAINS_small failing on windows
Description

See http://slicer.cdash.org/viewTest.php?onlyfailed&buildid=46902

TagsNo tags attached.

Relationships

related to 0003381 closedpohl EMSegment does not work 
related to 0003561 closedpohl Segmentation Task "Hand Bone" crashes 
related to 0003779 closedhjmjohnson 'itk::ExceptionObject exception is thrown in TransformFileWriterTemplate which is run in connection with BRAINS 
parent of 0002780 closedhjmjohnson BRAINSFit takes a long time to run on windows 
related to 0002569 closedfinetjul GetReferencedSubScene does not work 

Activities

jcfr

jcfr

2012-11-09 10:53

administrator   ~0007140

From Kilian:

one more thing :

http://www.na-mic.org/Bug/view.php?id=2741
list two failing tests:

and I am not sure that http://slicer.cdash.org/testDetails.php?test=3128494&build=46902
does with http://www.na-mic.org/Bug/view.php?id=2569

bc

TCL: Create file: C:/Users/kitware/AppData/Local/Temp/EMS10406a02864.mat
TCL: Executing "C:/D/N/Slicer-1-build/Slicer-build/lib/Slicer-4.2/cli-modules/Release/BRAINSFit" --fixedVolume "C:/Users/kitware/AppData/Local/Temp/EMS5212a02864_vtkMRMLScalarVolumeNode23.nrrd" --movingVolume "C:/D/N/Slicer-1-build/Slicer-build/share/Slicer-4.2/qt-loadable-modules/EMSegment/Tasks/MRI-Human-Brain/atlas_t1.nrrd" --outputVolume C:/Users/kitware/AppData/Local/Temp/EMS28308a02864.nrrd --outputTransform C:/Users/kitware/AppData/Local/Temp/EMS10406a02864.mat --initializeTransformMode useCenterOfHeadAlign --numberOfIterations 3 --numberOfSamples 100 --minimumStepLength 0.005 --translationScale 1000 --reproportionScale 1 --skewScale 1 --maskProcessingMode NOMASK --numberOfHistogramBins 40 --numberOfMatchPoints 10 --useCachingOfBSplineWeightsMode ON --costMetric MMI
TCL: child killed: unknown signal
TCL: Create file: C:/Users/kitware/AppData/Local/Temp/EMS23053a02864.nrrd
TCL: Create file: C:/Users/kitware/AppData/Local/Temp/EMS18611a02864.nrrd
TCL: Executing "C:/D/N/Slicer-1-build/Slicer-build/lib/Slicer-4.2/cli-modules/Release/BRAINSDemonWarp" -f "C:/Users/kitware/AppData/Local/Temp/EMS5212a02864_vtkMRMLScalarVolumeNode23.nrrd" -m "C:/D/N/Slicer-1-build/Slicer-build/share/Slicer-4.2/qt-loadable-modules/EMSegment/Tasks/MRI-Human-Brain/atlas_t1.nrrd" --initializeWithTransform C:/Users/kitware/AppData/Local/Temp/EMS10406a02864.mat --outputVolume C:/Users/kitware/AppData/Local/Temp/EMS18611a02864.nrrd --outputDeformationFieldVolume C:/Users/kitware/AppData/Local/Temp/EMS23053a02864.nrrd -i 40,20,10,5,2 -n 5 -e --numberOfMatchPoints 16 --numberOfHistogramBins 1024
Error executing tpycl_result = slicer.DQZXSAQl.PrintText('TCL: Long flag "--outputDeformationFieldVolume" is deprecated. Please use long flag "--outputDisplacementFieldVolume" instead. \nRead ITK transform from text file: C:/Users/kitware/AppData/Local/Temp/EMS10406a02864.mat\nCaught an ITK exception: \n\nitk::ExceptionObject (00000000009D8280)\nLocation: "class itk::SmartPointer<class itk::Transform<double,3,3> > cdecl itk::ReadTransformFromDisk(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)" \nFile: ..........\BRAINSTools\BRAINSCommonLib\GenericTransformImage.cxx\nLine: 249\nDescription: itk::ERROR: Number of currentTransformList = 0FATAL ERROR: Failed to read transformC:/Users/kitware/AppData/Local/Temp/EMS10406a02864.mat\n\n c:\d\n\slicer-1-build\brainstools\brainscommonlib\ApplicationBase.hxx 53\nCaught an ITK exception: \n\nitk::ExceptionObject (00000000009D8700)\nLocation: "class itk::
SmartPointer<class itk::Transform<double,3,3> >
cdecl itk::ReadTransformFromDisk(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)" \nFile: ..........\BRAINSTools\BRAINSCommonLib\GenericTransformImage.cxx\nLine: 249\nDescription: itk::ERROR: Number of currentTransformList = 0FATAL ERROR: Failed to read transformC:/Users/kitware/AppData/Local/Temp/EMS10406a02864.mat\n\n c:\d\n\slicer-1-build\brainstools\brainsdemonwarp\BRAINSDemonWarpTemplates.h 554\n\nThis application has requested the Runtime to terminate it in an unusual way.\nPlease contact the application's support team for more information.')
(<type 'exceptions.SyntaxError'>, SyntaxError('invalid syntax', ('<string>', 1, 1567, '__tpycl_result = slicer.DQZXSAQl.PrintText(\'TCL: Long flag "--outputDeformationFieldVolume" is deprecated. Please use long flag "--outputDisplacementFieldVolume" instead. \nRead ITK transform from text file: C:/Users/kitware/AppData/Local/Temp/EMS10406a02864.mat\nCaught an ITK exception: \n\nitk::ExceptionObject (00000000009D8280)\nLocation: "class itk::SmartPointer<class itk::Transform<double,3,3> >
cdecl itk::ReadTransformFromDisk(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)" \nFile: ..\..\..\..\..\BRAINSTools\BRAINSCommonLib\GenericTransformImage.cxx\nLine: 249\nDescription: itk::ERROR: Number of currentTransformList = 0FATAL ERROR: Failed to read transformC:/Users/kitware/AppData/Local/Temp/EMS10406a02864.mat\n\n c:\d\n\slicer-1-build\brainstools\brainscommonlib\Applicati
onBase.hxx 53\nCaught an ITK exception: \n\nitk::ExceptionObject (00000000009D8700)\nLocation: "class itk::SmartPointer<class itk::Transform<double,3,3> > __cdecl itk::ReadTransformFromDisk(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)" \nFile: ..\..\..\..\..\BRAINSTools\BRAINSCommonLib\GenericTransformImage.cxx\nLine: 249\nDescription: itk::ERROR: Number of currentTransformList = 0FATAL ERROR: Failed to read transformC:/Users/kitware/AppData/Local/Temp/EMS10406a02864.mat\n\n c:\d\n\slicer-1-build\brainstools\brainsdemonwarp\BRAINSDemonWarpTemplates.h 554\n\nThis application has requested the Runtime to terminate it in an unusual way.\nPlease contact the application\'s support team for more information.\')')), <traceback object at 0x00000000144F7C08>)

while executing

"py_eval $pycmd"
(procedure "::tpycl::methodCaller" line 117)
invoked from within
"::tpycl::methodCaller DQZXSAQl slicer.DQZXSAQl $args"
(procedure "DQZXSAQl" line 1)
invoked from within
"$LOGIC PrintText "TCL: $errmsg""
("BRAINS" arm line 82)
invoked from within
"switch -exact "$selectedRegistrationPackage" {
"CMTK" {

            set affineType 1

            ## CMTK specific arguments

..."
(procedure "SkullStripper" line 48)

Something funky seems to happen with Brains tools

Kilian

jcfr

jcfr

2012-11-09 10:54

administrator   ~0007141

From Jc:

The two test are failing because they timeout ... should we expect these test to take more than 15 min to run ?
Jc

jcfr

jcfr

2012-11-09 10:54

administrator   ~0007142

From Kilian:
appears that brains tool takes very long under windows

jcfr

jcfr

2012-11-09 10:54

administrator   ~0007143

From Kilian:
it might take 5 min max under linux

jcfr

jcfr

2012-11-09 11:15

administrator   ~0007144

Regarding note http://www.na-mic.org/Bug/view.php?id=2741#c7140,

would be great if you could provide both datasets and the command line causing BRAINS module to fail. Then, we would create an issue and ask Hans to work on it.

Thanks

pohl

pohl

2012-11-20 16:18

developer   ~0007331

data with readme file on the running the brainsfit command are located in

https://dl.dropbox.com/u/3652483/bug_2741.tgz

jcfr

jcfr

2012-11-21 05:22

administrator   ~0007333

Thanks Kilian. I created issue 0002780 assigned to Hans. We should head back from him shortly.

jcfr

jcfr

2013-08-30 13:12

administrator   ~0009742

Test " EMSeg_MRML_DiffReadWriteNodes " still failing on windows 32/64, ubuntu and macosx.

Test "EMSegCL_Task_MRIHumanBrainFullParcellation_BRAINS_small" failing on windows 32/64

jcfr

jcfr

2013-10-01 13:19

administrator   ~0010118

Last edited: 2013-10-01 13:19

Test "EMSegCL_Task_MRIHumanBrainFullParcellation_BRAINS_small" still failing on windows. See http://trunk.cdash.org/testDetails.php?test=4488023&amp;build=155820

pohl

pohl

2013-10-04 07:23

developer   ~0010131

The error breaking the test is

invalid command name "vtkImageLabelPropagation"
invalid command name "vtkImageLabelPropagation"
while executing
"vtkImageLabelPropagation New"
(procedure "GeneratedVoronoi" line 6)
invoked from within
"GeneratedVoronoi [$outputVolumeNode GetImageData]"
(procedure "RegisterAtlas" line 265)
invoked from within
"RegisterAtlas $atlasAlignedFlag"
(procedure "::EMSegmenterPreProcessingTcl::Run" line 53)
invoked from within
"::EMSegmenterPreProcessingTcl::Run"
EMSEG: Preprocessing complete.
EMSEG: Start Segmentation.

The filter is not found when called in Tcl. I have not idea why. I checked the CMakeLocal files - the filter is compiled under windows

jcfr

jcfr

2014-09-02 11:01

administrator   ~0012452

Fixed in r23640
See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&amp;revision=23640

Issue History

Date Modified Username Field Change
2012-11-09 02:55 jcfr New Issue
2012-11-09 02:55 jcfr Status new => assigned
2012-11-09 02:55 jcfr Assigned To => pohl
2012-11-09 02:55 jcfr Priority normal => high
2012-11-09 02:55 jcfr Target Version => Slicer 4.2.1
2012-11-09 02:56 jcfr Relationship added related to 0002569
2012-11-09 10:53 jcfr Note Added: 0007140
2012-11-09 10:54 jcfr Note Added: 0007141
2012-11-09 10:54 jcfr Note Added: 0007142
2012-11-09 10:54 jcfr Note Added: 0007143
2012-11-09 11:15 jcfr Note Added: 0007144
2012-11-16 12:02 jcfr Target Version Slicer 4.2.1 => Slicer 4.2.2
2012-11-20 16:18 pohl Note Added: 0007331
2012-11-21 05:21 jcfr Relationship added parent of 0002780
2012-11-21 05:22 jcfr Note Added: 0007333
2012-12-07 17:59 jcfr Target Version Slicer 4.2.2 => Slicer 4.2.3
2013-02-12 09:37 jcfr Target Version Slicer 4.2.3 => Slicer 4.3.0
2013-08-30 13:12 jcfr Note Added: 0009742
2013-08-30 13:12 jcfr Target Version Slicer 4.3.0 => Slicer 4.3.1
2013-10-01 13:17 jcfr Relationship added related to 0003381
2013-10-01 13:19 jcfr Note Added: 0010118
2013-10-01 13:19 jcfr Note Edited: 0010118
2013-10-04 00:50 jcfr Target Version Slicer 4.3.1 => Slicer 4.3.2
2013-10-04 07:23 pohl Note Added: 0010131
2014-03-06 10:15 nicole Target Version Slicer 4.3.2 => Slicer 4.4.0
2014-07-29 16:31 jcfr Relationship added related to 0003561
2014-07-29 16:31 jcfr Relationship added related to 0003779
2014-09-02 11:01 jcfr Note Added: 0012452
2014-09-02 11:01 jcfr Status assigned => resolved
2014-09-02 11:01 jcfr Fixed in Version => Slicer 4.4.0
2014-09-02 11:01 jcfr Resolution open => fixed
2014-09-17 22:55 jcfr Status resolved => closed