On 3/16/07, Alma Prlja <[EMAIL PROTECTED]> wrote:
Hi,I have created an application using glade and python. I have some gnome widgets in my application, like gnome canvas and gnome fileEntry. When I try to run the application in maemo from the scratchbox it's not working with the gnome widgets. When I remove the gnome widgets it's working fine. Is there some way to get gnome to work with maemo??? Another thing is that I use shelve to save the files that can be created with my application. This is not working either and I get following message Traceback (most recent call last): File "/home/admir/DBC/dbc.py", line 298, in ? dbc = DigitalBusinessCard() File "/home/admir/DBC/dbc.py", line 75, in __init__ db = shelve.open(List) File "/usr/lib/python2.4/shelve.py", line 231, in open return DbfilenameShelf(filename, flag, protocol, writeback, binary) File "/usr/lib/python2.4/shelve.py", line 212, in __init__ Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback, binary) File "/usr/lib/python2.4/anydbm.py", line 82, in open mod = __import__(result) ImportError: No module named dbhash Exception exceptions.AttributeError: "DbfilenameShelf instance has no attribute 'writeback'" in ignored How can I solve this problem.
If you are using "GnomeCanvas" you'd need to install the libgnomecanvas library and the corresponding python widgets (which I don't really know if you already have or not). There are solid plans to get a cairo-based canvas for GTK+ 2.14, but this probably won't help you any... FileEntry is available at libgnomeui, but AFAIK it's deprecated and you'd be using something like GtkFileChooserButton (for example). Cheers, Xan
Best regards Alma _________________________________________________________________ Senaste nytt om Paris och Lindsey http://starlounge.msn.se/ _______________________________________________ maemo-developers mailing list [email protected] https://maemo.org/mailman/listinfo/maemo-developers
_______________________________________________ maemo-developers mailing list [email protected] https://maemo.org/mailman/listinfo/maemo-developers
