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

Home » Public Forums » archive » Error messages when printing
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Error messages when printing [message #71901] Mon, 26 July 2010 08:50 Go to next message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
I have been trying out the nice new graphics and printing
facilities in IDL 8.

Sometimes, when I close a graphics window I get a a rash of error
messages. Any idea where this is coming from? It is not 100%
reproducible.

IDL 8 on OS X 10.6.4 running XQuartz.

Ken


IDL Version 8.0, Mac OS X (darwin x86_64 m64). (c) 2010, ITT Visual Information Solutions
Licensed for use by: DEPARTMENT OF METEOROLOGY, TEX

IDL> p = PLOT(FINDGEN(11)^2)
% Loaded DLM: XML.
IDL> p.color = 'red'
IDL> p.save, 'test_plot.pdf'
IDL> Mon Jul 26 10:44:44 stretch.tamu.edu idl[1695] <Error>: kCGErrorIllegalArgument: CGSGetSurfaceBounds
Mon Jul 26 10:44:44 stretch.tamu.edu idl[1695] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Mon Jul 26 10:44:44 stretch.tamu.edu idl[1695] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0x2be
Mon Jul 26 10:44:44 stretch.tamu.edu idl[1695] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0x2be
Mon Jul 26 10:44:44 stretch.tamu.edu idl[1695] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0x2be
Mon Jul 26 10:44:44 stretch.tamu.edu idl[1695] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0x2be
Mon Jul 26 10:44:44 stretch.tamu.edu idl[1695] <Error>: unknown error code: invalid drawable

IDL>
Re: Error messages when printing [message #72089 is a reply to message #71901] Wed, 11 August 2010 23:58 Go to previous message
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
On Aug 11, 7:01 am, wlandsman <wlands...@gmail.com> wrote:
> On Aug 11, 6:46 am, Dave Poreh <d.po...@gmail.com> wrote:
>
>> I am not using IDL 8.0, but when I saw this example I shocked. Does
>> this mean that we can’t use our old programs in IDL 8? For instance
>> does plot, x,y work in IDL 8 or we have to change it like p=plot(x,y)?
>> Cheers
>> Dave
>
> The plot,x,y command works in IDL 8.0.     I have not found or heard
> of any problem running pre-8.0 programs in IDL 8.0 (assuming that you
> use brackets and not parentheses to subscript arrays).
>
> The OP's problem appears to be an occasional one specific to running
> the new 8.0 plotting features with Xquartz on the Mac. --Wayne

Thanks Wayne.
Cheers
Dave
Re: Error messages when printing [message #72094 is a reply to message #71901] Wed, 11 August 2010 07:01 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Aug 11, 6:46 am, Dave Poreh <d.po...@gmail.com> wrote:
> I am not using IDL 8.0, but when I saw this example I shocked. Does
> this mean that we can’t use our old programs in IDL 8? For instance
> does plot, x,y work in IDL 8 or we have to change it like p=plot(x,y)?
> Cheers
> Dave

The plot,x,y command works in IDL 8.0. I have not found or heard
of any problem running pre-8.0 programs in IDL 8.0 (assuming that you
use brackets and not parentheses to subscript arrays).

The OP's problem appears to be an occasional one specific to running
the new 8.0 plotting features with Xquartz on the Mac. --Wayne
Re: Error messages when printing [message #72095 is a reply to message #71901] Wed, 11 August 2010 03:46 Go to previous message
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
On Aug 10, 12:48 pm, BillO <bok...@ittvis.com> wrote:
> On Jul 26, 9:52 am, "Kenneth P. Bowman" <k-bow...@null.edu> wrote:
>
>> In article <k-bowman-9210BB.10502726072...@news.tamu.edu>,
>>  "Kenneth P. Bowman" <k-bow...@null.edu> wrote:
>
>>> Sometimes, when I close a graphics window I get a a rash of error
>>> messages.  Any idea where this is coming from?  It is not 100%
>>> reproducible.
>
>> I take that back.  When I print the window to a PDF and then close
>> the window.  It dumps those error messages.

I am not using IDL 8.0, but when I saw this example I shocked. Does
this mean that we can’t use our old programs in IDL 8? For instance
does plot, x,y work in IDL 8 or we have to change it like p=plot(x,y)?
Cheers
Dave
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 8.0 name conflict
Next Topic: iVolume bug

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

Current Time: Fri Oct 10 14:14:28 PDT 2025

Total time taken to generate the page: 0.80206 seconds