Having problems with IDL for Linux [message #7020] |
Fri, 13 September 1996 00:00 |
munter
Messages: 3 Registered: June 1996
|
Junior Member |
|
|
I am running RedHat Release 3.0.3 (Picasso) with Linux kernel 1.2.13.
We bought the commercial server Xaccel from Xinside.
I have been experiencing two problems with IDL for Linux. The first
is that my trial period mysteriously expired twice on the first day
that I ran the genver program. The first time it happened, I called
up RSI tech support, they gave me another number, and it worked fine
for a while. It happened again later in the day, and I sent them an
email message describing the problem. I came into work this morning,
and it worked great again. The trial period was mysteriously renewed.
Has anyone else had this happen to them with Linux?
Now the other question. IDL seems to be having a hard time getting
the information about the visual class from the XWindow server. When I
try to run 'xloadct' I get the following output:
IDL> xloadct
% Compiled module: XLOADCT.
% Compiled module: XREGISTERED.
% Compiled module: LOADCT.
% Unsupported X Windows visual (class: StaticGray, depth: 0).
Substituting default (class: <UndefinedVisual>, Depth: 0).
% Error occurred at: LOADCT 86
/usr/local/rsi/idl_4/lib/loadct.pro
% XLOADCT 368
/usr/local/rsi/idl_4/lib/xloadct.pro
% $MAIN$
% Execution halted at: XLOADCT 368
/usr/local/rsi/idl_4/lib/xloadct.pro
IDL checks through the list of visual classes on Page 3-55R of the
manuals to find out which one it should use. It looks like it is
making it all the way through the list without finding any before it
crashes. I can define the correct visual class with the command:
IDL> device, true_color=15
and then try to run 'xloadct'. It makes it a little farther and gives
me the XLoadct widgets before it dies. Here is the output I get:
IDL> device, true_color=15
IDL> xloadct
% Compiled module: XLOADCT.
% Compiled module: XREGISTERED.
% Compiled module: LOADCT.
% Compiled module: FILEPATH.
% Compiled module: CW_BGROUP.
% Array has a corrupted descriptor: <No name>.
% Execution halted at: XLOADCT 486
/usr/local/rsi/idl_4/lib/xloadct.pro
% $MAIN$
If I make any plots after setting the visual class as above, the
colors come out all wrong. Another example of the problem is when I
run the tour from the demo. The same error occurs whether I run it
from a remote machine and send the XWindows to my Linux box or run it
on my local machine:
% Embedded IDL: Research Systems, Inc., IDL Demo.
% Unsupported X Windows visual (class: PseudoColor, depth: 8).
Substituting default (class: TrueColor, Depth: 15).
% Procedure XMANAGER can't be restored while active.
% Restored file: IDL_TOUR.
% Array has a corrupted descriptor: <No name>.
% Error occurred at: IDL_DEMO_EVENT
% WIDGET_EVENT
% XMANAGER
% DEMO
% MAIN
% $MAIN$
% Execution halted at: $MAIN$
Any suggestions on how to fix this problem? I thought about posting
it to an XWindow group, but the problem seems to be exclusive to IDL.
xv works fine, the colors are right, netscape's colors are all right.
Gnuplot's colors seem to work, and the window manager, fvwm, displays
its colors correctly.
Thanks in advance for any help.
Alan Munter
munter@uiuc.edu
--
munter@uiuc.edu, http://ne43.ne.uiuc.edu/~amunter/
|
|
|