Kmail has suddenly become disfunctional. When I launch it, it immediately terminates with the message: Im E-Mail-Programm ist ein schwerwiegender Fehler aufgetreten. Das Programm wird beendet. Die Fehlermeldung lautet: Could not create collection trash, resourceId: 8 SOFTWARE/OS VERSIONS Linux/KDE Plasma: Debian: GNU Linux Buster KDE Plasma Version: 5.14.5.1 KDE Frameworks Version: 5.54.0 Qt Version: 5.11.3
Same here. After adding a new IMAP resource and switching them to trash folder at the IMAP instance, kmail crashes. "Could not create collection trash, resourceId 4" kmail2 5.21.1 (22.08.1) openSUSE Tumbleweed 20220930 KDE Plasma Version: 5.25.5 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.6 Kernel Version: 5.19.12-1-default (64-bit) Graphics Platform: X11
Same here, Plasma: 5.27.4 KF: 5.105.0 Qt: 5.15.8
(In reply to Vadim A. Misbakh-Soloviov (mva) from comment #2) > Same here, > > Plasma: 5.27.4 > KF: 5.105.0 > Qt: 5.15.8 See also bug report at: https://bugs.kde.org/show_bug.cgi?id=339214 Removing of ~/.local/share/local-mail/trash/ solves the problem.
(In reply to Ulf Bartholomäus from comment #3) > Removing of > ~/.local/share/local-mail/trash/ > solves the problem. Not every time, unfortunately. Yesterday it helped. But today it continued to blame it until I reconfigured maildir_resource to another directory :shrug:
I just experience this today on Kubuntu 23.04 and managed to fix it. Yesterday, I had been re-configuring my IMAP accounts to trash things into the remote trash bins instead of my local one. Today, when I started KMail I received this aforementioned error. I did some mucking around in Akonadi Console until I figured out which IMAP resource was failing. Then I went to the "Agents" tab and did a "Configure Natively", changing the trash bin to another location (back to my local mail trash). I was able to restart Akonadi and KMail and everything seemed to be working. Next I configured it back to using remote trash and it still seems to be okay, although akonadiconsole did crash once while restarting the server.