[Boa Constr] Boa, PythonCard and wxPython 2.8.8.1

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:
> Boa Constructor - wxPython GUI Builder / Discussion / Help: wxPython 2.8.8.1 Boa startup error

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!