help > RE: could not create IO object error
Aug 17, 2019  12:08 PM | Martin Styner
RE: could not create IO object error
Hi Maddy

Do you also see "can't create IO object for writing" errors (rather than reading). If so, does the output say why it cannot write?

Since you see many of these, my possible guesses are:
- that the output directory may not have correct permissions to write in
- the disk is full
- naming problems (Are there spaces in your input filenames, any non-alphanumeric characters)

This is unlikely a dependency issue. If the above did not help, could you provide the whole terminal output as an attached file?

Martin
Originally posted by petemade:
Hi,

In running the RHL6 version (and python 3.7), we are receiving consistent errors with the ImageMath and BRAINSFit tools such that the itkImageFileReader "Could not create IO object for reading file". This results in command termination and empty skullstripping, TissueSegAtlas, and VentricleMasking output folders. 

A sample error with the LargeCSF01 T1 and T2 files: Following error(s) occured : terminate called after throwing an instance of 'itk::ImmageFileReaderException' what (): /tools/ITK/ITKv4.10.0/ITKv4.10.0_THL64_stat_Release/include/ITK-4.10/itkImageFileReader.hxx:143: Could not create IO object for reading the file LargerCSF01_T1_FinalBrainMask_Erosion01.nrrd The file doesn't exist. Filename = LargeCSF01_T1_FinalBrainMask_Erosion01.nrrd

Are some dependencies missing or has something else gone awry?

Thanks,
Maddy

Threaded View

TitleAuthorDate
petemade Aug 16, 2019
RE: could not create IO object error
Martin Styner Aug 17, 2019
petemade Aug 26, 2019
Martin Styner Aug 27, 2019
petemade Sep 6, 2019