Bug 443842

Summary: Cannot import vCard directory
Product: [Applications] kaddressbook Reporter: lesto <lestofante88>
Component: generalAssignee: kdepim bugs <pim-bugs-null>
Status: REPORTED ---    
Severity: grave CC: bill-bugs.kde.org, tokoe, viniciush.dev
Priority: NOR    
Version First Reported In: 5.18.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description lesto 2021-10-16 14:33:57 UTC
SUMMARY
if i try to add a vcard directory, the address book folder is added but it is empty.
It does see 0 element and 0kb.
Trying to import the vcard one by one will work properly.
I also see an error in the journal:
akonadi_vcarddir_resource[1377]: org.kde.pim.vcarddirresource:  file can't be load  "/home/XXXX/.local/share/kpeoplevcard/kdeconnect-XXXXXX

it seems like it is trying to open the folder as a file?!

STEPS TO REPRODUCE
1. add address book
2. vCard directory
3. select the directory containing vcf

OBSERVED RESULT
No card are imported

EXPECTED RESULT
all card imported

NOTE: the folder i am trying to import is /home/mauro/.local/share/kpeoplevcard/kdeconnect-XXXXXX
i guess this folder would have automatically got imported as part of the akonady
Comment 1 Vinícius 2022-11-06 11:36:27 UTC
same with me, contact show in the folder like yours, but kadressbook or akonadi don't se them
Comment 2 Bill McGonigle 2023-12-17 22:35:04 UTC
Duplicate of bug 415911 ?