View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

DISPLAY task gives an error

nowheydude wrote on Apr 10, 2008

I was going through the introductory tutorial and ran into trouble almost immediately when using the "display" task:

I first unpacked the files in the ~/exercises/intro directory, then...
ecl>unlearn rfits
ecl>rfits fintro* "" junk old+

which created two files: im010.fits and im011.fits
ecl>dir
fintro0001 fintro0002 im010.fits im011.fits

when it comes time to display the images this happens:
ecl>display im010.fits 1
ERROR: Cannot open device (node!imtool,,512,512)

I'm not sure how to interpret this message. Any help would be much appreciated, and I'd be glad to give you guys more info if you need it. Thanks!

Also, I can use ds9 to display the images just fine, so do I even need to worry about IRAF's native display capabilities?

Mike Fitzpatrick wrote on Apr 10, 2008

DS9 (or XImtool) need to be running before you try to display an image. The message simply means that IRAF can't find a display server running. There can be other explanations so if you still have problems, let me know what platform you're using.

Also, I can use ds9 to display the images just fine, so do I even need to worry about IRAF's native display capabilities?


That's up to you, however some tasks require interaction with the image display and things can be simpler if IRAF displayed the image in the first place.

Cheers,
-Mike

nowheydude wrote on Apr 10, 2008

I'm running Fedora Core 8. In addition to the core system packages, I installed the redhat and noao packages when I first set up IRAF.

I read in the beginner's guide that the image server IMTOOL is included with the SunOS distribution packages (which I did not install), and that another image server called SAOimage is also available and included with most other distributions.

Could this be the issue? i.e. I don't have an image server installed because I didn't install the SunOS packages (IMTOOL) and for one reason or another don't have SAOimage either?

How do I go about troubleshooting this problem?

Thanks
Nathan

Mike Fitzpatrick wrote on Apr 10, 2008

The Beginner's Guide hasn't been updated in forever. I'm presently working on a 24-bit XImtool but it's going slowly. For now, get

ftp://sao-ftp.harvard.edu/pub/rd/ds9/linux/ds9

Download in binary mode, make it executable and start it up before trying to display. DS9 is the successor to SAOimage, XImtool is the successor to IMTOOL.

-Mike

Last post on Apr 10, 2008