[GRASS-user] Re: wxgui fails in latest svn

Joshua Arnott josh at snorfalorpagus.net
Fri Mar 18 14:14:02 EDT 2011


On 12/03/2011, Martin Landa <landa.martin at gmail.com> wrote:
> Hi,
>
> 2011/3/8 Carlos Grohmann<carlos.grohmann at gmail.com  <http://lists.osgeo.org/mailman/listinfo/grass-user>>:
> >/  1488, in OnInit
> />/      timeout = 2000, parent = None, id = wx.ID_ANY)
> />/  TypeError: __init__() got an unexpected keyword argument 'extrastyle'
> /
> hm, this paramater has been removed in wxPython 2.8.11. Please try out r45640.
>
> Martin
Hi Martin,

I've come across the same 'extrastyle' error, building the weekly 
snapshot (2011 03 12) on OS X 10.6.6.

I checked out r45640, which builds as expected. However, when the GUI 
starts this is printed to the console:
> Launching 'wxpython' GUI in the background, please wait...
> GRASS 7.0.svn (hydro2):~ > Fri Mar 18 16:33:02 
> Snorfalorpagus-MBP-15.local Python[64697] <Error>: 
> kCGErrorIllegalArgument: CGSGetWindowBounds: NULL window
> Fri Mar 18 16:33:02 Snorfalorpagus-MBP-15.local Python[64697] <Error>: 
> kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch 
> errors as they are logged.
> Fri Mar 18 16:33:02 Snorfalorpagus-MBP-15.local Python[64697] <Error>: 
> CGContextRestoreGState: invalid context 0x0
> Fri Mar 18 16:33:02 Snorfalorpagus-MBP-15.local Python[64697] <Error>: 
> CGContextRestoreGState: invalid context 0x0
> Fri Mar 18 16:33:02 Snorfalorpagus-MBP-15.local Python[64697] <Error>: 
> CGContextRestoreGState: invalid context 0x0
> Fri Mar 18 16:33:02 Snorfalorpagus-MBP-15.local Python[64697] <Error>: 
> CGContextRestoreGState: invalid context 0x0
> Fri Mar 18 16:33:02 Snorfalorpagus-MBP-15.local Python[64697] <Error>: 
> CGContextRestoreGState: invalid context 0x0

The GUI appears functions normally despite these messages, although I've 
not tested it extensively.

These errors are also present in the current svn (r45710).

Josh.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20110318/fb813d61/attachment.html


More information about the grass-user mailing list