Re: [Boa Constr] frame designer crashing
Status: Beta
Brought to you by:
riaan
From: Werner F. B. <wer...@fr...> - 2007-08-19 08:24:27
|
Hi Paul, paul sorenson wrote: > Guys, > > I have an application that I created with Boa and wxPython that I have > been maintaining for several years. > > On FC6 With Boa 0.6.1, wxPython 2.8.4.2, trying to open the frame > designer results in a complete crash with boa disappearing without a > trace. This hasn't happened previously. > > The application runs fine. > > The source code for my app is at http://sourceforge.net/projects/brewsta/ > > Which may be slightly different to what I have here at home but this > change in behaviour appears to have either popped up with either an > upgrade in boa and/or wxPython. Unfortunately I can't say which one at > the moment. I don't see this, assuming you talk about brewsterframe.py. Only problem I see is that you made two manual changes which are not compatible with the frame designer. - you commented a line "self.SetMenuBar" and you added it to _init_utils. - I removed the commented line and moved it to after: self._init_ctrls(parent) self.SetMenuBar(self.menubar) # added for Mac compatibility - changed the wxversion.select: wxversion.ensureMinimal('2.6-unicode') I used the v1_0b10src for this. After above changes I can open it in the designer and I can also run the application. wxPython 2.8.4, Python 2.5 on Windows Vista. Werner |