FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 09-19-2010, 01:11 PM
Mick
 
Default No contacts in kaddressbook since KDE-4.4.4

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
 
Old 09-20-2010, 06:59 PM
Mick
 
Default No contacts in kaddressbook since KDE-4.4.4

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
 

Thread Tools




All times are GMT. The time now is 03:32 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org