[Glade-devel] please help: bug: glade2 file conversion to glade3 failed



Hello.

Glade does not come with any conversion script.

Just make sure you have the gnome plugin for Glade installed
on your system and then try to load the file directly in Glade.

From there, you will probably want to use GtkBuilder, for
that you will first have to figure out how to eliminate the
deprecated libgnomeui widgets from your project, then
convert the project format in the preferences.

Cheers,
        -Tristan

On Sun, Nov 22, 2009 at 2:53 PM, Saku Masukita
<sakumasukita at googlemail.com> wrote:

Hello,

I am running ubuntu 9.04 and wanted to use glade
so I ran the following command at a shell prompt:

$ sudo apt-get install glade-3

I have an old glade2 file from November of 2004
and would like to convert it to the glade3 file format
but for whatever reason the python conversion tool
which comes with glade3 is failing to work.

$ libglade-convert foo.glade
Traceback (most recent call last):
? File "/usr/bin/libglade-convert", line 1212, in <module>
??? main()
? File "/usr/bin/libglade-convert", line 1209, in main
??? handle_file(args[0])
? File "/usr/bin/libglade-convert", line 1172, in handle_file
??? check_widget(widgetdef, requireslist)
? File "/usr/bin/libglade-convert", line 1148, in check_widget
??? elif widget['class'][:5] == 'Gnome' and 'gnome' not in requirelist:
TypeError: 'NoneType' object is unsubscriptable

I am not sure what is causing this.

The glade 2 file which is causing these errors can be found at:

http://whm.sourceforge.net/foo.glade

Thank you for your help,

Hopefully libglade-converter can be fixed to address this problem,

Thanks,

Saku Masukita



_______________________________________________
Glade-devel maillist ?- ?Glade-devel at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-devel






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]