comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Silent errors in run-time
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Silent errors in run-time [message #45832 is a reply to message #45831] Wed, 12 October 2005 12:01 Go to previous messageGo to previous message
K. Bowman is currently offline  K. Bowman
Messages: 330
Registered: May 2000
Senior Member
In article <1129101910.515866.264760@g47g2000cwa.googlegroups.com>,
otto.hyvarinen@fmi.fi wrote:

>> You need to "redirect output". Syntax varies slightly depending on which
>> shell
>> you are running. In csh (and tcsh) I do something like this
>> idl >>& my idl log
>
> Unfortunately this doesn't help, because IDL opens a window , that
> needs to be clicked at. I can redirect my stdout and stderr where ever
> I want, but it doesn't make any difference. It is an IDL problem, not a
> shell script problem, I sincerly believe.
>
> regards,
> Otto Hyv�rinen

I assume you mean a *graphics* window. IDL won't open a graphics window unless
your program asks it to. If you want to run in batch mode, you need to make
sure that your program doesn't issue any graphics commands. Check your startup
file for stray graphics commands or DEVICE calls.

There are a number of other workarounds, such as:

1. set the graphics device to PS
2. set the graphics device to Z
3. use the xvfb program to provide a virtual X-windows device
4. use the IDLgrBuffer for object graphics.

You can search the archives of this newsgroup for more on these options.

Cheers, Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Format query
Next Topic: Re: declare variables

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:17:17 PDT 2025

Total time taken to generate the page: 0.00616 seconds