pisi cannot fetch contacts from sim in shr. please help

raul1 at online.de raul1 at online.de
Fri Mar 12 17:14:44 CET 2010


Chuck Norris schrieb:
> pisi says:
>
> root at neo ~/.pisi $ pisi -s -m5 shrsim vcf1
> 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
>
> with config:
>
> root at neo ~ $ cat ~/.pisi/conf
> [shrsim]
> description=SHR SIM Card Contacts
> module=contacts_dbussim
>
> ##########
> ## 2.8)
> ## Configuration for OPIMD
> ## - optional parameter indicating whether to prefix each phone number
> (home, work, cell) automatically with 'tel:' (default is TRUE)
> ##
>
>
> ## - field support is work in progress for OPIMD, if you have a version
> of opimd supporting types already, put true here. Ones, this will
> ##      have been widely deployed, the option will default; now default
> is FALSE!
> ##
> [opimd]
> description=OPIMD Contacts
> module=contacts_opimd
> field_support=FALSE
> #field_support=TRUE
>
> [vcf1]
> description=Local VCF file
> module=contacts_vcf
> vcfpath=/home/root/contacts.vcf
> default_phonetype=mobile
>
> with last shr-unstable:
>
> root at neo ~ $ cat /etc/shr-version
> Tag Name: shr/testing2009-1rc1
> VERSION: 7d09251222459df125e9d327aed57fc2daf7b439
> Branch: shr/unstable
> Build Host: opmbuild
> Time Stamp: Sat, 06 Mar 2010 13:51:17 +0100
>
>
>
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
you have to fix "/opt/pisi/modules/contacts_dbussim.py":
in line 98 you have to change "dbusContacts =
sim.RetrievePhonebook(DBUS_CONTACTS)" to "dbusContacts =
sim.RetrievePhonebook(DBUS_CONTACTS,1,self._max_simentries)"




More information about the community mailing list