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


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>
  File "/usr/bin/libglade-convert", line 1209, in main
  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:


Thank you for your help,

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


Saku Masukita
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-devel/attachments/20091122/eefded93/attachment-0001.html 

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