I was trying to install in ubuntu foff by hand. So when
I created a shell script to run foff i noticed that
foff does not start if you call it outside the
directory where foff.py is.
error message:
jacobo@jacobo-desktop:~/Desktop$ python foff/foff.py
Python module pymedia missing. Disabling FOFF Audio Player.
(foff.py:10439): libglade-WARNING **: could not find
glade file './foff.glade'
Traceback (most recent call last):
File "foff/foff.py", line 2271, in ?
mWnd = mainWnd("./foff.glade", "mainWnd")
File "foff/foff.py", line 55, in __init__
libglade.GladeWrapper.__init__(self, Filename,
WindowName)
File "/home/jacobo/Desktop/foff/libglade.py", line
20, in __init__
self.widgets = gtk.glade.XML(Filename, WindowName,
gettext.textdomain())
RuntimeError: could not create GladeXML object
it looks very easy to correct.
Logged In: YES
user_id=1551077
"mWnd = mainWnd("./foff.glade", "mainWnd")"
you have to pay attention that foff.glade is in the same
dir as the foff.py or you have to modify that line e.g. : "
mWnd = mainWnd("<other_dir>/foff.glade", "mainWnd")"