[kdepim-users] Kaddressbook lost contacts 11.10 upgrade

Kevin Krammer kevin.krammer at gmx.at
Sat Oct 29 09:48:18 BST 2011

On Monday, 2011-10-24, Andreas Zeller wrote:
> Am 22.10.2011, 10:12 Uhr, schrieb Kevin Krammer <kevin.krammer at gmx.at>:
> > On Thursday, 2011-10-20, Gus Zernial wrote:
> >> I just upgraded from Kubuntu 11.04 to 11.10, using the KPackageKit
> >> desktop notification and
> >> "start upgrade now". Subsequently when I opened Kaddressbook its
> >> contacts list was empty.
> I have the same problem as Gus. After the update-process the contacts are
> lost. I also had some problems with KMail, it crashes all the times when
> started, so I can't open Kontact. Because I didn't use KMail, I removed
> it. Now Kontact and the calender works. I don't think, this is connected
> to the KAddressbook-Problem.
> I use KDE 4.7.1 Kontact 4.7.2 KAdressbook 4.7.2
> kde4-config --localprefix says /home/USER/.kde/

Ah, good, that's the default.

> >> As a test, in 11.10 I imported an old vcf card file into Kaddressbook,
> >> and on that basis I believe the
> >> Kaddressbook contacts are now stored as individual vcf cards in
> >> ~/.local/share/contacts. Is that correct?
> my ~/.local/share/contacts/ contains only WARNING_README.txt
> If I look in my backups, ~/.local/share/contacts doesn't exist.

So it seems that between your backup and your current setup a "Personal 
Contacts" handler has been created but not used.

Can you try running
kcmshell4 kcm_akonadi_resources 
and check if the is such an entry and if yes if it uses the above path 
(select, click configure)?

> > Yes, that's the default location for the addressbook called "Personal
> > Contacts".
> > I am on a very old KDE setup, upgraded through the years, so my
> > addressbook is
> > still $HOME/.kde/share/config/kabc/std.vcf
> ~/.kde/share/config/kabc/ doesn't exist in my home neither in my backup.

Yeah, my bad, ~/.kde/share/apps/kabc not share/config

> > The most likely location, if it isn't $HOME/.local/share/contacts is
> > $KDEHOME/share/apps/kabc, where $KDEHOME is usually $HOME/.kde if the
> > variable
> my ~/.kde/share/apps/kabc/ contains only empty *.vcf files and if I look
> back in my backups, that's this way since month but KAdressbook works
> properly till last week

Very strange.
Can you check through running
kcmshell4 kcm_akonadi_resources 
whether you have any other addressbook handlers?

Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdepim-users/attachments/20111029/bc2b4708/attachment.sig>
-------------- next part --------------
KDE PIM users mailing list
Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users

More information about the kdepim-users mailing list