View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003015 | Slicer4 | Core: CLI infrastructure | public | 2013-03-15 10:31 | 2014-03-06 04:54 |
Reporter | pieper | Assigned To | jcfr | ||
Priority | high | Severity | block | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | |||||
Target Version | Slicer 4.3.0 | Fixed in Version | Slicer 4.3.0 | ||
Summary | 0003015: can't run CLI because ITKv4 IO objects not registered | ||||
Description | See user report: | ||||
Additional Information | Key issue seems to be that there are no file readers available in the CLI: ERROR: In ........\Slicer-1\Base\QTCLI\vtkSlicerCLIModuleLogic.cxx, line 1574 itk::ImageFileWriterException (0000000000B3E360) | ||||
Tags | No tags attached. | ||||
fwiiw, I have a similar (or the same!) issue when using BRAINS registration (here vtkMRMLScalarVolumeNode8 does indeed exist as a node), here it is itkImageFileReader that complains:Found SharedObject Module slicer:0x7f55356e1cb0 --processinformationaddress 0x7654940 --fixedVolume slicer:0x224b7d0#vtkMRMLScalarVolumeNode8 --movingVolume slicer:0x224b7d0#vtkMRMLScalarVolumeNode4 --linearTransform /tmp/Slicer/BFCGE_vtkMRMLLinearTransformNodeBC.h5 --useRigid --initializeTransformMode Off --initialTransform /tmp/Slicer/BFCGE_vtkMRMLLinearTransformNodeG.h5 --numberOfSamples 100000 --splineGridSize 14,10,12 --numberOfIterations 1500 --maskProcessingMode NOMASK --outputVolumePixelType float --backgroundFillValue 0 --maskInferiorCutOffFromCenter 1000 --interpolationMode Linear --minimumStepLength 0.005 --translationScale 1000 --reproportionScale 1 --skewScale 1 --maxBSplineDisplacement 0 --numberOfHistogramBins 50 --numberOfMatchPoints 10 --fixedVolumeTimeIndex 0 --movingVolumeTimeIndex 0 --medianFilterSize 0,0,0 --removeIntensityOutliers 0 --useCachingOfBSplineWeightsMode ON --useExplicitPDFDerivativesMode AUTO --ROIAutoDilateSize 0 --ROIAutoClosingSize 9 --relaxationFactor 0.5 --maximumStepLength 0.2 --failureExitCode -1 --numberOfThreads -1 --forceMINumberOfThreads -1 --debugLevel 0 --costFunctionConvergenceFactor 1e+09 --projectedGradientTolerance 0 --costMetric MMI ERROR: In /home/kitware/Dashboards/Nightly/Slicer4/Base/QTCLI/vtkSlicerCLIModuleLogic.cxx, line 1725 |
|
Very probably a regression in ITKv4. This is currently discussed here: http://www.itk.org/pipermail/insight-developers/2013-April/022568.html |
|
It has been confirmed and it is a regression in ITK. Patch is currently been reviewed [1]. Related discussion is [2] [1] http://review.source.kitware.com/#/c/10645 |
|
Fixed in r21859 BUG: Restore functioning of CLI loadable module by fixing ITKv4 regression Problem is summarize by the discussion posted on the ITK developer list // -------------- Following commit 4c47e7d [1] of February 19th and commit defb9c1 [2] of This caused a regression in Slicer where the ObjectFactory were expected In Slicer case, the environment variable ITK_AUTOLOAD_PATH was set during By commenting line where a new ImageRegionSplitterSlowDimension is An easy solution for us would be to ensure the "ITK_AUTOLOAD_PATH" To provide more details, within Slicer we set the CMake variable It seems the new ITK commits 4c47e7d and defb9c1 prevent from completely [1] https://github.com/Kitware/ITK/commit/4c47e7d // -------------- This is quite an interesting side-effect of the changes I introduced. I am glad that you were able to figure this out. For a variety of I agree that lazy initialization is the way to go. Unfortunately it ITKv4 performs the factory initialization when the user creates the CONCLUSION: Inside ITK, we can not use statically initialized ITK object. Issues: ITK discussion: ITK patch: |
|
Closing resolved issues that have not been updated in more than 3 months |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2013-03-15 10:31 | pieper | New Issue | |
2013-03-15 10:31 | pieper | Status | new => assigned |
2013-03-15 10:31 | pieper | Assigned To | => jcfr |
2013-03-19 10:41 | jcfr | Priority | normal => high |
2013-03-19 10:41 | jcfr | Target Version | => Slicer 4.3.0 |
2013-04-01 11:27 | imphead | Note Added: 0008275 | |
2013-04-03 06:55 | jcfr | Note Added: 0008300 | |
2013-04-03 06:55 | jcfr | Status | assigned => feedback |
2013-04-03 11:08 | jcfr | Relationship added | has duplicate 0003042 |
2013-04-03 11:12 | jcfr | Note Added: 0008302 | |
2013-04-03 12:19 | jcfr | Note Added: 0008305 | |
2013-04-03 12:19 | jcfr | Status | feedback => resolved |
2013-04-03 12:19 | jcfr | Fixed in Version | => Slicer 4.3.0 |
2013-04-03 12:19 | jcfr | Resolution | open => fixed |
2014-03-06 04:53 | jcfr | Note Added: 0010780 | |
2014-03-06 04:54 | jcfr | Status | resolved => closed |