Bug 208532 - Launching Kontact Kaddressbook does not launch Akonadi server automatically
Summary: Launching Kontact Kaddressbook does not launch Akonadi server automatically
Status: VERIFIED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.3
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Volker Krause
URL:
Keywords:
: 220057 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-25 18:28 UTC by Sabine Faure
Modified: 2010-02-02 00:04 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Akonadi server self test (10.08 KB, text/plain)
2009-09-25 20:40 UTC, Sabine Faure
Details

Note You need to log in before you can comment on or make changes to this bug.
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?