[Bug 279260] New: 1 byte file makes kmail2 not display any emails in a folder

S. Burmeister sven.burmeister at gmx.net
Wed Aug 3 07:44:13 BST 2011


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

           Summary: 1 byte file makes kmail2 not display any emails in a
                    folder
           Product: kmail2
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: sven.burmeister at gmx.net


Version:           unspecified
OS:                Linux

Preliminary bug: kmail2/akonadi create 1 byte files in mail directories.

Those files cause kmail2 to not show any emails for that folder. The "loading"
overlay icon keeps on spinning forever.

Taken from bug 263223 which is actually a different issue.

"I run akonadiconsole and got this output when clicking on the KMail folder:

posting retrieval request for item 63748  there are  1  queues and  0  items in
mine 
processing retrieval request for item 63748  parts: ("ENVELOPE")  of resource:
"akonadi_mixedmaildir_resource_1" 
request for item 63748 still pending - waiting 
akonadi_mixedmaildir_resource_1(29349)/akonadiresource (maildir): Failed to
read item "{869a924c-06ab-4538-97df-bbd3cffb991b}" in Maildir
"/home/mcv/Mail/inbox" 
akonadi_mixedmaildir_resource_1(29349)/akonadiresource (maildir): "Error while
reading mails from folder " 
continuing 
request for item 63748 "{869a924c-06ab-4538-97df-bbd3cffb991b}" failed:
"Resource was unable to deliver item" 
ItemRetrieverException :  Resource was unable to deliver item


Actually there is a file named like above (in ~/Mail/inbox/new), but it's only
one byte long, hexedit shows: 0x0a."



Reproducible: Always

Steps to Reproduce:
Create a 1 byte file in a local mail directory
alternative: find out how akonadi/kmail2 manages to do so

Actual Results:  
kmail2 does not display any emails in that folder

Expected Results:  
do not create 1 byte files
ignore 1 byte files and display the folder's content

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list