KMail crashed

Hi,

I have the following problem. My email program kmail crash always. Here is the error message:


user@localhost:~> kmail
[0304/104502.140783:WARNING:stack_trace_posix.cc(648)] Failed to open file: /tmp/.gl4dD6Q4 (deleted)
  Error: Datei oder Verzeichnis nicht gefunden
[0304/104502.140901:WARNING:stack_trace_posix.cc(648)] Failed to open file: /home/user/#468989 (deleted)
  Error: Datei oder Verzeichnis nicht gefunden
org.kde.pim.akonadicore: Failed SpecialCollectionsRequestJob::slotResult "Could not create collection trash, resourceId: 3"
org.kde.pim.mailcommon: "Im E-Mail-Programm ist ein schwerwiegender Fehler aufgetreten. Das Programm wird beendet.
Die Fehlermeldung lautet:
Could not create collection trash, resourceId: 3"
 void ContactSearchJob::setQuery(Criterion criterion, const QString &value, Match match) "email_user@email_host.de"
void ContactSearchJob::setQuery(Criterion criterion, const QString &value, Match match) "email_user@email_host.de"
 AFTER ::::::::::::::::::::::::::::::::::::::::
1 : "Uncaught ReferenceError: qt is not defined"
1 : "Uncaught ReferenceError: qt is not defined"

What can I do now?

Thanks in advance,
Björn

Try to delete the folder ~/.local/share/local-mail/trash/.
(although the exact location may vary as it is fully configurable, e.g. it might also be ~/.local/share/akonadi_maildir_resource_0/trash)

Or run akonadiconsole (you may have to install it first), and try in the first “Agents” tab to remove the “Local Folders” agent, then restart Akonadi (or logout/reboot) and then start KMail. KMail will try to create it again on start.

See also here:
https://forum.kde.org/viewtopic.php?t=120777

Thanks, KMail started again. I have deleted the folder ~/.local/share/akonadi_maildir_resource_0/trash