RuntimeError: could not create GladeXML object

Haris Bogdanovic haris.bogdanovic at zg.hinet.hr
Wed Jun 25 10:04:33 CEST 2003


The following line gives me trouble:

wTree = gtk.glade.XML ("rbk.glade")

I get error message (subject line).

What can be cause of this ?

Here's the rbk.glade file :

> <?xml version="1.0"?>
> <GTK-Interface>
> 
> <project>
>   <name>rbk</name>
>   <program_name>rbk</program_name>
>   <directory></directory>
>   <source_directory>src</source_directory>
>   <pixmaps_directory>pixmaps</pixmaps_directory>
>   <language>C</language>
>   <gnome_support>True</gnome_support>
>   <gettext_support>True</gettext_support>
> </project>
> 
> <widget>
>   <class>GtkWindow</class>
>   <name>window1</name>
>   <title>window1</title>
>   <type>GTK_WINDOW_TOPLEVEL</type>
>   <position>GTK_WIN_POS_NONE</position>
>   <modal>False</modal>
>   <allow_shrink>False</allow_shrink>
>   <allow_grow>True</allow_grow>
>   <auto_shrink>False</auto_shrink>
> 
>   <widget>
>     <class>Placeholder</class>
>   </widget>
> </widget>
> 
> </GTK-Interface>

Thanks
Haris





More information about the Python-list mailing list