I am trying to run the

NTT pessto pipeline

that uses PyRAF. I have everything installed but when I try to test if it works I have two issues, first, the image enviroment opens but the image is never displayed. Then when I try to Edit apertures for the file I am analyzing I get the error:

PANIC in /home/anaconda2/envs/iraf27/iraf/noao/bin.linux/x_apextract.e':Write to IPC with no reader

I am currently using Python 2.7.15 :: Anaconda, Inc. and I also have IRAF installed. I am using a astroconda environment that I installed following the legacy software directions from:

https://astroconda.readthedocs.io/en/latest/installation.html#legacy-software-stack-with-iraf

I use setuptools so I don't think is an issue of PYTHONPATH

If anyone could help me I would really apreciate it.

Cheers.

2

There are 2 best solutions below

3
olebole On

I tried this with IRAF/PyRAF that comes with Ubuntu 18.04:

PyRAF 2.1.14 Copyright (c) 2002 AURA
Python 3.6.5rc1 Copyright (c) 2001-2018 Python Software Foundation.
Python/CL command line wrapper
  .help describes executive commands
--> noao
--> twodspec
twodspec/:
 apextract/     longslit/
--> apextract
apextract/:
 apall          apedit          apflatten       apnormalize     apscatter
 apdefault@     apfind          apmask          aprecenter      apsum
 apdemos/       apfit           apnoise         apresize        aptrace
--> apedit dev$pix
Edit apertures for dev$pix? ('yes'): 

and then a window openes for editing, without the error message. So, I guess this is a bug in your IRAF distribution. You probably should check with the astroconda people.

1
Pris On

Solved. The problem was the matplotlib version.