[Insight-users] All python tests fail

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Wed Nov 28 15:38:00 EST 2007


Le 28 nov. 07 à 20:01, Marco Nolden a écrit :

> 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


This one is nice.
Can you try to run one of the failed tests by hand, for example:

   PYTHONPATH=/local/nolden/itk-bin-wo-cswig/Wrapping/WrapITK/ 
Python/:/local/nolden/itk-bin-wo-cswig/bin/:$PYTHONPATH /usr/bin/ 
python /usr/bin/python /local/nolden/itk-3.4.0/InsightToolkit-3.4.0/ 
Wrapping/WrapITK/Python/Tests/template.py; echo $?

? (There is no output log for this one in http://www.itk.org/Testing/ 
Sites/mbi056/Linux-c++/20071128-0957-Experimental/Results/ 
__Wrapping_WrapITK_Python_Tests_PythonTemplate.html)

Also, can you check if the tests are always failing? I suspect a  
problem with itkTestDriver, rather than a problem in python layer.
I think you know how to use ctest, but just in case I'm wrong: you  
can choose to run only the python tests with the command "ctest -R  
Python", or even a single test with "ctest -R PythonTemplate" for  
example.

Thanks for your patience,

Gaëtan


-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr




-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?=
Url : http://public.kitware.com/pipermail/insight-users/attachments/20071128/a74355ee/PGP.pgp


More information about the Insight-users mailing list