imaplib2 eating data :-(
Sebastian at SSpaeth.de
Mon Jun 6 20:37:48 BST 2011
On Mon, 06 Jun 2011 21:29:45 +0200, Sebastian Spaeth <Sebastian at SSpaeth.de> wrote:
> Here is a bug of recent offlineimap falsly trying to delete around 8k
> emails as it thinks they are gone from the IMAP server.
> Fortunately, we got a full IMAP trace in:
> https://bugzilla.redhat.com/attachment.cgi?id=501695 and I have now
> analyzed it, concluding that IMAPLIB2 is suppressing data in its
> response which is bad...
I don't get it. How can it be that imaplib2 adds responses to the list
untagged_responses[FETCH] 5399 += ["16222 (FLAGS (\Seen) UID 32749)"]
But the subsequent
_get_untagged_response(FETCH) => ['1 (FLAGS (\\See......
Doesn't contain these very response fragments?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the OfflineIMAP-project