Welcome to iraf.net Tuesday, May 07 2024 @ 08:18 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 problems displaying psf on mac
   
framac
 03/01/2007 05:31PM (Read 5771 times)  
+----
Newbie

Status: offline


Registered: 03/01/2007
Posts: 3
Hi,I am running daophot inside iraf on my macbook pro.
I have noticed that I am not able to display the psf image that I obtain running the task "psf ". If I type "display psf.fits" I get:ERROR: Abnormal termination of child process 'bin$x_tv.e'and if I do imstat psf.fitsI get ERROR: Illegal file name template
Did anyone ever get the same problem?

 
Profile Email
 Quote
fitz
 03/01/2007 05:31PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
An 'abnormal termination' sometimes mean the binary is corrupted or can't be run on the machine for some other reason (e.g. a missing shared library). The host error message is often more informative, try executing the x_tv.e binary directly (e.g. with "cl> !/iraf/iraf/bin.macintel/x_tv.e") and post the error message. The imstat message might be related, is this the V2.13 port from this site or some other distribution ?-Mike

 
Profile Email
 Quote
framac
 03/01/2007 05:31PM  
+----
Newbie

Status: offline


Registered: 03/01/2007
Posts: 3
If I type cl > !/iraf/iraf/bin.macintel/x_tv.eI getERROR: cannot open `!/iraf/iraf/bin.macintel/x_tv.e' for writing

 
Profile Email
 Quote
fitz
 03/01/2007 05:31PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Try executing the same command outside of the CL, I suspect you'll get a 'permission denied' message. This may mean that either the permissions on the binaries are wrong (e.g. missing an execute bit), or that some directory in the path leading to it isn't readable (e.g. try 'ls -lad /iraf /iraf/iraf /iraf/iraf/bin.macintel" and be sure they are all readable).-Mike

 
Profile Email
 Quote
framac
 03/01/2007 05:31PM  
+----
Newbie

Status: offline


Registered: 03/01/2007
Posts: 3
If I give outside iraf the command/scisoft/all/packages/iraf/iraf/bin.macintel/x_tv.eI get the prompt >but no messages.For all the directories iraf/ iraf/iraf and iraf/iraf/bin.macintel/
the permissions are rwxr-xr-x I forgot to say that I am using a bash shell, if the information can be of any help.

 
Profile Email
 Quote
fitz
 03/01/2007 05:31PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The '>' prompt means the binary started normally (type 'bye' to exit). I did notice though that you used the /scisoft path, does it make a difference whether you explicitly reference /iraf/iraf/...... instead? You can use the PRCACHE command to start a binary without executing any tasks, i.e. it just puts the binary in the process cache. If you "cl> prcache display" do you see the same abnormal termination message or just when you try to run the task? Is there an ximtool/ds9 running at the time and/or does it disappear?The bash shell shouldn't normally matter but I've heard reports of weirdities using their setup scripts. Key environment variables are $iraf and $IRAFARCH, and for image display $IMTDEV if it exists at all. If you didn't run the iraf install script, only the scisoft one, you might consider doing that and logging in through the normal 'cl' command to see if it makes a difference. AFAIK, scisoft just repackages the binaries from this site, and we haven't had any similar problems reported with those.Cheers,
-Mike

 
Profile Email
 Quote
   
Content generated in: 0.16 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