python dbus addressbook bindings - help/doc preferred

Alexander Lehner lehner at edv-buero-lehner.de
Mon Jul 14 01:59:27 CEST 2008


Hi,

I was trying to modified the import SIM card script  as posted here:
http://wiki.openmoko.org/wiki/Import_Sim_Contacts

but got stuck when trying to read the full addressbock via
book=getAddressBook().getContactList("*"):

File "/usr/lib/python2.5/site-packages/dbus/connection.py", line 607, in 
call_blocking
     message, timeout)
dbus.exceptions.DBusException: 
org.gnome.evolution.dataserver.addressbook.Book.othererror: Cannot 
complete operation


What is my problem hee?
How does the 'query' argument of getContactList() look like?
Is there any further documentation about the addressbook/dbus/python 
thing?

Thanks for any help,

Alex.





More information about the devel mailing list