Re: pisi cannot fetch contacts from sim in shr. please help
To temporally solve the issue until pisi or opim the solve the unexisting method GetUsedBackends you can safely comment lines 131 and 132 of the /opt/pisi/modules/contacts_opimd.py Regards 2010/3/14 Chuck Norris norris.ch...@mail.ru: Robin Paulson пишет: On 13 March 2010 18:24, Chuck Norris norris.ch...@mail.ru wrote: ok. that does the trick. Now pisi have another problem: snip raise UnknownMethodException('%s is not a valid method of interface %s' % (method_name, dbus_interface)) UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: GetUsedBackends is not a valid method of interface org.freesmartphone.PIM.Contact this problem with opimd I suppose. It converts contacts from sim to local vcf succesfully. So is it possible to tell opimd use vcf? i got this error, and mistakenly hit yes when it asked to continue processing. my contacts are all visible now, so i guess it worked ok.at your risk, though ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community I used console app pisi - it doesn't asks, just breaks. But through gui it synced my contacts successfully. thanx. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community -- David Reyes Samblas Martinez http://www.tuxbrain.com Open ultraportable embedded solutions Ben NanoNote, Arduino, Openmoko Hey, watch out!!! There's a linux in your pocket!!! ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: pisi cannot fetch contacts from sim in shr. please help
Robin Paulson пишет: On 13 March 2010 18:24, Chuck Norris norris.ch...@mail.ru wrote: ok. that does the trick. Now pisi have another problem: snip raise UnknownMethodException('%s is not a valid method of interface %s' % (method_name, dbus_interface)) UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: GetUsedBackends is not a valid method of interface org.freesmartphone.PIM.Contact this problem with opimd I suppose. It converts contacts from sim to local vcf succesfully. So is it possible to tell opimd use vcf? i got this error, and mistakenly hit yes when it asked to continue processing. my contacts are all visible now, so i guess it worked ok.at your risk, though ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community I used console app pisi - it doesn't asks, just breaks. But through gui it synced my contacts successfully. thanx. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: pisi cannot fetch contacts from sim in shr. please help
On 13 March 2010 18:24, Chuck Norris norris.ch...@mail.ru wrote: ok. that does the trick. Now pisi have another problem: snip raise UnknownMethodException('%s is not a valid method of interface %s' % (method_name, dbus_interface)) UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: GetUsedBackends is not a valid method of interface org.freesmartphone.PIM.Contact this problem with opimd I suppose. It converts contacts from sim to local vcf succesfully. So is it possible to tell opimd use vcf? i got this error, and mistakenly hit yes when it asked to continue processing. my contacts are all visible now, so i guess it worked ok.at your risk, though ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: pisi cannot fetch contacts from sim in shr. please help
On Fri, 2010-03-12 at 15:36 +0600, Chuck Norris wrote: Is it true that you boot the Openmoko without batteries? smime.p7s Description: S/MIME cryptographic signature ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: pisi cannot fetch contacts from sim in shr. please help
Chuck Norris schrieb: pisi says: r...@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: r...@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: r...@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@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) ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: pisi cannot fetch contacts from sim in shr. please help
ra...@online.de пишет: Chuck Norris schrieb: pisi says: r...@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: r...@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:Traceback (most recent call last):] Loading from sourceses File /bin/pisi, line 156, in module pisicli.startCLI() File /opt/pisi/pisicli.py, line 236, in startCLI source[1].load() File /opt/pisi/modules/contacts_opimd.py, line 131, in load if contactObject.GetUsedBackends()[0]!= BACKEND_TYPE_SQLITE: 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 622, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Traceback (most recent call last): File /usr/lib/python2.6/site-packages/dbus/service.py, line 649, in _message_cb (candidate_method, parent_method) = _method_lookup(self, method_name, interface_name) File /usr/lib/python2.6/site-packages/dbus/service.py, line 244, in _method_lookup raise UnknownMethodException('%s is not a valid method of interface %s' % (method_name, dbus_interface)) UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: GetUsedBackends is not a valid method of interface org.freesmartphone.PIM.Contact r...@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@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) ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ok. that does the trick. Now pisi have another problem: $ pisi -s -m5 shrsim opimd Traceback (most recent call last):] Loading from sourceses File /bin/pisi, line 156, in module pisicli.startCLI() File /opt/pisi/pisicli.py, line 236, in startCLI source[1].load() File /opt/pisi/modules/contacts_opimd.py, line 131, in load if contactObject.GetUsedBackends()[0]!= BACKEND_TYPE_SQLITE: 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 622, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Traceback (most recent call last): File /usr/lib/python2.6/site-packages/dbus/service.py, line 649, in _message_cb (candidate_method, parent_method) =
Re: pisi cannot fetch contacts from sim in shr. please help
Andres Paglayan пишет: On Fri, 2010-03-12 at 15:36 +0600, Chuck Norris wrote: Is it true that you boot the Openmoko without batteries? ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community yep :) ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community