Welcome to iraf.net Thursday, April 25 2024 @ 03:03 PM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 tv tasks give error "Cannot open device"
   
jthorstensen
 05/30/2015 10:30PM (Read 3040 times)  
+----
Newbie
working

Status: offline


Registered: 12/05/2008
Posts: 7
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

 
Profile Email
 Quote
fitz
 05/30/2015 10:33PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040

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.


 
Profile Email
 Quote
jthorstensen
 05/30/2015 11:35PM  
+----
Newbie

Status: offline


Registered: 12/05/2008
Posts: 7
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

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