Re: Configtool not work with new version of wxPython?

Brian Paul <[email protected]> Fri, 05 Nov 2004 11:17:22 -0700
Newsgroups gmane.comp.graphics.chromium.devel
Message-ID <[email protected]>
Christopher Waters wrote:
> Has anyone else had any problems running the config tool with newer 
> versions of wxPython?  I installed 2.5.2.8 and it doesn't work anymore. 
>  The error I'm getting is:
> Traceback (most recent call last):
>   File "configtool.py", line 15, in ?
>     import graph, crutils
>   File "/cr/mothership/tools/graph.py", line 111, in ?
>     _AppNodeBrush = wxBrush(wxColor(55, 160, 55))
>   File "//Library/Python/2.3/wx/_gdi.py", line 377, in __init__
>     newobj = _gdi_.new_Brush(*args, **kwargs)
> wx._core.PyNoAppError: The wx.App object must be created first!
> 
> 
> As to my professor's suggestion, I checked the wxPython migration guide 
> (http://www.wxpython.org/migrationguide.php), and it seems that since 
> 2.5, the wx.App object must be created first.

I'm sending you a new file to try out.

-Brian



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click