I have 5 Identical email that I Can't remove when click email it say "Kmail Folders: Error while reading mails from folder" "Resource Kmail Forlder is broken. This resource is now online" Looking in the terminal I see: akonadi_mixedmaildir_resource_0(25706)/akonadiresource (maildir): Failed to read item "1402013723.R607.goku" in Maildir "/home/guille/mail/scoseria" akonadi_mixedmaildir_resource_0(25706)/akonadiresource (maildir): "Error while reading mails from folder " ItemRetrieverException : Unable to retrieve item from resource: <html>Invalid item retrieved</html> akonadi_mixedmaildir_resource_0(25706)/akonadiresource (maildir): Failed to read item "1402013723.R607.goku" in Maildir "/home/guille/mail/scoseria" akonadi_mixedmaildir_resource_0(25706)/akonadiresource (maildir): "Error while reading mails from folder " ItemRetrieverException : Unable to retrieve item from resource: <html>Invalid item retrieved</html> Ignoring source as no aboutToFinish handling is in progress. Ignoring source as no aboutToFinish handling is in progress. guille@goku:~/mail/scoseria/new$ ls -lah .......... -rw-r--r-- 1 guille guille 3,8K jun 5 17:19 1401999564.R506.goku -rw-r--r-- 1 guille guille 0 jun 5 21:05 1402013118.R550.goku -rw-r--r-- 1 guille guille 0 jun 5 21:10 1402013419.R932.goku -rw-r--r-- 1 guille guille 0 jun 5 21:15 1402013723.R607.goku -rw-r--r-- 1 guille guille 4,2K jun 6 09:27 1402057665.R48.goku .......... There is 0 byte mails in maildir! Kmail get crazy by this emails. Ok, something is bad because it shuld be NO 0 byte files in that directory. But akonadiresource should handle this. It seen that this 0 byte files are created when you click to FAST the mails and switch from mail to mail BEFORE all filters rules are executed, duplicating mails and mees up... or actualy you are seen mail and change status (actualy from "new" to "cur" only for seen the mail) SOW IS A F**K RACE CONDITION (yes mi OLD pc help in make this because Iam currently more fast to see mail that akonadi/kmail2 can filter) Akonadi resource should note that is a 0 byte file and remove this or handle properly. ii kmail 4:4.12.4-1 ii akonadi-server 1.11.0-1 ii libakonadi* 4:4.12.4-1 Debian testing/stable/unstable (mix of flavors)
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present? If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.