Bug 379358 - Maildir resource does not read the maildir directory with akonadi 5.5.0
Summary: Maildir resource does not read the maildir directory with akonadi 5.5.0
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Maildir Resource (other bugs)
Version First Reported In: GIT (master)
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-29 19:54 UTC by dcg
Modified: 2022-12-06 05:19 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dcg 2017-04-29 19:54:48 UTC
When I start kmail for first time, I try to switch the default "local folder" directory from ~/.local/share/local-mail to ~/Correo - my personal maildir directory, which has always been worked just fine in previous releases. In this release, however, it does not. The directory change dialog correctly states that there is a maildir directory there. But once I click OK, it does not read my maildir and does not replace the default folders with my own ones, as it used to - instead, it does nothing at all, no disk activity, nothing. I only get a second "local folder" entry in my collection, one without subtrees.

Taking a look at akonadiconsole, this is what I get in the debugger tab just after I click OK in the folder change dialog:

akonadi_maildir_resource_0 (0x14c2780) 10 { Command: "FetchCollections" Collections: "UID " Depth: "2" Resource: "akonadi_maildir_resource_0" Mimetypes: "()" Ancestors Depth: "2" Ancestors Attributes: "QSet()" Enabled: "false" Sync: "false" Display: "false" Index: "false" Status: "false" }
akonadi_maildir_resource_0 (0x14c2780) 10 { Response: "FetchCollections" Error Code: "0" Error Msg: "" ID: "3" Name: "Carpetas locales" Parent ID: "0" Remote ID: "/home/dcg/.local/share/local-mail" Remote Revision: "" Resource: "akonadi_maildir_resource_0" Mimetypes: "(message/rfc822, inode/directory)" Statistics: { Count: "-1" Unseen: "-1" Size: "-1" } Search Query: "" Search Collections: "QVector()" Cache Policy: { Inherit: "false" Interval: "-1" Cache Timeout: "1" Sync on Demand: "true" Local Parts: "(ENVELOPE)" } Ancestors: { { ID: "0" Remote ID: "" Name: "" Attributes: "QMap()" } } Attributes: "QMap((AccessRights, C)(ENTITYDISPLAY, ("Carpetas locales" "folder" "" ()))(SpecialCollectionAttribute, local-mail))" Display: "Undefined" Sync: "Undefined" Index: "Undefined" Enabled: "true" Virtual: "false" Referenced: "false" }
akonadi_maildir_resource_0 (0x14c2780) 10 { Response: "FetchCollections" Error Code: "0" Error Msg: "" ID: "4" Name: "sent-mail" Parent ID: "3" Remote ID: "sent-mail" Remote Revision: "" Resource: "akonadi_maildir_resource_0" Mimetypes: "(message/rfc822, inode/directory)" Statistics: { Count: "-1" Unseen: "-1" Size: "-1" } Search Query: "" Search Collections: "QVector()" Cache Policy: { Inherit: "true" Interval: "-1" Cache Timeout: "1" Sync on Demand: "true" Local Parts: "(ENVELOPE)" } Ancestors: { { ID: "3" Remote ID: "/home/dcg/.local/share/local-mail" Name: "Carpetas locales" Attributes: "QMap()" } { ID: "0" Remote ID: "" Name: "" Attributes: "QMap()" } } Attributes: "QMap((ENTITYDISPLAY, ("sent-mail" "mail-folder-sent" "" ()))(SpecialCollectionAttribute, sent-mail))" Display: "Undefined" Sync: "Undefined" Index: "Undefined" Enabled: "true" Virtual: "false" Referenced: "false" }
akonadi_maildir_resource_0 (0x14c2780) 10 { Response: "FetchCollections" Error Code: "0" Error Msg: "" ID: "5" Name: "outbox" Parent ID: "3" Remote ID: "outbox" Remote Revision: "" Resource: "akonadi_maildir_resource_0" Mimetypes: "(message/rfc822, inode/directory)" Statistics: { Count: "-1" Unseen: "-1" Size: "-1" } Search Query: "" Search Collections: "QVector()" Cache Policy: { Inherit: "true" Interval: "-1" Cache Timeout: "1" Sync on Demand: "true" Local Parts: "(ENVELOPE)" } Ancestors: { { ID: "3" Remote ID: "/home/dcg/.local/share/local-mail" Name: "Carpetas locales" Attributes: "QMap()" } { ID: "0" Remote ID: "" Name: "" Attributes: "QMap()" } } Attributes: "QMap((ENTITYDISPLAY, ("outbox" "mail-folder-outbox" "" ()))(SpecialCollectionAttribute, outbox))" Display: "Undefined" Sync: "Undefined" Index: "Undefined" Enabled: "true" Virtual: "false" Referenced: "false" }
akonadi_maildir_resource_0 (0x14c2780) 10 { Response: "FetchCollections" Error Code: "0" Error Msg: "" ID: "-1" Name: "" Parent ID: "-1" Remote ID: "" Remote Revision: "" Resource: "" Mimetypes: "()" Statistics: { Count: "-1" Unseen: "-1" Size: "-1" } Search Query: "" Search Collections: "QVector()" Cache Policy: { Inherit: "true" Interval: "-1" Cache Timeout: "-1" Sync on Demand: "false" Local Parts: "()" } Ancestors: { } Attributes: "QMap()" Display: "Undefined" Sync: "Undefined" Index: "Undefined" Enabled: "true" Virtual: "false" Referenced: "false" }
akonadi_maildir_resource_0 (0x14c2780) 11 { Command: "Transaction" Mode: "Begin" }
akonadi_maildir_resource_0 (0x14c2780) 11 { Response: "Transaction" Error Code: "0" Error Msg: "" }
akonadi_maildir_resource_0 (0x14c2780) 12 { Command: "CreateCollection" Name: "Carpetas locales" Parent: "UID " Remote ID: "/home/dcg/Correo/" Remote Revision: "" Mimetypes: "(inode/directory, message/rfc822)" Sync: "Undefined" Display: "Undefined" Index: "Undefined" Enabled: "true" Virtual: "false" CachePolicy: { Inherit: "false" Interval: "-1" Cache Timeout: "1" Sync on Demand: "true" Local Parts: "(ENVELOPE)" } Attributes: "QMap((AccessRights, wcdC))" }
akonadi_maildir_resource_0 (0x14c2780) 12 { Response: "FetchCollections" Error Code: "0" Error Msg: "" ID: "11" Name: "Carpetas locales" Parent ID: "0" Remote ID: "/home/dcg/Correo/" Remote Revision: "" Resource: "akonadi_maildir_resource_0" Mimetypes: "(message/rfc822, inode/directory)" Statistics: { Count: "-1" Unseen: "-1" Size: "-1" } Search Query: "" Search Collections: "QVector()" Cache Policy: { Inherit: "false" Interval: "-1" Cache Timeout: "1" Sync on Demand: "true" Local Parts: "(ENVELOPE)" } Ancestors: { } Attributes: "QMap((AccessRights, wcdC))" Display: "Undefined" Sync: "Undefined" Index: "Undefined" Enabled: "true" Virtual: "false" Referenced: "false" }
akonadi_maildir_resource_0 (0x14c2780) 12 { Response: "CreateCollection" Error Code: "0" Error Msg: "" }
akonadi_maildir_resource_0 (0x14c2780) 13 { Command: "Transaction" Mode: "Commit" }
akonadi_maildir_resource_0 (0x14c2780) 13 { Response: "Transaction" Error Code: "0" Error Msg: "" }
akonadi_maildir_resource_0 (0x14c2780) 14 { Command: "Transaction" Mode: "Begin" }
akonadi_maildir_resource_0 (0x14c2780) 14 { Response: "Transaction" Error Code: "0" Error Msg: "" }
akonadi_maildir_resource_0 (0x14c2780) 15 { Command: "DeleteCollection" Collection: "UID 3" }
akonadi_maildir_resource_0 (0x14c2780) 15 { Response: "DeleteCollection" Error Code: "0" Error Msg: "" }
akonadi_maildir_resource_0 (0x14c2780) 16 { Command: "DeleteCollection" Collection: "UID 4" }
akonadi_maildir_resource_0 (0x14c2780) 16 { Response: "DeleteCollection" Error Code: "1" Error Msg: "No such collection." }
akonadi_maildir_resource_0 (0x14c2780) 16 { Response: "DeleteCollection" Error Code: "1" Error Msg: "Failed to parse stream" }
akonadi_maildir_resource_0 (0x14c2780) 17 { Command: "DeleteCollection" Collection: "UID 5" }
akonadi_maildir_resource_0 (0x14c2780) 17 { Response: "DeleteCollection" Error Code: "1" Error Msg: "No such collection." }
akonadi_maildir_resource_0 (0x14c2780) 17 { Response: "DeleteCollection" Error Code: "1" Error Msg: "Failed to parse stream" }
akonadi_indexing_agent (0x14bc630) 9 { Command: "FetchCollections" Collections: "UID 11" Depth: "0" Resource: "" Mimetypes: "()" Ancestors Depth: "2" Ancestors Attributes: "QSet(ENTITYDISPLAY)" Enabled: "false" Sync: "false" Display: "false" Index: "true" Status: "false" }
MailFilter Kernel ETM (0x14cb6f0) 12 { Command: "FetchCollections" Collections: "UID 11" Depth: "0" Resource: "" Mimetypes: "()" Ancestors Depth: "2" Ancestors Attributes: "QSet()" Enabled: "true" Sync: "false" Display: "false" Index: "false" Status: "true" }
AkonadiConsole Browser Widget (0x14d28b0) 10 { Command: "FetchCollections" Collections: "UID 11" Depth: "0" Resource: "" Mimetypes: "()" Ancestors Depth: "2" Ancestors Attributes: "QSet()" Enabled: "true" Sync: "false" Display: "false" Index: "false" Status: "false" }
Archive Mail Kernel ETM (0x14cbc30) 12 { Command: "FetchCollections" Collections: "UID 11" Depth: "0" Resource: "" Mimetypes: "()" Ancestors Depth: "2" Ancestors Attributes: "QSet()" Enabled: "true" Sync: "false" Display: "false" Index: "false" Status: "true" }

And this message: AgentBase(akonadi_maildir_resource_0): Failed to parse stream

Akonadi version is 5.5.0 (this version is not selectable in the bugzilla BTW) which I got with apps 17.04.0, distro is arch
Comment 1 Justin Zobel 2022-11-06 09:23:11 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-11-21 05:12:52 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-12-06 05:19:29 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!