Comment 1 for bug 422977

Revision history for this message
Antonio Lucas (antonioluccas) wrote :

Hi, I had the same problem here with the .deb package.

A solution is download the source and just click on the gladex.py file.

If you are using python 2.5 it will work.

python 2.6 is not compatible with gladex, so pay attention to this.

when run in python 2.6 I have got this error:

(gladex.py:3665): libglade-WARNING **: could not find glade file '/gladex.glade'
Traceback (most recent call last):
  File "gladex.py", line 66, in <module>
    someclass = GladexClass()
  File "gladex.py", line 38, in __init__
    self.wTree = gtk.glade.XML(self.gladefile)
RuntimeError: could not create GladeXML object

and there is another error in callbacks.py:

__import__("plugins/"+inspect.getmodulename(plugs[i]+".py"))

this does not work anymore in python2.6

give this error.

ImportError: Import by filename is not supported.

I do not know if someone going to fix this, if you just want to use gladex for now :

download the source,

and run:

python2.5 gladex.py

or change the first line of gladex.py from:
#!/usr/bin/env python

to

#!/usr/bin/env python2.5