Bug 208532

Summary: Launching Kontact Kaddressbook does not launch Akonadi server automatically
Product: [Frameworks and Libraries] Akonadi Reporter: Sabine Faure <sabine>
Component: generalAssignee: Volker Krause <vkrause>
Status: VERIFIED FIXED    
Severity: normal CC: chris-hartmann, faure, mail
Priority: NOR    
Version: 4.3   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Akonadi server self test

Description Sabine Faure 2009-09-25 18:28:28 UTC
Version:            (using Devel)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled sources

- Launch Kontact and go to Kaddressbook
- in the middle of the window there is a red and white cross with an 'Akonadi not operational' message.
- When clicking on the 'Details...' link an 'Akonadi Server Self-Test' dialogue appears. See file attached for content details

Nothing more happens and it is impossible to access the address books and contacts in Kaddressbook.

At the moment the only way to start Akonadi server is manually by:
- Go to K menu/systemsettings
- Go to the 'Advanced' tab
- Click on 'Akonadi Configuration' and the same 'Akonadi not operational. Details...' message is shown, this time in the Akonadi Configuration dialogue.
- Go to the 'Akonadi Server Configuration' tab
- Click on the 'Start' button from the Status section.

The Akonadi server starts and the address books and contacts appear in Kaddressbook.

Trunk, Svn Rev 1027981
Comment 1 David Faure 2009-09-25 20:40:49 UTC
Note: I looked into xsession-errors and found nothing about akonadi being started. Just failed connection attempts to it:

kontact(6619)/libakonadi Akonadi::Session::Session: Akonadi Client Session: connection config file ' akonadi/akonadiconnectionrc can not be foun
d in ' "/home/sabine/.config" ' nor in any of  ("/etc/xdg", "/d/kde/inst/kdesupport_trunk/share/config")
kontact(6619)/libakonadi Akonadi::SessionPrivate::socketError: Socket error occurred: "QLocalSocket::connectToServer: Invalid name"

and that line repeated many many times.
What is supposed to auto-start akonadi?
Comment 2 Sabine Faure 2009-09-25 20:40:56 UTC
Created attachment 37180 [details]
Akonadi server self test
Comment 3 David Faure 2009-09-25 21:26:12 UTC
SVN commit 1028075 by dfaure:

Autostart akonadiserver when starting kontact, now that kaddressbook requires it.
BUG: 208532


 M  +2 -0      main.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1028075
Comment 4 Sabine Faure 2009-10-02 01:20:08 UTC
It is corrected now.

Akonadi server is automatically launched when Kontact Kaddressbook is launched:
A 'Starting Akonadi server' progress bar appears before KAB main view is displayed.

Trunk, Svn Rev 1030016
Comment 5 Thomas McGuire 2010-01-08 15:50:33 UTC
*** Bug 220057 has been marked as a duplicate of this bug. ***
Comment 6 Christian Hartmann 2010-02-02 00:04:31 UTC
(In reply to comment #5)
> *** Bug 220057 has been marked as a duplicate of this bug. ***

I still get this error with kontact not starting akonadi with KDE SC 4.4 RC3 on openSUSE 11.2. Starting kmail directly starts akonadi, 

Is the fix not inside this RC3?