Bug 304366

Summary: AgentBase Unknown error. (Unable to list items)
Product: [Frameworks and Libraries] Akonadi Reporter: Matthias <salem>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED FIXED    
Severity: critical CC: bjoernv, kdepim-bugs, vkrause
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Matthias 2012-08-01 02:13:46 UTC
Since two days i can't read mails without that error.

After the startup i see many errors like "$ressourcename: Unknown error. (Unable to list items)". and i can't view Mails with kmail or the Akonadi Console.

Not sure what's wrong, it worked fine but after a small crash it stopped working. Is there a way to repair this or is the database damaged? I tried to read the logs, but there are too many FETCH-messages (>1000), just this error after i select a mail:
AgentBase(akonadi_imap_resource_33): Unknown error. (Unable to list items)

Thanks

Reproducible: Always

Steps to Reproduce:
1. Startup
2. Read a mail

Actual Results:  
An error message box

Expected Results:  
The Mail...
Comment 1 Matthias 2012-08-03 03:52:42 UTC
kmail2 shows this error:
Fetch Job Error - KMail: ItemRetrieverException: Unable to retrieve items
Comment 2 Matthias 2012-08-03 16:26:15 UTC
KMail Kernel ETM (0x7fd620017e40) 686 SELECT SILENT 996 
KMail Kernel ETM (0x7fd620017e40) 686 OK Completed 
KMail Kernel ETM (0x7fd620017e40) 687 FETCH 1:* ANCESTORS INF EXTERNALPAYLOAD (UID REMOTEID REMOTEREVISION COLLECTIONID FLAGS SIZE DATETIME PLD:ENVELOPE) 
KMail Kernel ETM (0x7fd620017e40) 687 NO ItemRetrieverException: Unable to retrieve items 
KMail Kernel ETM (0x7fd620017e40) 688 SELECT SILENT 608 
KMail Kernel ETM (0x7fd620017e40) 688 OK Completed 
KMail Kernel ETM (0x7fd620017e40) 689 FETCH 1:* ANCESTORS INF EXTERNALPAYLOAD (UID REMOTEID REMOTEREVISION COLLECTIONID FLAGS SIZE DATETIME PLD:ENVELOPE) 
KMail Kernel ETM (0x7fd620017e40) 689 NO ItemRetrieverException: Unable to retrieve items
Comment 3 Matthias 2012-08-07 04:24:23 UTC
Ok, i found a solution for this problem, i did this on command line:
# akonadictl vacuum
# akonadictl fsck

After a full restart everything worked fine again, but slow like always. But i'm happy with that for the moment.