[Insight-developers] Could not create IO object for file cthead1.png
Bradley Lowekamp
blowekamp at mail.nih.gov
Tue Mar 15 11:13:36 EDT 2011
I have run into similar behavior with SimpleITK, but haven't gotten to closely look at the issue yet.
58: Test command: /scratch/blowekamp/build/SimpleITK-gcc/bin/SimpleITKUnitTestDriver --gtest_filter=BasicFilters.Tan
58: Test timeout computed to be: 1500
58: Note: Google Test filter = BasicFilters.Tan
58: [==========] Running 1 test from 1 test case.
58: [----------] Global test environment set-up.
58: [----------] 1 test from BasicFilters
58: [ RUN ] BasicFilters.Tan
58: /scratch/blowekamp/build/SimpleITK-gcc/Testing/Unit/sitkTanImageFilterTest.cxx:43: Failure
58: Expected: inputA.reset ( reader.SetFileName ( dataFinder.GetFile ( "Input/Ramp-Zero-One-Float.nrrd" ) ).Execute() ) doesn't throw an exception.
58: Actual: it throws.
58: Failed to load Input/Ramp-Zero-One-Float.nrrd
58: [ FAILED ] BasicFilters.Tan (0 ms)
58: [----------] 1 test from BasicFilters (0 ms total)
58:
58: [----------] Global test environment tear-down
58: [==========] 1 test from 1 test case ran. (0 ms total)
58: [ PASSED ] 0 tests.
58: [ FAILED ] 1 test, listed below:
58: [ FAILED ] BasicFilters.Tan
58:
58: 1 FAILED TEST
1/1 Test #58: BasicFilters.Tan .................***Failed 0.03 sec
On Mar 15, 2011, at 10:55 AM, Gaëtan Lehmann wrote:
>
> Hi,
>
> I've mostly fixed the build of wrappers with the modularized ITK, but
> the tests are all broken because of that problem:
>
> RuntimeError: /home/glehmann/src/ITK/ITK/IO/Base/include/
> itkImageFileReader.txx:144:
> Could not create IO object for file /home/glehmann/src/ITK/Wrapping/
> WrapITK/images/cthead1.png
> Tried to create one of the following:
> You probably failed to set a file suffix, or
> set the suffix to an unsupported type.
>
> or the similar problem for the writer:
>
> RuntimeError: /home/glehmann/src/ITK/ITK/IO/Base/include/
> itkImageFileWriter.txx:157:
> Could not create IO object for file CastImageFilter.png
> Tried to create one of the following:
> You probably failed to set a file suffix, or
> set the suffix to an unsupported type.
>
>
> It seems that the ImageIO are not registered.
>
> Any idea of what can lead to this behavior?
>
> Thanks,
>
> 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 http://www.itk.org
> http://www.mandriva.org http://www.bepo.fr
>
> <PGP.sig><ATT00001..txt>
========================================================
Bradley Lowekamp
Lockheed Martin Contractor for
Office of High Performance Computing and Communications
National Library of Medicine
blowekamp at mail.nih.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110315/4c44908a/attachment.htm>
More information about the Insight-developers
mailing list