View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Problem with PSF

Russell Knox wrote on Oct 12, 2006

When I'm in the package noao.digiphot.daophot and try to run the PSF command I get the following error:
ERROR: Cannot open connected subprocess (daophot$x_daophot.e)

Does anyone know why this would happen?

Thanks

Mike Fitzpatrick wrote on Oct 12, 2006

A "cannot open connected subprocess" is usually an installation error, typically one where the NB distribution file was unpacked in the wrong directory. The install script should detect this but verify there is indeed an x_daophot.e binary in the noao$bin.<arch> directory on your machine. If this is the case the nothing in the NOAO package should work. In rare instances, the NB file was unpacked properly but the download was corrupted and one or more binaries might not run. You can execute the binary at the unix level to see whether the system error shows you anything (if you get a '>' prompt it works, type 'bye' to quit). Hope this helps.

Cheers,
-Mike

Russell Knox wrote on Oct 12, 2006

Thanks for the responce.

Just to clarify I'm on a windows machine and I'm using Cygwin to create a linux shell.

I checked in iraf/irafbin/noao.bin.linux and there is no x_daophot.e (I compared the contents to a working version of IRAF and there were other missing files aswell). How can I repair my installation? Would it be easiest to delete and reinstall it from scratch?

Thanks,
Russell

Mike Fitzpatrick wrote on Oct 12, 2006

If you've installed the V2.13 Cygwin port from this site then the correct directory is /iraf/irafbin/noao.bin.cygwin (i.e. 'cygwin' is the architecture). The 'linux' I believe is what was originally used by Chris Burke's old port but you'd be better off updating.

-Mike

Meredith Rawls wrote on Oct 12, 2006

Hello,

I see that someone else has had the same problem as me - when trying to run psf you get ERROR: Cannot open connected subprocess (daophot$x_daophot.e). I'm also running cygwin on a Windows XP machine.

Unless I'm missing something, a solution to this problem was never given. I checked my /iraf/irafbin/noao.bin.linux directory, and there is no file called x_daophot.e there. Is it possible to copy the x_daophot.e file from another computer to fix this problem? I'd rather not reinstall everything if at all possible.

Thanks,
-Meredith

Mike Fitzpatrick wrote on Oct 12, 2006

Meredith,

The x_daophot.e binary should be in /iraf/irafbin/noao.bin.cygwin (i.e. 'cygwin' is the name of the architecture, not 'linux'). If you see similar problems from other NOAO package tasks (e.g. ONEDSPEC.SPLOT) then most like the NB (NOAO Binary) distribution file was unpacked in the wrong place (usually people put them all in the main iraf bin directory. You can get the file list and move them manually in this case, the simplest thing is usually just to reinstall the two binary distributions in the proper place.

-Mike

Meredith Rawls wrote on Oct 12, 2006

Thanks! I found a file called noaobinx_daophot.e hiding in iraf/iraf/noao/digiphot/daophot, and when I copied it to iraf/irafbin/noao.bin.linux and renamed it to just x_daophot.e, everything worked! (I'm not sure why the directory is "noao.bin.linux" and not "noao.bin.cygwin" as you said, but hey, it worked, I'm not going to argue.)
Thanks again

-Meredith

Last post on Oct 12, 2006