[PATCH] Increase compatability with Gmail

Sebastian Spaeth Sebastian at sspaeth.de
Fri Mar 25 12:38:48 GMT 2011

On Fri, 25 Mar 2011 12:21:11 +0100, Alexander Skwar wrote:
> > Let me know if it helps.
> Works MUCH better now!
> Don't know if this is important, but I see something like this:
> New msg sync from ! WICHTIG &AKE-:
>  Copy message -1 MappedIMAP[! WICHTIG &AKE-] -> Gmail[! WICHTIG &AKE-]
>  Copy message -2 MappedIMAP[! WICHTIG &AKE-] -> Gmail[! WICHTIG &AKE-]
> What's interesting is, that it copies message "-1" and "-2"! Ie.
> the ID is < 0! Is that right?

"New" Messages have negative UIDs in offlineimap, so this is expected
and correct. It means that we will try to retrieve the UID that Gmail
assigned it and save it when successful. So that is just a sign that it
uploads messages as "new".

>   File "/home/i/Src/oi/offlineimap/offlineimap/folder/UIDMaps.py",
> line 77, in _uidlist
>     return [mapping[x] for x in items]
> KeyError: 0L

Mmmh, I guess your Gmail<->IMAP uid mapping file and your LocalStatus
folder might be now somewhat out of sync, repeatedly having assigned UID
0 to messages. I'll need to make sure that never happens.

I appreciate your patience :). Thank you.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110325/114399b5/attachment-0001.sig>

More information about the OfflineIMAP-project mailing list