[Akonadi] [Bug 379358] New: Maildir resource does not read the maildir directory with akonadi 5.5.0

dcg bugzilla_noreply at kde.org
Sat Apr 29 20:54:48 BST 2017


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

            Bug ID: 379358
           Summary: Maildir resource does not read the maildir directory
                    with akonadi 5.5.0
           Product: Akonadi
           Version: GIT (master)
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Maildir Resource
          Assignee: kdepim-bugs at kde.org
          Reporter: diegocg at gmail.com
  Target Milestone: ---

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

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


More information about the Kdepim-bugs mailing list