Akonadi self-test comes up if startup takes too long
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdepimlibs (Ubuntu) |
Fix Released
|
Undecided
|
Harald Sitter | ||
Lucid |
Fix Released
|
Undecided
|
Harald Sitter | ||
Maverick |
Fix Released
|
Undecided
|
Harald Sitter |
Bug Description
This is a split off of
https:/
When the akonadi server does not start within a hardcoded timeout, a self-test will be started, displaying a report of what went wrong.
If the server however does start normally, but takes longer than the timeout specified, the dialog will popup and report errors.
The presented errors will be:
* No resource agents found.
OR
* No resource agents found. AND Previous Akonadi server error log found.
OR
* No resource agents found. AND Some DBus error BUT NOT any mysql or nepomuk related error.
The first error will be that no resource agents could be found, which is really caused by akonadiserver not being registered to dbus, and that in turn is caused because the startup is still in progress.
So the user gets told that something is wrong, even though it is not. Additionally this issue prevents KMail/Kontact to start at first try, because failed tests will cause the app to terminate.
patches/
already bumps the timeout from 10 seconds to 60 seconds, but as in the aforementioned parent bug described this is still not long enough a timeout. Especially on low performance hardware such as netbooks or in combination with a lot of session restoration work it is not enough.
Therefore the timeout should be bumped to at least 5 minutes, which should provide enough time to have akondi start properly.
Related branches
Changed in kdepimlibs (Ubuntu): | |
assignee: | nobody → Harald Sitter (apachelogger) |
tags: |
added: verification-done removed: verification-needed |
My self test file.
Kontact and Kopete start up every time as they are running when I shut down (as is akonadi)
No contacts or calendar is available each time I start up as akonadi fails.
If I use the akonadi tray icon to stop and then start akonadi (with kontact and Kopete running) all works fine.
I have tried a startup script in .kde/Autostart to bring up akonadi to no lasting effect (worked once)