[Glade-users] libglade-convert 'Gnome' and 'gnome' not in requirelist
- From: damon karuna uklinux net (Damon Chaplin)
- Subject: [Glade-users] libglade-convert 'Gnome' and 'gnome' not in requirelist
- Date: 16 Mar 2004 18:24:21 +0000
On Mon, 2004-03-15 at 01:10, Anthony Tekatch wrote:
When I try to convert my old glade file I get the following error listing.
I'm running a Debian distribution.
$ libglade-convert tvnow.glade
Traceback (most recent call last):
File "/usr/bin/libglade-convert", line 1201, in ?
main()
File "/usr/bin/libglade-convert", line 1198, in main
handle_file(args[0])
File "/usr/bin/libglade-convert", line 1161, in handle_file
check_widget(widgetdef, requireslist)
File "/usr/bin/libglade-convert", line 1137, in check_widget
elif widget['class'][:5] == 'Gnome' and 'gnome' not in requirelist:
TypeError: unsubscriptable object
I'm not a python expert so I can't immediately spot the problem. The
problem lines seem to be:
elif widget['class'][:5] == 'Gnome' and 'gnome' not in requirelist:
requirelist.append('gnome')
Maybe the problem is that widget['class'] is NULL. Does anyone else know
python?
You could send me your .glade file and I'll try it, if you like.
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]