Bug 287844

Summary: Issue with Akonadi server after hibernation
Product: [Frameworks and Libraries] Akonadi Reporter: bill p. (aka google01103) <dweeble01103>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: blagozlatev, djarvie, hrvoje.senjan, myriam, rdieter
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description bill p. (aka google01103) 2011-11-29 15:03:39 UTC
Version:           4.8 (using Devel) 
OS:                Linux

after resuming from hibernation I got the following message from Kalarm:
   Failed to update alarm.
   (Unknown error. (NO Unable to retrieve items ))

I then restarted Kalarm and the app's window was blank, no alarms shown but the calendar file was full

Starting Kalarm again from Konsole gave:
kalarm
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.

Restarting KDE resolved the problem

It was suggested to me that the problem was that the Akonadi
server may not always resume properly when waking from hibernation

note: as Kalarm is the only Akonadi related app I use I can not state if other apps (Kmail, Kaggregator) acted similarly 

Reproducible: Didn't try

Steps to Reproduce:
hibernate KDE

Actual Results:  
Kalarm did not show any alarms

Expected Results:  
Kalarm works as it has always
Comment 1 bill p. (aka google01103) 2011-11-29 15:25:15 UTC
might this be related to https://bugs.kde.org/show_bug.cgi?id=287514
Comment 2 Blagovest Zlatev 2011-11-29 15:50:41 UTC
I weren't able to reproduce the bug and I DON'T think this bug is related to bug 287514
Comment 3 bill p. (aka google01103) 2011-11-29 15:58:25 UTC
It did not happen until the 3rd time resuming from hibernation after up'ing to 4.8beta so it might not be easily reproducible 

If it happens again I will attempt to resolve by restarting the Akonadi server and post result here
Comment 4 David Jarvie 2011-11-29 17:27:32 UTC
I've also seen the Akonadi server sometimes not resuming properly after waking from hibernation. Restarting the Akonadi server has fixed things on these occasions.
Comment 5 Hrvoje Senjan 2011-12-02 11:32:55 UTC
See bug 283037
Comment 6 David Jarvie 2011-12-02 12:53:38 UTC

*** This bug has been marked as a duplicate of bug 283037 ***