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

Home » Public Forums » archive » Mac Lion Update Produces BadMatch Error
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
Mac Lion Update Produces BadMatch Error [message #78270] Tue, 08 November 2011 06:55
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

I've been contacted by several people who have recently
updated to Max OSX 10.7.2 (Lion) and are having problems
with Coyote Graphics routines. Thanks to an e-mail from
David Brockley this morning, who finally figured out what
the problem is and how to work around it.

The error looks something like this:

IDL> cgPlot, IndGen(10)
% Compiled module: CGSNAPSHOT.
% X windows protocol error: BadMatch (invalid parameter attributes).
% X windows protocol error: BadMatch (invalid parameter attributes).
% X windows protocol error: BadMatch (invalid parameter attributes).

The problem appears to be the way the X Manager is
handling backing store, because the problem goes away
if you ask IDL to handle backing store for you:

Device, RETAIN=2

You can read more of the details about this problem
and what causes it in this article:

http://www.idlcoyote.com/misc_tips/badmatch.php

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Overlaying multiple plots on top of map
Next Topic: Re: Calculating cumulative probability using cgHistoPlot

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

Current Time: Wed Oct 08 15:27:54 PDT 2025

Total time taken to generate the page: 0.00304 seconds