Bug 291315 - After Upgrade to Kmail2, no entries shown in kaddressbook neither can they be added
Summary: After Upgrade to Kmail2, no entries shown in kaddressbook neither can they be...
Status: RESOLVED FIXED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-11 23:04 UTC by Ralph
Modified: 2012-06-05 21:03 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph 2012-01-11 23:04:54 UTC
Version:           4.7 (using KDE 4.7.3) 
OS:                Linux

After upgrading to Kmail2 from Kmail, there are no entries shown in my kaddressbook neither can I add any. If I try to add the old addressbook from kmail ("std.vcf") using the "Add Address Book"->"KDE Addressbook (traditional)" it does not display any of the entries in kaddressbook.

I have Nepomuk enabled but strigi disabled. Please help!

Reproducible: Always

Steps to Reproduce:
Load Kmail2.
Go to Tool->Address book.
See no contacts anywhere in sight.



Expected Results:  
Should see all my contacts from the old addressbook.
Comment 1 Anders Lund 2012-02-01 19:57:17 UTC
Please open systemsettings and go to the "Personal Information" module.
Then
1. Make sure your have at least one akonadi resource for contacts. If not, create one. You can create a VCard dir or file one pointing to your existing collection, or -- recommended -- create a "Personal Contacts" resource and later import your contacts from the old location. I recommend this because that type allows storing groups and is the default type now.
2. Make sure that in the "KDE Resources" section when your select "Contacts" from the dropdown, "akonadi-resource" is checked.

Please close this bug or ask me to, if this information helps, or you otherwise solved the problem.
Comment 2 Ralph 2012-02-05 21:19:22 UTC
Hi Anders, thanks for your reply.

1. I already have "Address Book" Akonadi resource pointing to /home/ralph/.kde4/share/apps/kabc/std.vcf which seems to be a valid VCARD file. I also created a "Personal Contacts" resource and let it point to the default of /home/ralph/.local/share/contacts/

2. "akonadi-resource" is checked but appears to be read-only. When I unset read-only and check the setting, it has reverted to read-only again. I cannot set it to the standard resource as a result. The other resource present is named "file-resource".

3. So now in Kmail if I do Tools->KAddressBook it still appears blank. Then I did File->Import vCard and selected the std.vcf mentioned above. I tried to import it to "Personal Contacts" in the pop up window as opposed to "Address Book" and it appears to process the 117 contacts that are in that file but still no contacts appear in the KAddressBook window. I tried also importing to "Address Book" but I had the same disappointment.

I'd be grateful to hear if you have any further suggestions. (I'm now on a slightly newer KDE, 4.7.4).

Ralph
Comment 3 Anders Lund 2012-02-05 21:45:03 UTC
Søndag den 5. februar 2012 21:19:22 Ralph Clark skrev:
> https://bugs.kde.org/show_bug.cgi?id=291315
> 
> 
> 
> 
> 
> --- Comment #2 from Ralph Clark <R Clark 01 cantab net>  2012-02-05 21:19:22
> --- Hi Anders, thanks for your reply.
> 
> 1. I already have "Address Book" Akonadi resource pointing to
> /home/ralph/.kde4/share/apps/kabc/std.vcf which seems to be a valid VCARD
> file. I also created a "Personal Contacts" resource and let it point to the
> default of /home/ralph/.local/share/contacts/
> 
> 2. "akonadi-resource" is checked but appears to be read-only. When I unset
> read-only and check the setting, it has reverted to read-only again. I
> cannot set it to the standard resource as a result. The other resource
> present is named "file-resource".

Try checking that you actually have write access to the directories and files 
in questions, and if not fix that.

> 3. So now in Kmail if I do Tools->KAddressBook it still appears blank. Then
> I did File->Import vCard and selected the std.vcf mentioned above. I tried
> to import it to "Personal Contacts" in the pop up window as opposed to
> "Address Book" and it appears to process the 117 contacts that are in that
> file but still no contacts appear in the KAddressBook window. I tried also
> importing to "Address Book" but I had the same disappointment.
> 
> I'd be grateful to hear if you have any further suggestions. (I'm now on a
> slightly newer KDE, 4.7.4).
> 
> Ralph

Anders
Comment 4 Ralph 2012-02-05 21:54:57 UTC
I just entered both ~/.local and ~/.kde4 and did the following:

chown -R ralph:users *
chmod -R u+rwx *

However the read-only problem persists.
Comment 5 Ralph 2012-06-05 21:03:06 UTC
I have "solved" this now.

In Kaddressbook there was a hidden pane on the left hand side of the view. By clicking and dragging from the far left edge of the window I was able to reveal the pane that allowed me to select "Personal Contacts" and then all my contacts appear.

Maybe a fix could be implemented in Kmail2 to make it more obvious that a pane was hiding by the side of the window?