error messages

Common Error Messages


Image file and header file loading errors:

cannot open file ____(header file) for input
  • Check to see if header file exists.
  • Do you have read permission for the directory?
 

cannot process ___ bits/pixel in input image

  • Only 8 or 16 bit data can be read
  • Use scanheader to review the number of bits/pixel in the file header
  • Use makeaheader to make a new header if the bits/pixel information in header is incorrect.
 

can't read ANALYZE data with ___ bits/pixel

  • Only 8 or 16 bit data can be read
  • Use scanheader to review the number of bits/pixel in the file header
  • Use makeaheader to make a new header if the bits/pixel information in header is incorrect.
 

file read error for file _____(header file)

  • The file named was opened but could not be read properly.
  • Check the size of the file to see if it is compatible with being a header.
  • See if scanheader duplicates the error.
  • If scanheader fails, try making a new header with makeaheader.
  • Check with system administrator if problem persists.
 

file read error in read_image

  • The file named was opened but the expected amount of data (based on the header information) could not be read.
  • Verify that the header information is correct using scanheader.
  • Verify that the size of the image file matches that predicted on the basis of the header.
  • Check with your system administrator is problem persists.
 

header ____(header file) indicates impossible file dimension...

  • The header indicated claims a file dimension that lies outside values deemed reasonable at the time of compilation of the AIR package (as determined by the header file AIR.h).
  • If the header information is incorrect, make a new one with makeaheader.
  • Alter the definitions of PIXEL_MAX_SIZE or PIXEL_MIN_SIZE in the header file AIR.h if the dimensions are correct and recompile the AIR package.
 

memory inadequate to create...

  • Not enough RAM was available to load your file.
  • Use scanheader to make sure that the matrix dimensions are correct.
  • Try later when the machine is less busy with other RAM intensive tasks.
  • Get more RAM.
  • If you are using one of the alignment programs, try the -z option if available
 

read_image not configured for ___ bits/pixel...

  • Only 8 or 16 bit data can be read
  • Use scanheader to review the number of bits/pixel in the file header
  • Use makeaheader to make a new header if the bits/pixel information in header is incorrect.
 

unable to allocate memory for file ____

  • Not enough RAM was available to load your file.
  • Use scanheader to make sure that the matrix dimensions are correct.
  • Try later when the machine is less busy with other RAM intensive tasks.
  • Get more RAM.
  • If you are using one of the alignment programs, try the -z option if available
 

unable to seek to plane ___ in file ___

  • The specified plane of the file could not be located.
  • Use scanheader to review the number of planes for the file according to the header
  • Use (UNIX) ls -l to determine the length of the image file to see if there is enough data for the specified number of planes.
 

WARNING: file ______ voxel dimensions ....

  • The voxel sizes match a preset value (1 x 1 x1) that was judged to be suspicious at the time the AIR package was compiled.
  • If you actually use voxels with this size, you may want to recompile the AIR package with the variable OLD_ANALYZE set to zero in the AIR.h file.


Image file and header file saving errors:

cannot open file ___(header file) for output
  • Is the disk full?
  • Do you have write permission for the directory?
 

cannot open file ___(image file) for output

Is the disk full? Do you have write permission for the directory?
 

file ____ exists, no permission to overwrite

  • The program you are using should have a mechanism whereby you can give overwrite permission.
  • If it does not, check with C programmer about having the option incorporated.
 

file write error writing ___(header file)

  • The file was opened but an error occurred while writing it.
  • The resulting output is probably a damaged file.
  • Check the size of the file and/or use scanheader to look for evidence of damage.
 

file write error writing ANALYZE header ____

  • The file was opened but an error occurred while writing it.
  • The resulting output is probably a damaged file.
  • Check the size of the file and/or use scanheader to look for evidence of damage.
 

file write error writing ___(image file)

  • The file was opened but an error occurred while writing it.
  • The resulting output is probably a damaged file.
  • The program identify will generate an error if the file is damaged. T
 

routine save cannot save ____bit images

  • Only 8 or 16 bit images (not both) can be saved by a given compilation of the AIR package.
  • Reset the AIR.h file to compile 8 or 16 bit versions or rewrite save()
 

struct indicates ___ bits/pixel instead of expected __

  • A programming error has occurred if you get this message.
  • Check with a C programmer.
 

struct indicates impossible file dimension...

  • A programming error has occurred if you get this message.
  • Check with a C programmer.


.air file loading errors:

cannot open file ____(.air file) for input
  • The file could not be opened.
  • Check to see if file exists.
  • Do you have read permission for the directory?
 

file read error for file _____(.air file)

  • The file was opened but could not be read.
  • Try scanair to verify the problem.
  • Check the file size to see if it is compatible with a .air file.
  • Check with your system administrator.
 

file read error for file _____--EOF not at expected location

  • There was data left over beyond that expected for a .air file
  • Check the size of the file.
  • Try scanair to verify the problem.
  • Is this really a .air file or could it be some other file type?


.air file saving errors:

cannot open file ____(.air file) for output
  • Is the disk full?
  • Do you have write permission for the directory?
 

file _____(.air file) exists, no permission to overwrite

  • The program should have a mechanism for granting overwrite permission if you want it.
  • Check with a C programmer if it does not.
 

file write error for file _____(.air file)

  • An error occurred while writing the file.
  • It is probably damaged--use scanair to check and see.
  • Check with system administrator if problem is recurrent.


Modified: December 12, 1996

© 1995-6 Roger P. Woods, M.D.(rwoods@ucla.edu)