[Insight-users] All python tests fail
Marco Nolden
m.nolden at dkfz-heidelberg.de
Wed Nov 28 14:01:06 EST 2007
Gaëtan Lehmann wrote:
>
> Le 28 nov. 07 à 19:16, Marco Nolden a écrit :
>
>> Gaëtan Lehmann wrote:
>>>
>>> Hi Marco,
>>
>> Hi Gaëtan,
>>
>>>
>>> It seem that you have used both WrapITK and ITK_CSWIG_PYTHON. I don't
>>> think that this combination has been tested.
>>> You should try to set ITK_CSWIG_PYTHON to OFF, to disable the older
>>> wrapping method.
>>>
>> thanks for the hint. Just turning ITK_CSWIG_PYTHON to OFF didn't help.
>> After that "make" just didn't do anything. So I set up a new build and
>> the (better) result is here:
>>
>> http://www.itk.org/Testing/Sites/mbi056/Linux-c++/20071128-0957-Experimental/Test.html
>>
>>
>>> Please let us know if it fix the problem, so we can add an error during
>>> the configuration process if the user have turned on the two wrapping
>>> process.
>>>
>> As you can see it fixes the problem only partially.
>>
>> I also tried to execute
>> the PythonMedianImageFilter
>> (http://www.itk.org/Testing/Sites/mbi056/Linux-c++/20071128-0957-Experimental/Results/__Wrapping_WrapITK_Python_Tests_PythonMedianImageFilter.html)
>>
>> test without the itkTestDriver by setting PYTHONPATH and executing
>>
>> /usr/bin/python
>> /local/nolden/itk-3.4.0/InsightToolkit-3.4.0/Wrapping/WrapITK/Python/Tests/MedianImageFilter.py
>>
>> /local/nolden/itk-3.4.0/InsightToolkit-3.4.0/Wrapping/WrapITK/images/cthead1.png
>>
>> MedianImageFilter.png 3
>>
>> This results in a segmentation fault, stacktrace didn't provide much
>> information, but I can send it/post it, if you like.
>
> The logs are not really useful :-(
> Can you run that command (on a single line):
>
> PYTHONPATH=/local/nolden/itk-bin-wo-cswig/Wrapping/WrapITK/Python/:/local/nolden/itk-bin-wo-cswig/bin/:$PYTHONPATH
> /usr/bin/python -c "import itk; itk.auto_progress(2); itk.force_load()";
> echo $?
>
nolden at mbi056:~$
PYTHONPATH=/local/nolden/itk-bin-wo-cswig/Wrapping/WrapITK/Python/:/local/nolden/itk-bin-wo-cswig/bin/:$PYTHONPATH
/usr/bin/python -c "import itk; itk.auto_progress(2);
itk.force_load()"; echo $?
Loading VXLNumerics... Loading VXLNumerics... done
Loading Base... Loading Base... done
Loading UnaryPixelMath... Loading UnaryPixelMath... done
Loading PixelMath... Loading PixelMath... done
Loading Resize... Loading Resize... done
Loading BaseNumerics... Loading BaseNumerics... done
Loading IntensityFilters... Loading IntensityFilters... done
Loading BaseTransforms... Loading BaseTransforms... done
Loading IO... Loading IO... done
Loading Denoising... Loading Denoising... done
Loading LevelSet... Loading LevelSet... done
Loading DistanceMap... Loading DistanceMap... done
Loading BaseSpatialObject... Loading BaseSpatialObject... done
Loading Calculators... Loading Calculators... done
Loading DeformableTransforms... Loading DeformableTransforms... done
Loading Interpolators... Loading Interpolators... done
Loading BinaryMorphology... Loading BinaryMorphology... done
Loading Review... Loading Review... done
Loading Filtering... Loading Filtering... done
Loading Morphology... Loading Morphology... done
Loading EdgesAndContours... Loading EdgesAndContours... done
Loading SimpleFilters... Loading SimpleFilters... done
Loading SegmentationAndThreshold... Loading SegmentationAndThreshold... done
Loading Compose... Loading Compose... done
Loading FFT... Loading FFT... done
Loading SegmentationValidation... Loading SegmentationValidation... done
Loading Registration... Loading Registration... done
Loading ITKPyUtils... Loading ITKPyUtils... done
0
> and report the result?
>
> Thanks,
>
> Gaëtan
>
>
>
> [glehmann at marvin ~]$ python -c "import itk; itk.auto_progress(2);
> itk.force_load()"; echo $?
> Loading VXLNumerics... Loading VXLNumerics... done
> Loading Base... Loading Base... done
> Loading UnaryPixelMath... Loading UnaryPixelMath... done
> Loading PixelMath... Loading PixelMath... done
> Loading Resize... Loading Resize... done
> Loading BaseNumerics... Loading BaseNumerics... done
> Loading IntensityFilters... Loading IntensityFilters... done
> Loading BaseTransforms... Loading BaseTransforms... done
> Loading IO... Loading IO... done
> Loading Denoising... Loading Denoising... done
> Loading LevelSet... Loading LevelSet... done
> Loading DistanceMap... Loading DistanceMap... done
> Loading attributeMorphology... Loading attributeMorphology... done
> Loading BaseSpatialObject... Loading BaseSpatialObject... done
> Loading componentTree... Loading componentTree... done
> Loading Calculators... Loading Calculators... done
> Loading DeformableTransforms... Loading DeformableTransforms... done
> Loading Interpolators... Loading Interpolators... done
> Loading logicOps... Loading logicOps... done
> Loading binaryAttributeMorphology... Loading
> binaryAttributeMorphology... done
> Loading BinaryMorphology... Loading BinaryMorphology... done
> Loading binaryOpenClose... Loading binaryOpenClose... done
> Loading Review... Loading Review... done
> Loading Filtering... Loading Filtering... done
> Loading Morphology... Loading Morphology... done
> Loading EdgesAndContours... Loading EdgesAndContours... done
> Loading SimpleFilters... Loading SimpleFilters... done
> Loading SegmentationAndThreshold... Loading SegmentationAndThreshold...
> done
> Loading Compose... Loading Compose... done
> Loading colocalization... Loading colocalization... done
> Loading FFT... Loading FFT... done
> Loading SegmentationValidation... Loading SegmentationValidation... done
> Loading Registration... Loading Registration... done
> Loading agrobi... Loading agrobi... done
> Loading fftshift... Loading fftshift... done
> Loading FFTW... Loading FFTW... done
> Loading fastRankMean... Loading fastRankMean... done
> Loading gaussianMixtureThreshold... Loading gaussianMixtureThreshold...
> done
> Loading ItkVtkGlue... Loading ItkVtkGlue... done
> Loading isotropicResolution... Loading isotropicResolution... done
> Loading kappaSigmaClipping... Loading kappaSigmaClipping... done
> Loading MyRegistration... Loading MyRegistration... done
> Loading labelShape... Loading labelShape... done
> Loading localExtrema... Loading localExtrema... done
> Loading met... Loading met... done
> Loading minimaImposition... Loading minimaImposition... done
> Loading MultiThreaderControl... Loading MultiThreaderControl... done
> Loading labelCombination... Loading labelCombination... done
> Loading BufferConversion... Loading BufferConversion... done
> Loading ITKPyUtils... Loading ITKPyUtils... done
> Loading rats... Loading rats... done
> Loading sliceBySlice... Loading sliceBySlice... done
> Loading projection... Loading projection... done
> 0
>
>
>
More information about the Insight-users
mailing list