[kmail2] [Bug 339214] Starting KMail gives message "Could not create collection trash resourceId: 3 [MailCommon::Kernel::createDefaultCollectionDone, MailCommon::Kernel::emergencyExit]

Christof Konstantinopoulos bugzilla_noreply at kde.org
Mon Dec 25 22:32:55 GMT 2023


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

Christof Konstantinopoulos <kmail.to.ck at famkodo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kmail.to.ck at famkodo.de

--- Comment #40 from Christof Konstantinopoulos <kmail.to.ck at famkodo.de> ---
(In reply to Freek de Kruijf from comment #21)
> Recently the trash folder to remove is no longer
> ~/.local/share/local-mail/trash/ but
> ~/.local/share/akonadi_maildir_resource_0/trash/
> You can also set it aside.

You have saved my day! 

I have just started to change from Windows to Linux (Nobara Linux = Fedora with
With KDE Plasma and optimizations for Gaming).
I have about 30 Years IT experience with Windows and I am a professional
software developer writing applications in c#. So it might be a big step to
switch the operating system on my private PC. 

The first steps with KMail are not easy. I wonder why everything was working on
local folders and it took some time to sent my first e-mail from kmail into the
world. So I made the set up with 3 IMAP Accounts and the last part to do was to
configure kmail to put the deleted e-Mails into the IMAP Trash bucket. I don't
want to handle all deleted e-mails in the local Trash folder.

And what happens next... Yes Kmail crashed on start up with a message I don't
understand: 
"Could not create collection trash resourceId: 14"

Can you imagine how frustrating such an experience is? Searching for this error
shows a lot of tipps but renaming or deleting the local trash folder was not
helpful because I didn't know that it was moved into
"akonadi_maildir_resource_4". This information was part of this Bug report and
it is not nice to read about the 10th aniversary of this bug.

Changing the configuration from local Trash to IMAP Trash is not an unusual use
case. So this should not happen. The normal user is lost if the mail system
breaks down because of this error. 

After removing the trash folder in "~\.local\share\akonadi_maildir_resource_4\"
kmail is starting again. 

I hope somebody could take a look on this issue. I am not ready to do this now.
I need some time to learn more about the kde system, before I can change the
code.

Kind regards 
Christof

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


More information about the Kdepim-bugs mailing list