On Mon, Mar 22, 2010 at 12:28 PM, William Kenworthy <[email protected]>wrote:
> On Mon, 2010-03-22 at 11:06 +0200, Tom Hacohen wrote: > > On Mon, Mar 22, 2010 at 3:49 AM, Bill Kenworthy <[email protected]> > > wrote: > > I am able to (imperfectly) import vcf files into opimd, but > > not export > > them. I am trying to export/import to add a couple of hundred > > contacts > > from my old treo. The import comes up with blank phone number > > fields. > > > > Is it possible to reinitialise opimd to get rid of the many > > dud entries? > > (pisi doesnt work) and is it possible to properly > > export/import vcf > > files from opimd. Ultimately, I want to be able to > > export->edit->flush/reinit->reimport instead of useing the > > awkward > > contacts interface. I am getting so tired of using vi on a > > vcf file to > > look up numbers coz opim is such a mess :( > > > > I was able to use pisi (after making the reccomended changes) > > to import > > from sim, but a recent crash of opimd (or something related) I > > lost many > > contacts so I want something more robust. > > > > > > Billk > > > > > > > > > > > > r...@om-gta02 ~ $ pisi -v opimd 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 > > contact opimd module loaded using file > > contact VCF module loaded using file /home/root/contacts.vcf > > Running in mode <contacts>. > > Source 1 > > Source 2 > > Pre-Processing Done > > > > ****************** PHASE 1 - Loading ****************** > > OPIMD: Loading > > /usr/lib/python2.6/site-packages/dbus/connection.py:242: > > DeprecationWarning: object.__init__() takes no parameters > > super(Connection, self).__init__(*args, **kwargs) > > 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_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...@om-gta02 ~ $ > > > > _______________________________________________ > > Shr-User mailing list > > [email protected] > > http://lists.shr-project.org/mailman/listinfo/shr-user > > > > What version of opimd are you using? the main bug with empty fields > > should be fixed now. (There's another bug which is more rare and I'll > > fix soon). > > > > -- > > Tom. > > > shr-t - up to date as of yesterday > > > r...@om-gta02 ~ $ opkg list_installed| grep opim > opimd-utils-cli - > 1:0.0.3+gitr0+1872cdebe1209123710259e25cb8c8b47a627112-r0.4 > r...@om-gta02 ~ $ opkg list_installed| grep framework > frameworkd - 1:0.9.5.9+gitr2+0039f8cd21ce007ac20de8f4525ad7c6e96804c0-r3.4 > frameworkd-config-shr - > 0.9.5.9+gitr7+0039f8cd21ce007ac20de8f4525ad7c6e96804c0-1+8e89c8dbae569a08cac246a3805fca20988c0ad1-r7.4 > libframeworkd-glib0 - > 1:0.0.1+gitr2+1b4c0e21a6fec2c1952deb2bfeb2d85b924c3c36-r0.4 > libfsoframework0 - > 1:0.8.0+gitr2+617dcf866afc8db1a31d91d6a74c84e5f6cc276c-r2.0.4 > r...@om-gta02 ~ $ opkg list_installed| grep pisi > pisi - 0.4.10-r0.4 > > > > -- > William Kenworthy <[email protected]> > Home in Perth! > > The versions looks ok, I would like, if you don't mind to see your pim.db (which contains private data). If you are not willing to show it to me (which is ok), I can explain how to remove all the sensitive data in a way that I will still be able to debug using. It's hard to debug from far away :P If you can, before you send: opkg install sqlite3 sqlite3 /etc/freesmartphone/opim/pim.db and in that application: select * from contacts_phonenumber where value = '' or value is null; And tell me if you get anything. I want to see if it's an opimd issue, or a pisi one. Btw, did you also import the data using this version? Or was it an older version? Thanks, -- Tom.
_______________________________________________ Shr-User mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-user
