![]() |
OS2008 y PyMaemo
When I try to execute python scripts, I always receive the following message:
"home/user/.osso/current-gtk-key-theme:1: Unable to find include file:"keybindings.rc" What means that message? I have installed: maemo-python-env 1.1.0-2 python2.5-pynotify python2.5-runtime (by apt-get) Is any package missing? I can find many information about pymaemo for maemo5 but not for OS2008... |
Re: OS2008 y PyMaemo
Executing the python code as root I can avoid this message. However, now I have a new problem with HILDON_SIZE variables and since I want to try button functions these is requirement.
I tried with many attributes like: gtk.HILDON_SIZE_AUTO gtk.HILDON_SIZE_AUTO_HEIGHT gtk.HILDON_SIZE_FINGER_HEIGHT and different button functions: hildon.Button() gtk.Button() But always with an error: Attribute Error: 'module' object has no attribute 'HILDON_SIZE_AUTO" The I tried to list gtk and hildon, (for hildon using dir(hildon)) code]~ $ python >>> import gtk >>> print '\n'.join(x for x in dir(gtk) if x.startswith('HILDON_SIZE_')) And there is no output lines for these attribute names. I have some python apps working correctly, such as gpodder, pygtkeditor, mediabox,... which I suppose are using hildon attributes.. Why is my code failing? Quote:
|
Re: OS2008 y PyMaemo
HildonButton and the size enums are implemented in a newer libhildon that only Maemo 5 has. You have to use a normal Gtk.Button on OS2008
|
All times are GMT. The time now is 16:27. |
vBulletin® Version 3.8.8