[Akonadi] [Bug 389829] New: "Unable to fetch item from backend" after deleting it using akonadi_maildir_resource_0

Albert Astals Cid bugzilla_noreply at kde.org
Sat Feb 3 12:26:19 GMT 2018


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

            Bug ID: 389829
           Summary: "Unable to fetch item from backend" after deleting it
                    using akonadi_maildir_resource_0
           Product: Akonadi
           Version: 5.7.1
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: aacid at kde.org
  Target Milestone: ---

There's various of these already but all i could find are either old or using
imap so opening this new one.

I can "relatively often" reproduce this when deleting email.

I have to go to akonadiconsole and remove it from there otherwise kmail will
have a ghost entry forever.

Not sure if it's any useful but enabling the debugger in akonadi console gets
me this output

akonadi_maildir_resource_0:
akonadi_maildir_resource_0 (0x564c74f97aa0) 7334 Command: FetchItems scope: UID
320566 scopeContext:ScopeContext(empty) fetchScope:FetchScope( Fetch
Flags:QFlags(0x1|0x10|0x20|0x40|0x80|0x100|0x200) Tag Fetch Scope:QSet()
Changed Since:QDateTime(Invalid) Ancestor Depth:All ancestors Requested
Parts:QVector()) 
akonadi_maildir_resource_0 (0x564c74f97aa0) 7334 Response: FetchItems Error
code: 0 Error msg: id: 320566 parentId: 56 remoteId: remoteRevision: gid: size:
9309 mimeType: message/rfc822 mTime: QDateTime(2018-02-03 11:48:14.000 UTC
Qt::TimeSpec(UTC)) flags: QVector() tags: QVector() virtualReferences:
QVector() relations: QVector() ancestors: QVector(id:56 remoteId:frameworks
name: attributes:QMap() , id:46 remoteId:kde name: attributes:QMap() , id:5
remoteId:/home/tsdgeos/.local/share/local-mail name: attributes:QMap() , id:0
remoteId: name: attributes:QMap() ) parts: QVector() cachedParts: QVector()
revision: 0 
akonadi_maildir_resource_0 (0x564c74f97aa0) 7334 Response: FetchItems Error
code: 0 Error msg: id: -1 parentId: -1 remoteId: remoteRevision: gid: size: 0
mimeType: mTime: QDateTime(Invalid) flags: QVector() tags: QVector()
virtualReferences: QVector() relations: QVector() ancestors: QVector() parts:
QVector() cachedParts: QVector() revision: -1 
akonadi_maildir_resource_0 (0x564c74f97aa0) 7335 Command: Transaction mode: 1 
akonadi_maildir_resource_0 (0x564c74f97aa0) 7335 Response: Transaction Error
code: 0 Error msg: 
akonadi_maildir_resource_0 (0x564c74f97aa0) 7336 Command: ModifyItems notify:
true noResponse: false invalidateCache: false dirty: true oldRevision: 0
modifiedParts: QFlags(0x40|0x80|0x1000) items: UID 320566 removedFlags:QSet()
flags:QSet() addedFlags:QSet() gid: tags:Invalid scope addedTags:Invalid scope
removedTags:Invalid scope remoteId: remoteRevision: itemSize:0
removedParts:QSet() parts:QSet() attributes:QMap() 
akonadi_maildir_resource_0 (0x564c74f97aa0) 7336 Response: ModifyItems Error
code: 1 Error msg: [LRCONFLICT] Resource akonadi_maildir_resource_0 tries to
modify item 320566 () (in collection 56) with dirty payload, aborting STORE.
id: -1 modificationDateTime: QDateTime(Invalid) newRevision: 0 
akonadi_maildir_resource_0 (0x564c74f97aa0) 7337 Command: Transaction mode: 3 
akonadi_maildir_resource_0 (0x564c74f97aa0) 7337 Response: Transaction Error
code: 0 Error msg: 

akonadiconsole:
akonadiconsole-476707713 (0x564c74fc2cf0) 35 Command: FetchItems scope: UID
320566 scopeContext:ScopeContext(empty) fetchScope:FetchScope( Fetch
Flags:QFlags(0x4|0x8|0x10|0x20|0x40|0x100|0x200|0x800) Tag Fetch Scope:QSet()
Changed Since:QDateTime(Invalid) Ancestor Depth:No ancestor Requested
Parts:QVector(PLD:RFC822)) 
akonadiconsole-476707713 (0x564c74fc2cf0) 35 Response: FetchItems Error code: 1
Error msg: Unable to fetch item from backend (collection -1) : Unable to
retrieve item from resource: [LRCONFLICT] Resource akonadi_maildir_resource_0
tries to modify item 320566 () (in collection 56) with dirty payload, aborting
STORE. id: -1 parentId: -1 remoteId: remoteRevision: gid: size: 0 mimeType:
mTime: QDateTime(Invalid) flags: QVector() tags: QVector() virtualReferences:
QVector() relations: QVector() ancestors: QVector() parts: QVector()
cachedParts: QVector() revision: -1 

I'll try to keep myself from deleting this ghost email for a while in case more
debugging is needed, but not sure i'll manage :D

I'd be happy enough if you could "force delete" this from kmail without having
to resort to akonadiconsole.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list