Re: [Boa Constr] Boa, PythonCard and wxPython 2.8.8.1
Robin Dunn <[email protected]> Thu, 14 Aug 2008 12:38:56 -0700
| Newsgroups | gmane.comp.python.pythoncard,gmane.comp.python.wxpython,gmane.comp.ide.boa-constructor.user |
|---|---|
| Message-ID | <[email protected]> |
Jim Hill wrote: >> Alexei Vinidiktov wrote: > >>> I've installed the latest version of wxPython (2.8.8.1) and now Boa >>> Constructor won't start. I'm on Windows XP SP2 and Python 2.5.2. >>> Here's the traceback I get: > [snip] >>> File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_misc.py", line 3313 >>> , in __init__ >>> _misc_.FileConfig_swiginit(self,_misc_.new_FileConfig(*args, **kwargs)) >>> wx._core.PyNoAppError: The wx.App object must be created first! > > Werner F. Bruhin wrote: > > Posted a work around here: > > https://sourceforge.net/forum/message.php?msg_id=5133566 > > > My PythonCard codeEditor gets the same error from > line 3313 in ...\wx\_misc.py > (Same system and apps as Alexei.) > > I thought it may be a problem in wxPython 2.8.8.1, rather than > in Boa or PythonCard, but googling found nothing about it. It is caused by a change in wxPython. 2.8.8.1 added a check to the config classes to ensure that the app object had been created first in order to correct a crashing bug, but that was a bit of overkill since it didn't really need it in all situations. 2.8.8.2 will relax the restriction to a more appropriate level. -- Robin Dunn Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython! ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/