Configtool not work with new version of wxPython?
Christopher Waters <[email protected]> Wed, 03 Nov 2004 16:13:04 -0600
| Newsgroups | gmane.comp.graphics.chromium.devel |
|---|---|
| Message-ID | <[email protected]> |
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.
-Chris
-------------------------------------------------------
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