Re: [pygtk] libglade, python and gnome widgets: segmentation fault

2002-11-06 Thread Christian Reis
On Wed, Oct 30, 2002 at 05:32:35PM +, Padraig Brady wrote: So it's calling stock_button_new which has a shit attack since gnome.ui isn't imported. Yeah, and I'm finding it's not too easy :-) Take care, -- Christian Reis, Senior Engineer, Async Open Source, Brazil.

Re: [pygtk] libglade, python and gnome widgets: segmentation fault

2002-11-03 Thread Christian Reis
On Wed, Oct 30, 2002 at 03:14:38PM +, Padraig Brady wrote: Christian Reis wrote: On Wed, Oct 23, 2002 at 01:33:25PM +0100, Padraig Brady wrote: GnomeUI-CRITICAL **: file gnome-app.c: line 208 (gnome_app_new): assertion `appname != NULL' failed. Gtk-WARNING **: invalid cast

Re: [pygtk] libglade, python and gnome widgets: segmentation fault

2002-11-03 Thread Christian Reis
On Thu, Oct 31, 2002 at 08:52:04AM +0800, James Henstridge wrote: If you want to use gnome widgets in your libglade generated interface, you must initialise libgnomeui (the same as for C programs). To do this, the steps are: import gnome.ui gnome.init(programname, version) As

[pygtk] libglade, python and gnome widgets: segmentation fault

2002-10-30 Thread Padraig Brady
Juri wrote: Hi, I was going to ask about how to get Gnome widgets to work with libglade and python but apparently I solved the problem. I've seen other people complaining about the problem but no solution, so I decided to post this anyway; consider it a bug report. I was getting this error

Re: [pygtk] libglade, python and gnome widgets: segmentation fault

2002-10-30 Thread Christian Reis
On Wed, Oct 23, 2002 at 01:33:25PM +0100, Padraig Brady wrote: GnomeUI-CRITICAL **: file gnome-app.c: line 208 (gnome_app_new): assertion `appname != NULL' failed. Gtk-WARNING **: invalid cast from (NULL) pointer to `GnomeApp' zsh: segmentation fault OK I would like to

Re: [pygtk] libglade, python and gnome widgets: segmentation fault

2002-10-30 Thread Christian Reis
On Wed, Oct 30, 2002 at 03:14:38PM +, Padraig Brady wrote: Thanks for the info, I've noticed that (with pygtk-0.6.8-3) if you use any gnome stuff (even non obvious stuff like stock icons for buttons), then it will crash unless you import gnome.ui Can you test with 0.6.11 and, if the

Re: [pygtk] libglade, python and gnome widgets: segmentation fault

2002-10-30 Thread Christian Reis
On Wed, Oct 30, 2002 at 05:18:51PM +, Padraig Brady wrote: Where can I get a pygnome corresponding to gtk-0.6.11 ? http://ftp.gnome.org/pub/GNOME/sources/gnome-python/1.4/gnome-python-1.4.4.tar.gz Take care, -- Christian Reis, Senior Engineer, Async Open Source, Brazil.

Re: [pygtk] libglade, python and gnome widgets: segmentation fault

2002-10-30 Thread James Henstridge
Padraig Brady wrote: Juri wrote: Hi, I was going to ask about how to get Gnome widgets to work with libglade and python but apparently I solved the problem. I've seen other people complaining about the problem but no solution, so I decided to post this anyway; consider it a bug report. I

Re: [pygtk] libglade, python and gnome widgets: segmentation fault

2002-10-30 Thread Padraig Brady
Christian Reis wrote: On Wed, Oct 23, 2002 at 01:33:25PM +0100, Padraig Brady wrote: GnomeUI-CRITICAL **: file gnome-app.c: line 208 (gnome_app_new): assertion `appname != NULL' failed. Gtk-WARNING **: invalid cast from (NULL) pointer to `GnomeApp' zsh: segmentation fault OK I would

Re: [pygtk] libglade, python and gnome widgets: segmentation fault

2002-10-30 Thread Padraig Brady
Christian Reis wrote: On Wed, Oct 30, 2002 at 03:14:38PM +, Padraig Brady wrote: Thanks for the info, I've noticed that (with pygtk-0.6.8-3) if you use any gnome stuff (even non obvious stuff like stock icons for buttons), then it will crash unless you import gnome.ui Can you test with

Re: [pygtk] libglade, python and gnome widgets: segmentation fault

2002-10-30 Thread Padraig Brady
Padraig Brady wrote: Christian Reis wrote: On Wed, Oct 30, 2002 at 03:14:38PM +, Padraig Brady wrote: Thanks for the info, I've noticed that (with pygtk-0.6.8-3) if you use any gnome stuff (even non obvious stuff like stock icons for buttons), then it will crash unless you import gnome.ui

Re: [pygtk] libglade, python and gnome widgets: segmentation fault

2002-10-30 Thread Padraig Brady
Christian Reis wrote: On Wed, Oct 30, 2002 at 05:18:51PM +, Padraig Brady wrote: Where can I get a pygnome corresponding to gtk-0.6.11 ? It's gnome-python cheers Anyway I broke by dependencies (--nodeps --force) just for you :-) And still same error. I created a button with stock