Re: frame designer crashing

"Werner F. Bruhin" <[email protected]>
Newsgroups gmane.comp.ide.boa-constructor.user
Message-ID <[email protected]>
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


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.