QtMoko - mass import of contacts?

Torfinn Ingolfsen tingox at gmail.com
Wed Sep 9 22:29:56 CEST 2009


Update:

On Wed, Sep 9, 2009 at 8:56 PM, Torfinn Ingolfsen <tingox at gmail.com> wrote:

> Unfortunately Outlook 2007 (at work) can only export single contacts in
> Vcard format. If you want to export a complete contacts folder, it will only
> export to .csv format. So I'll try that and use csv2vcard[1] and see if that
> works. No way I'm going to export 300+ contacts one by one. :-)
>

Ok, the *.csv file plus csv2vcard worked nicely.


> the qt addressbook (executable addressbook) with the parameter
>> yourfile.vcf as written in:
>>
>>
>> http://wiki.openmoko.org/wiki/Import_Vcf_Contacts#Import_.28and_export.3F.29_on_Om_2008.8_and_Qtopia
>>
>> this should work under qtmoko as well(?)
>>
>
>
> Thanks, this is useful..
>

I ended up with this:

 DISPLAY=:0 LD_LIBRARY_PATH=/opt/qtmoko/lib /opt/qtmoko/bin/addressbook
/home/root/Documents/phone.vcf

(phone.vcf contains my 300+ contacts). However I did get lots of lines øike
these in the shell:
QSqlPimTableModel::count() - Could not execute query:  no such table:
contacts
QSqlPimTableModel::count() - Could not execute query:  no such table:
contacts
QSqlPimTableModel::count() - Could not execute query:  no such table:
contacts
QSqlPimTableModel::count() - Could not execute query:  no such table:
contacts
QSqlPimTableModel::count() - Could not execute query:  no such table:
contacts
QSqlPimTableModel::count() - Could not execute query:  no such table:
contacts

On the FreeRunner, everything looked ok, first addressbook said it was
processing file, after that it asked me if I wanted to import (number of)
contacts. I answered yes, it said importng.

But - when it was finished, there wasn't anything in the address book. :-/
zero contacts.

Perhaps the table in the database isn't called contacts anymore?
-- 
Regards,
Torfinn Ingolfsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20090909/717a67ed/attachment.htm 


More information about the community mailing list