* [gentoo-user] No contacts in kaddressbook since KDE-4.4.4
@ 2010-09-19 13:11 Mick
2010-09-20 18:59 ` [gentoo-user] " Mick
0 siblings, 1 reply; 2+ messages in thread
From: Mick @ 2010-09-19 13:11 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 673 bytes --]
I have tried changing resources in systemsettings to akonadi directory,
instead of .kde4/share/apps/kabc/std.vcf, but still cannot see any contacts.
When entering an address in a new message To: field, the address book seems to
be used because autocompletion works.
This is happening on both an amd64 (sqlite) and a x86 box (mysql).
When I set it to use akonadi as a default resource then kmail freezes up
within 5 minutes. I assume that this is related to akonadi trying to autosave
any changes (as per the 'Tune' tab of the akonadi resource settings).
Can you see your contacts in kaddressbook?
Any ideas how I could fix it?
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-user] Re: No contacts in kaddressbook since KDE-4.4.4
2010-09-19 13:11 [gentoo-user] No contacts in kaddressbook since KDE-4.4.4 Mick
@ 2010-09-20 18:59 ` Mick
0 siblings, 0 replies; 2+ messages in thread
From: Mick @ 2010-09-20 18:59 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 3049 bytes --]
On Sunday 19 September 2010 14:11:55 you wrote:
> I have tried changing resources in systemsettings to akonadi directory,
> instead of .kde4/share/apps/kabc/std.vcf, but still cannot see any
> contacts.
>
> When entering an address in a new message To: field, the address book seems
> to be used because autocompletion works.
>
> This is happening on both an amd64 (sqlite) and a x86 box (mysql).
>
> When I set it to use akonadi as a default resource then kmail freezes up
> within 5 minutes. I assume that this is related to akonadi trying to
> autosave any changes (as per the 'Tune' tab of the akonadi resource
> settings).
>
> Can you see your contacts in kaddressbook?
>
> Any ideas how I could fix it?
This has been a major pain in the back side - but I have at long last fixed
it. I don't understand why a simple migration script could not be provided by
the KDE devs ... or the Gentoo devs ... or anyone who knows more than I?
Anyway, these are the steps that I had to follow as plain user:
akonadictl stop
kill all nepomuk that is running. Check that both akonadi and nepomuk have
stopped.
Then mv or rm ~/.config/akonadi and ~/.local/share/akonadi.
Start akonadi:
akonadictl start
If like me you are using sqlite instead of mysql, it'll fail because the KDE
devs do not (want to) support sqlite and therefore did not add a trivial fix
or at least post install user advice pertinent to sqlite. Either way, stop
akonadi, go to the directory where the akonadi.db was created and do this:
cd ~/.local/share/akonadi/
sqlite3 akonadi.db "INSERT INTO ResourceTable (name,isVirtual) VALUES
('akonadi_search_resource','true')"
Then I started akonadi, then system settings and from Advanced/KDE Resources I
selected Contacts and added a new "Akonadi Address Books" resource. I set it
to be used as standard and deselected the old std.vcf resource that I had in
there and removed it.
Clicked apply, closed everything and restarted akonadi and system settings.
Now, I selected the new akonadi resource and clicked edit. Then Manage Address
Book Sources and added:
'Personal Contacts' pointing it to (~/.local/share/contacts/)
On its own it did not work. So I restarted everything and also added:
'VCard File' from (~/.kde4/share/apps/kabc/std.vcf)
OK'd it all, and restarted for the last time.
Phew! At long last my contacts now are showing up in the kaddressbook! :-)
The only thing I noticed different from the old kresource set up is that it
does not seem to be using/respecting the crypto preferences for particular
recipients. It always asks me to use OpenPGP instead of S/MIME even when the
recipient only has S/MIME keys in their address crypto details. Not sure if
it needs a particular setting that I have not yet found.
Anyway, I hope this is of use to anyone who has been troubled on setting
KDE4.4 with akonadi and sqlite.
Now I'm off to try the same with the box that is running mysql. ;-)
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-20 19:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-19 13:11 [gentoo-user] No contacts in kaddressbook since KDE-4.4.4 Mick
2010-09-20 18:59 ` [gentoo-user] " Mick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox