Hi, Am Donnerstag, 18. März 2010 15:02:22 schrieb Benjamin Schieder: > On 18.03.2010 14:49:38, Sebastian Spaeth wrote: > > I would appreciate if someone could post a nice HOWTO convert your SIM > > entries so they work with the new opimd stuff too. > > I have done that just recently: > > SIM -> .vcf file > .vcf file -> opimd with field support set to true > > worked like a charm for me.
Please share details. I tried to convert contacts from SIM to vcf with following configuration in /home/root/.pisi/conf with no luck: ########## ## 2.3) ## Example for local VCF file ## ## vcfpath: path of VCF file in local file system ## default_phonetype (optional): if type for phone entry is not set, use the value provided ## * mobile (for mobile phone) ## * phone (for home landline phone) ## * officePhone (for office landline phone) [vcf1] description=Local VCF file module=contacts_vcf vcfpath=/home/root/contacts.vcf default_phonetype=mobile This fails with following error: r...@om-gta02 ~ $ pisi -v shrsim vcf1 ******************************************************* ********************** PISI ********************** ******************************************************* ** PISI is synchronizing information ****************** ** http://projects.openmoko.org/projects/pisi/ ******** ******************************************************* *************** PHASE 0 - Configuration *************** Verbose mode on In case of conflicts I use the following strategy: Skip Reading configfile: /home/root/.pisi/conf DBUS_SIM module loaded contact VCF module loaded using file /home/root/contacts.vcf Running in mode <contacts>. Source 1 Source 2 Pre-Processing Done ****************** PHASE 1 - Loading ****************** DBUS_SIM: Loading >SIM Card Limitations: 125 entries maximum; no more than 16 characters per name ERROR:dbus.connection:Unable to set arguments ('contacts',) according to signature u'sii': <type 'exceptions.TypeError'>: More items found in D-Bus signature than in Python arguments Traceback (most recent call last): File "/bin/pisi", line 156, in <module> pisicli.startCLI() File "/opt/pisi/pisicli.py", line 232, in startCLI source[0].load() File "/opt/pisi/modules/contacts_dbussim.py", line 98, in load dbusContacts = sim.RetrievePhonebook(DBUS_CONTACTS) File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 68, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 140, in __call__ **keywords) File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 612, in call_blocking message.append(signature=signature, *args) TypeError: More items found in D-Bus signature than in Python arguments Regards Thomas aka thessy _______________________________________________ Shr-User mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-user
