On Thu, Dec 12, 2002 at 01:31:28PM +0100, Pier Carteri wrote:
> Hi to all,
> I was playing a bit with pygtk+Glade+libglade. I've created a minimal
> Gnome gui with Glade (just click on the Glade Palette the
> Gnome-Application-Window button and save the file). When I've tried to
> display the gui I've received the following errors/warnings.

It seems you have not initialized gnome correctly, which is why the gnome
program == NULL. Isn't there something like gnome.init() you need to
call?

(If you would like to file a bug on this, it would be great. We should
really make libglade check is gnome is initialized before using gnome
widgets.)

> 
> (test:814): GLib-GObject-WARNING **: invalid cast from (NULL) pointer to
> `GObject'
> 
> (test:814): GLib-GObject-CRITICAL **: file gobject.c: line 972
> (g_object_get): assertion `G_IS_OBJECT (object)' failed
> 
> (test:814): GLib-GObject-WARNING **: invalid cast from (NULL) pointer to
> `GObject'
> 
> (test:814): GLib-GObject-CRITICAL **: file gobject.c: line 972
> (g_object_get): assertion `G_IS_OBJECT (object)' failed
> 
> (test:814): Gnome-CRITICAL **: file gnome-program.c: line 738
> (gnome_program_get_app_id): assertion `program != NULL' failed
> 
> (test:814): GConf-CRITICAL **: file gconf-client.c: line 545
> (gconf_client_add_dir): assertion `gconf_valid_key (dirname, NULL)'
> failed
> 
> (test:814): Gnome-CRITICAL **: file gnome-program.c: line 869
> (gnome_program_locate_file): assertion `program != NULL' failed
> 
> (test:814): Gnome-CRITICAL **: file gnome-program.c: line 869
> (gnome_program_locate_file): assertion `program != NULL' failed
> 
> 
> The gui was correctly displayed so my question is: what does this
> warnings/errors mean? Can I simply ignore it?
> 
> I'm on RH 8.0 with pygtk2-1.99.12 gnome-python2-1.99.11 libglade2-2.00
> 
> Thank you!
> 
> Regards
> Pier
>  
> 
> _______________________________________________
> pygtk mailing list   [EMAIL PROTECTED]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to