[Kde-pim] Reproduceable error on imap_resource startup

David Faure faure at kde.org
Sun Sep 28 18:52:48 BST 2014


Today, whenever I start the imap resource and press F5 in a folder, it errors out with
ResourceTask::onSessionRequested: Cancelling this request. Probably there is no more session available

I debugged it by adding debug output in the imap resource, see diff and log attached.

I think the problem is that it's starting a RetrieveCollectionMetadataTask before the RetrieveItemsTask is done.

I believe this comes from commit c15f671e81b7d6cea9ce668660231dea5120077b
Author: Christian Mollekopf <chrigi_1 at fastmail.fm>
Date:   Fri May 2 15:04:12 2014 +0200

    IMAP-Resource: Always fetch the collection before doing a RetrieveCollectionMetadataTask

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imap.log
Type: text/x-log
Size: 8796 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20140928/c17c4fdf/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imap_debug.diff
Type: text/x-patch
Size: 9092 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20140928/c17c4fdf/attachment-0001.bin>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list