[Kde-pim] Problem with Akonadi::InvalidateCacheJob not terminating in single file resource

David Jarvie djarvie at kde.org
Sun Oct 9 13:39:19 BST 2011


I'm getting problems with Akonadi::InvalidateCacheJob permanently showing as running in the akonadiconsole job tracker, for the KAlarm single file resource (which is derived from SingleFileResource<>). This condition occurs after the resource's calendar file is overwritten externally - I presume that the InvalidateCacheJob is started in SingleFileResourceBase::fileChanged().

When this happens, it prevents a CollectionModifyJob which is started afterwards by the resource from executing - its status is stuck at "initial" in the job tracker. The CollectionModifyJob is essential to update the resource's status attributes, so this is a serious problem.

The akonadiconsole debugger shows only a message which is always output by SingleFileResourceBase::fileChanged():

   "AgentBase(akonadi_kalarm_resource_359): The file 'file:///home/david/.kdetrunk/share/apps/kalarm/exp.ics' was changed on disk while there were still pending changes in Akonadi. To avoid data loss, a backup of the internal changes has been created at 'file:///home/david/.kdetrunk/share/apps/akonadi_kalarm_resource_359/exp.ics-20'."

I have run out of ideas on how to fix this, or find out what is going wrong, without spending a lot of time going through Akonadi code, so any help would be appreciated.

-- 
David Jarvie.
KDE developer.
KAlarm author -- http://www.astrojar.org.uk/kalarm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20111009/9a8a81ae/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list