From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OxlbX-0006Qn-1j for garchives@archives.gentoo.org; Mon, 20 Sep 2010 19:00:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7F72EE0998; Mon, 20 Sep 2010 19:00:11 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 071EBE0998 for ; Mon, 20 Sep 2010 19:00:10 +0000 (UTC) Received: by wwb18 with SMTP id 18so620045wwb.10 for ; Mon, 20 Sep 2010 12:00:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:reply-to:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=EmNWXMgHNg+SBPqZnMckLdSpXXl24Xxv76u5ak7Nkoc=; b=Mjl1CQOcdRVsNIK9T2h7i+StGRgqMrZPz6AmLkIPYNwJip1NsT5zqAUfJMM6UBH8Vh 0hnpOAKhAUWmPA+uey2HSdHjP1nh6H14sCMmshWnjhR89a/ZJdDa5E2CvDtvv7AZOkJ+ JaFczjrDBitnUF8HzQganf3H8SSAcymasxems= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=HNbJcG+Fm+UX5N8tPl7tqKQvH7jXqEQB1QwotqK6OT5YLIp0tu9y0L6/V2A/lSwsj4 Oncs37zFnjAvgnT4hIDK/kqEMF8lTsjrPyxSzwAC+rzpm1x1QfEd/okoSO3cXBstkoZ2 C2iXxX/Om8mR7j9sOK/I0VHPxfixwSAkyJD7s= Received: by 10.216.53.19 with SMTP id f19mr4721649wec.22.1285009210363; Mon, 20 Sep 2010 12:00:10 -0700 (PDT) Received: from (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id w29sm5387652weq.18.2010.09.20.12.00.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 20 Sep 2010 12:00:09 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: No contacts in kaddressbook since KDE-4.4.4 Date: Mon, 20 Sep 2010 19:59:46 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.34-gentoo-r6; KDE/4.4.5; x86_64; ; ) References: <201009191411.57909.michaelkintzios@gmail.com> In-Reply-To: <201009191411.57909.michaelkintzios@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2400244.RLEPHm4eV8"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201009202000.06258.michaelkintzios@gmail.com> X-Archives-Salt: 32e611ce-28c4-4eef-b663-234b62f6718d X-Archives-Hash: 3cab65b25c57f57109315ed4727aded6 --nextPart2400244.RLEPHm4eV8 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable 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. >=20 > When entering an address in a new message To: field, the address book see= ms > to be used because autocompletion works. >=20 > This is happening on both an amd64 (sqlite) and a x86 box (mysql). >=20 > 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). >=20 > Can you see your contacts in kaddressbook? >=20 > Any ideas how I could fix it? This has been a major pain in the back side - but I have at long last fixed= =20 it. I don't understand why a simple migration script could not be provided= by=20 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= =20 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 KD= E=20 devs do not (want to) support sqlite and therefore did not add a trivial fi= x=20 or at least post install user advice pertinent to sqlite. Either way, stop= =20 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=20 ('akonadi_search_resource','true')" Then I started akonadi, then system settings and from Advanced/KDE Resource= s I=20 selected Contacts and added a new "Akonadi Address Books" resource. I set = it=20 to be used as standard and deselected the old std.vcf resource that I had i= n=20 there and removed it. Clicked apply, closed everything and restarted akonadi and system settings.= =20 Now, I selected the new akonadi resource and clicked edit. Then Manage Addr= ess=20 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= =20 does not seem to be using/respecting the crypto preferences for particular= =20 recipients. It always asks me to use OpenPGP instead of S/MIME even when t= he=20 recipient only has S/MIME keys in their address crypto details. Not sure i= f=20 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=20 KDE4.4 with akonadi and sqlite. Now I'm off to try the same with the box that is running mysql. ;-) =2D-=20 Regards, Mick --nextPart2400244.RLEPHm4eV8 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEABECAAYFAkyXrzYACgkQVTDTR3kpaLZnTQCg1vvLFrOOxFXoIeYWb7aRyCyf 9q0AoKvHgSBqqaGEGn4TeT+On2efiIqE =lKC0 -----END PGP SIGNATURE----- --nextPart2400244.RLEPHm4eV8--