View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

tv tasks give error “Cannot open device”

jthorstensen wrote on May 30, 2015


Hi --

I have a newly updated Fedora 21 system. I run ds9 and display an image

to it using the native ds9 commands so as not to strip out the header data.

tv/imexamine then gives

Cannot open device (node!imtool,,2048,2048)[/b]

tv/display gives the same error -- basically, whatever socket is supposed to

connect IRAF and ds9 isn't working.

Curiously, I have a laptop with the same IRAF (2.16.1) and the same ds9

(7.3.2) which does NOT give the same error. So hopefully it's some simple

setting that's been overlooked.

The same error occurs in the IRAF cl and in interactive Pyraf.

Any suggestions as to how to troubleshoot this? Thanks!

John Thorstensen

Mike Fitzpatrick wrote on May 30, 2015



DS9 v7.1 and later are broken in various ways. The fix for your problem is I think to do

setenv IMTDEV inet:5137

to force use of the inet socket instead of the broken (in ds9) unix socket. Do this in the window before you login to iraf/pyraf.


jthorstensen wrote on May 30, 2015


Mike --

That worked perfectly! Thanks!

I did adopt the shell variable setting syntax for the bash

shell, bash, viz.

IMTDEV=inet:5137

export IMTDEV

John

Last post on May 30, 2015