following the upgrade, i'm trying to use pisi to import contacts from my
SIM into opimd.
my skeletal .pisi/conf looks like this:
##########
## 2.7)
## Configuration for SIM (via DBUS; as used in SHR)
## - no configuration required; everything hard coded; just keep it uncommented
for activation -
##
[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
but when i run
pisi -v shrsim opimd
i get
[...]
****************** PHASE 1 - Loading ******************
DBUS_SIM: Loading
>SIM Card Limitations: 250 entries maximum; no more than 18 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
i'd really like to get my SIM data back into opimd, there were quite a lot
of people in there. am i misunderstanding pisi? is there some genuine
error?
any light gratefully appreciated.
--
Tom Yates - http://www.teaparty.net
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user