View Single Post
Guest | Posts: n/a | Thanked: 0 times | Joined on
#1
So I've been fighting with Esbox and Glade (via the ubuntu maemosdk virtual image) all weekend and I'm all out of ideas. Here's the issue:

execfile(file, globals, locals) #execute the script
File "/home/maemo/workspace/pythonhildonhelloworld_/src/hello_world.py", line 28, in <module>
import gtk.glade
ImportError: No module named glade


Glade is installed, and can be imported using python in the command line:

Python 2.5.2 (r252:60911, Oct 5 2008, 19:24:49)
[GCC 4.3.2] on linux2
>>> import gtk.glade
>>> gtk.glade
<module 'gtk.glade' from '/var/lib/python-support/python2.5/gtk-2.0/gtk/glade.so'>


Locate glade.so gives the following results:
/scratchbox/users/maemo/targets/DIABLO_ARMEL/usr/lib/python2.5/site-packages/gtk-2.0/gtk/glade.so
/scratchbox/users/maemo/targets/DIABLO_X86/usr/lib/python2.5/site-packages/gtk-2.0/gtk/glade.so
/usr/lib/python-support/python-glade2/python2.4/gtk-2.0/gtk/glade.so
/usr/lib/python-support/python-glade2/python2.5/gtk-2.0/gtk/glade.so
/var/lib/python-support/python2.5/gtk-2.0/gtk/glade.so


Esbox is trying to interpret using FREMANTLE_X86, and whilst i can see that glade.so isn't in there (above), I can't seem to get it there, nor have I been able to get it included in the interpreter settings. I can't find anything on google to help

Any ideas what I'm doing wrong?

Thanks!
 

The Following User Says Thank You to For This Useful Post: