[Akonadi] [Bug 336271] New: Error while reading mails from folder

Guillermo Reisch guillere at adinet.com.uy
Sun Jun 15 18:41:27 BST 2014


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

            Bug ID: 336271
           Summary: Error while reading mails from folder
    Classification: Unclassified
           Product: Akonadi
           Version: 4.12
          Platform: Debian testing
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Maildir Resource
          Assignee: kdepim-bugs at kde.org
          Reporter: guillere at adinet.com.uy

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 at 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)

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



More information about the Kdepim-bugs mailing list