Re: frame designer crashing

"ianaré sévi" <[email protected]>
Newsgroups gmane.comp.ide.boa-constructor.user
Message-ID <[email protected]>
I'm getting the exact same error output on

python 2.5.1 (r251:54863, May  2 2007, 16:56:35)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)]
wxversion 2.6.3.2
encoding UTF8

I also tried brewsta-v1_0b10 with identical results. The app does run
fine, although I need to type 'python brewsta.pyw', because

brewsta-v1_1b36-src$ ./brewsta.pyw
: No such file or directory

Not much help, I know ...



2007/8/19, paul sorenson <[email protected]>:
> 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
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users
>
>
> -------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/boa-constructor-users
>


-- 
- ianaré sévi
Le Homard de Vinci
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/boa-constructor-users
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.