[Bug 287523] New: KMail doesn't synchronize mails after suspend
Szőts Ákos
szotsaki at gmail.com
Fri Nov 25 10:31:11 GMT 2011
https://bugs.kde.org/show_bug.cgi?id=287523
Summary: KMail doesn't synchronize mails after suspend
Product: kmail2
Version: 4.7
Platform: Unlisted Binaries
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdepim-bugs at kde.org
ReportedBy: szotsaki at gmail.com
Version: 4.7 (using KDE 4.7.3)
OS: Linux
When the machine returns from suspend KMail is not able to fetch new mails from
GMail IMAP.
Here is what akonadiconsole says when I click on the INBOX "Refresh folder"
action:
akonadi_imap_resource_6 (0x807d80) 1265 LSUB 120 0 (RESOURCE
akonadi_imap_resource_6) (STATISTICS true ANCESTORS INF)
akonadi_imap_resource_6 (0x807d80) * 120 115 (NAME "INBOX" MIMETYPE
(message/rfc822 inode/directory) REMOTEID "/INBOX" REMOTEREVISION "" RESOURCE
"akonadi_imap_resource_6" MESSAGES 98 UNSEEN 0 SIZE 9275365 CACHEPOLICY
(INHERIT true INTERVAL 5 CACHETIMEOUT -1 SYNCONDEMAND true LOCALPARTS (ENVELOPE
HEAD RFC822)) ANCESTORS ((115 "imap://szotsaki@imap.gmail.com/") (0 ""))
ENTITYDISPLAY "(\"Inbox\" \"mail-folder-inbox\" \"\" ())" collectionquota
"4891555840 8022637568" imapquota " %%%% STORAGE % 7834607 %%%% STORAGE %
4776910" uidnext "57858" collectionflags "\\Answered \\Flagged \\Draft
\\Deleted \\Seen $REPLIED $ATTACHMENT $FORWARDED \\*" uidvalidity "2" timestamp
"1322135655")
akonadi_imap_resource_6 (0x807d80) 1265 OK List completed
Akonadi Job tracker:
Job ID: bed230
Job Type: Akonadi::CollectionFetchJob
State: Ended
MySQL queries during the "refresh":
111125 11:23:54 41 Prepare SELECT id, remoteId, remoteRevision, name,
parentId, resourceId, subscribed, cachePolicyInherit, cachePolicyCheckInterval,
cachePolicyCacheTimeout, cachePolicySyncOnDemand, cachePolicyLocalParts,
queryString, queryLanguage FROM CollectionTable WHERE id = ?
41 Reset stmt
41 Execute SELECT id, remoteId, remoteRevision, name,
parentId, resourceId, subscribed, cachePolicyInherit, cachePolicyCheckInterval,
cachePolicyCacheTimeout, cachePolicySyncOnDemand, cachePolicyLocalParts,
queryString, queryLanguage FROM CollectionTable WHERE id = 0
41 Close stmt
41 Prepare SELECT MimeTypeTable.id, MimeTypeTable.name
FROM MimeTypeTable, CollectionMimeTypeRelation WHERE
CollectionMimeTypeRelation.Collection_id = ? AND
CollectionMimeTypeRelation.MimeType_id = MimeTypeTable.id
41 Reset stmt
41 Execute SELECT MimeTypeTable.id, MimeTypeTable.name
FROM MimeTypeTable, CollectionMimeTypeRelation WHERE
CollectionMimeTypeRelation.Collection_id = 120 AND
CollectionMimeTypeRelation.MimeType_id = MimeTypeTable.id
41 Close stmt
41 Prepare SELECT count(id), sum(size) FROM PimItemTable
WHERE ( collectionId = ? )
41 Reset stmt
41 Execute SELECT count(id), sum(size) FROM PimItemTable
WHERE ( collectionId = 120 )
41 Close stmt
41 Prepare SELECT count(DISTINCT PimItemTable.id) FROM
PimItemTable INNER JOIN PimItemFlagRelation ON ( PimItemTable.id =
PimItemFlagRelation.PimItem_id ) INNER JOIN FlagTable ON ( FlagTable.id =
PimItemFlagRelation.Flag_id ) WHERE ( PimItemTable.collectionId = ? AND (
FlagTable.name = ( ? ) OR FlagTable.name = ( ? ) ) )
41 Reset stmt
41 Execute SELECT count(DISTINCT PimItemTable.id) FROM
PimItemTable INNER JOIN PimItemFlagRelation ON ( PimItemTable.id =
PimItemFlagRelation.PimItem_id ) INNER JOIN FlagTable ON ( FlagTable.id =
PimItemFlagRelation.Flag_id ) WHERE ( PimItemTable.collectionId = 120 AND (
FlagTable.name = ( '\\SEEN' ) OR FlagTable.name = ( '$IGNORED' ) ) )
41 Close stmt
41 Prepare SELECT CollectionAttributeTable.id,
CollectionAttributeTable.collectionId, CollectionAttributeTable.type,
CollectionAttributeTable.value FROM CollectionAttributeTable WHERE (
collectionId = ? )
41 Reset stmt
41 Execute SELECT CollectionAttributeTable.id,
CollectionAttributeTable.collectionId, CollectionAttributeTable.type,
CollectionAttributeTable.value FROM CollectionAttributeTable WHERE (
collectionId = 120 )
41 Close stmt
The IMAP resource is always shown as "Ready". The state won't change to
"Synching INBOX (100%)" or similar.
In Akonadi console the "Restart Agent" and "Synchronize All" are also useless.
Just after I toggle the agent on/off, starts working fine.
Reproducible: Always
Expected Results:
OS: Linux (x86_64) release 3.1.0-1.2-desktop
Compiler: gcc
--
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