We have moved to a new Sailfish OS Forum. Please start new discussions there.
3

Importing .vcf contacts fails

asked 2015-02-28 18:54:10 +0300

Nuc1eoN gravatar image

A few days ago I got my first Jolla. Now I've got the problem that importing .vcf contact files is buggy as hell. I tried everything possible following the official HowTo.

When merging all contacts into one ALL.vcf file it NEVER works and I just see the never ending loading animation.

So as a next step I tried importing single contacts. Out of some strange reason this does work for a few cotnacts but for most it doesn't. This makes no sense at all. I opened the content of two contacts, of which one always gets succefully imported and the other one doesn't: Surprise! There's no difference AT ALL apart from the persons name and the phone number.

e.g.:

BEGIN:VCARD
VERSION:2.1
N:;Simon
TEL;CELL:************
END:VCARD

My OS ver.: Vaarainjärvi

I don't get this... pls help guys!

Greetings, Philip

edit retag flag offensive close delete

Comments

5 Answers

Sort by » oldest newest most voted
1

answered 2015-04-15 12:41:59 +0300

dyraig gravatar image

When I was transferring contacts from my N900 to the Jolla, I found that the linebreaks have some influence. For some odd resons, importing worked best when I converted the .vcf to DOS-style linebreaks (as opposed to Unix-style linebreaks. Visually, you may not see a difference depending on the editor you use. I've used "recode" under Linux to convert the file.

Cheerio, Thomas

edit flag offensive delete publish link more
0

answered 2015-02-28 19:03:59 +0300

rudi gravatar image

there are lots of questions regarding vcards, did you check them? e.g.
https://together.jolla.com/question/16298/contact-import-fails-if-there-are-accents-in-vcf/
https://together.jolla.com/question/13842/why-does-the-vcard-vcf-import-fail/

edit flag offensive delete publish link more

Comments

Yes of course I did... The first question you've linked to mentions the use of accents, but as you see my vcf file is extremely simple without accents. The second question mentions warning/error messages. I dont get those. I just get an never ending loading animation for most contacts.

Nuc1eoN ( 2015-02-28 19:21:46 +0300 )edit

for Version 2.1, I had:
N:;Adi;;;
for Version 3.0
N:Adi;;;;

rudi ( 2015-02-28 20:18:20 +0300 )edit
0

answered 2015-03-01 12:47:21 +0300

MikErk gravatar image

Could you please add some information about how exactly you tried to concatenate the .vcf-file and how you tried to import them? Maybe which linux/windows system you used. I know that for the Nokia N9 and even for Android you can import .vcf over opening the file via file manager, so I would give a try to that.

edit flag offensive delete publish link more
0

answered 2015-03-01 14:32:40 +0300

Nuc1eoN gravatar image

updated 2015-03-01 14:42:25 +0300

I have found a workaround for the issue. It seems that importing vCards of vers. 2.1 is really buggy and unreliable (no matter if imported as single or concentrated .vcf).

Experimentally I converted all my contacts manually to vers. 4.0 - and suddenly it works like charm!

from this:

BEGIN:VCARD
VERSION:2.1
N:;Simon
TEL;CELL:0123456789
END:VCARD

to this:

BEGIN:VCARD
VERSION:4.0
N:;Simon;;;
TEL;TYPE=cell:0123456789
END:VCARD

However it shall still be noted that this state is not acceptable and importing vCard v2.1 should be fixed as fast as possible. I will file a seperate bug report for that.

edit flag offensive delete publish link more

Comments

Hi,

Your first vCard does not conform to specification. The specification (both IMCvCard2.1 and RFC2426) for the structured name property does not allow partially-specified structured name fields.

RFC2426: "The structured type value corresponds, in sequence, to the Family Name, Given Name, Additional Names, Honorific Prefixes, and Honorific Suffixes. The text components are separated by the SEMI-COLON character (ASCII decimal 59)."

IMCvCard2.1: "The property value consists of the components of the name specified as positional fields separated by the Field Delimiter character (ASCII decimal 59). The property value is a concatenation of the Family Name (first field), Given Name (second field), Additional Names (third field), Name Prefix (fourth field), and Name Suffix (fifth field) strings."

I see no mention that any particular field of the structured name may be omitted, and hence in your vCard it should be specified as: "N:;Simon;;;" rather than "N:;Simon"

Which software are you using to produce your vCard?

Cheers, Chris.

chris.adams ( 2015-03-03 03:06:11 +0300 )edit
0

answered 2015-04-14 15:01:29 +0300

Marius gravatar image

Hey, I have a similar problem. I use thunderbird and it can export vcards in version 2.1 only. Someone knows a way to make thunderbird produce verion 4.0 vcards or other way of synchronization? Cheers, Mariusz

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2015-02-28 18:54:10 +0300

Seen: 1,150 times

Last updated: Apr 15 '15