From: Brian P. <bri...@tu...> - 2004-11-05 18:16:40
|
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 |