Welcome to iraf.net Sunday, May 12 2024 @ 07:56 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Cannot open file error?
   
Jason Quinn
 11/09/2007 08:53PM (Read 2915 times)  
+++++
Active Member

Status: offline


Registered: 04/07/2006
Posts: 175
It's funny I was just getting the opposite error to the previous post. I was trying to convert fits files to imh files and was getting "Warning: cannot open pixel file"... turned out that the sub-directory in the imdirs didn't exist. This seems to have been caused by a problem with the mkiraf script. It tries to create a subdirectory in imdirs based on the user's login-in name. But the imdirs directory only has write permission for the iraf account after a fresh IRAF install so the subdirectory isn't made when mkiraf is run by a user. The mkiraf script should throw some sort of error if it can't make the subdirectory it tries to make.Jaso

 
Profile Email
 Quote
fitz
 11/09/2007 08:53PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The 'imdir' directory has its permissions changed to mode 666 (everyone can read-write) when the install script is run, so this may indicate that e.g. something higher in the directory path (e.g. /iraf) has permission problems, or perhaps the IRAF system is coming from a read-only NFS partition so the default imdir is invalid?In any case, I'll add a check to the mkiraf.csh script and default to HDR$ in case a problem is found. I'm building the v2.14 release now so this is a good time for suggestions like this.Cheers,
-Mike

 
Profile Email
 Quote
   
Content generated in: 0.08 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login