[Bug 267483] akonadi silently not syncing on reboot or resume from suspend to disk

Éric Brunet eric.brunet at lps.ens.fr
Sun Dec 4 13:40:43 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=267483





--- Comment #9 from Éric Brunet <eric brunet lps ens fr>  2011-12-04 13:40:42 ---
Thanks a lot for the script; I now know of the existence of qdbus !

Some remarks: 

In my case, after some suspend/resume, my imap account is not synchronizing. In
kmail, Ctrl-L does not do anything, even though the resource
is marked as ready in the configuration dialog. With qdbus, the method
org.freedesktop.Akonadi.Agent.Status.statusMessage returns "Prêt" (the french
for "ready"), the method org.freedesktop.Akonadi.Agent.Status.isOnline returns
"true" but it is not working and the method
org.freedesktop.Akonadi.Resource.synchronize does not do anything. As such, the
script in the attachment does not do anything.

(By the way, I find it absurd to translate message strings in the ABI; it
should be translated at the level of the GUI, not in the actual message. If a
script expects "Ready" and gets "Prêt", it won't work. And why Oh why translate
Ready and not translate true ?)

However, If I run in turns the methods 
org.freedesktop.Akonadi.Agent.Control.reconfigure and
org.freedesktop.Akonadi.Resource.synchronize
then I get a synchronization and everything works nicely. I assume that kmail
issues these methods when one clicks on "Ok" in the dialog box for modifying an
account.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list