Re: [Boa Constr] frame designer crashing
Status: Beta
Brought to you by:
riaan
From: paul s. <sf...@me...> - 2007-08-20 01:02:41
|
Werner, How are you going? I haven't posted in ages. Thanks for looking into this. My code base at home gets the "mac fudge" for setmenubar added at build time (not at design time). I tried a few things, including updating the version selection and still get the same result. Below is the output in the console window. The RecipeModel and getConfig "not defined" errors have always been there when opening up the designer. Anyway, I will have to do a bit more digging myself. It seems it is peculiar to my application. cheers ... opening in Editor: brewsta.py opening in Editor: brewsterframe.py showing main frames ** (python:9430): CRITICAL **: glide_draw_box_gap: assertion `height >= -1' failed name 'RecipeModel' is not defined name 'getConfig' is not defined (python:9430): Gtk-WARNING **: Can't set a parent on widget which has a parent (python:9430): Gtk-WARNING **: Can't set a parent on widget which has a parent (python:9430): Gtk-WARNING **: Can't set a parent on widget which has a parent (python:9430): Gtk-WARNING **: Can't set a parent on widget which has a parent (python:9430): Gtk-WARNING **: Can't set a parent on widget which has a parent (python:9430): Gtk-WARNING **: Can't set a parent on widget which has a parent (python:9430): Gtk-WARNING **: Can't set a parent on widget which has a parent (python:9430): Gdk-WARNING **: gdkdrawable-x11.c:878 drawable is not a pixmap or window Gtk-ERROR **: file gtkcontainer.c: line 2447 (gtk_container_propagate_expose): assertion failed: (child->parent == GTK_WIDGET (container)) aborting... Werner F. Bruhin wrote: > 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/ > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users |