[kmail2] [Bug 339214] Starting KMail gives message "Could not create collection trash resourceId: 3 [MailCommon::Kernel::createDefaultCollectionDone, MailCommon::Kernel::emergencyExit]
Knut Hildebrandt
bugzilla_noreply at kde.org
Thu Oct 3 10:52:28 BST 2024
https://bugs.kde.org/show_bug.cgi?id=339214
--- Comment #52 from Knut Hildebrandt <post at knut-hildebrandt.de> ---
Problem solved!
After playing back various old databases and (only) deleting
"~/.local/share/local-mail/trash", what both did not help, I eventually renamed
"~/.local/share/local-mail" and "~/.local/share/.local-mail.directory" and
restarted Akonadi - it might be, that I had stopped it before renaming and only
started it after - and Kmail started without crashing. Both directories were
recreated but empty. Having a closer look at the local-mail I noticed that the
old version had next to the usual sub-folders cur, new and tmp some called
trash, inbox, drafts etc. - named after the subfolders of the mailbox - whereas
the new one did not hold any of these. Giving it a second thought I remembered
that the latter folders should reside in .local-mail.directory and thus deleted
them. After that Kmail started without any complaint. Now it's clear why only
deleting trash did not help, since all of the wrongly placed folders caused the
crash.
For me two things got clear. This is not one bug but a bunch of bugs that cause
the same effect. And Akonadi needs a thorough rework, since it is full of bugs
like this which arbitrarily can get activated after installing a new version,
what happened various times to me. Please let the status of the bug report
REPORTED and ideally split it into various due to it's causes. Now it only
focuses on the effect.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list