Failed syncfolder: invalid literal for long

Sebastian Spaeth Sebastian at
Mon Mar 21 15:51:58 GMT 2011

On Fri, 18 Mar 2011 17:42:49 +0300, Баталов Григорий <gbatalov at> wrote:
> Folder sync Gmail[.foldername]:
>  WARNING: ERROR in syncfolder for Gmail folder .foldername: invalid literal
> for long() with base 10: ';4498'
> Folder sync Gmail[.nextfolder]:
>  Skipping nextfolder (not changed)

It would be great to see what the IMAP server actually responds to the
SELECT query. Can you run a debug log "-1 -d imap -l debug.log" and grep
it for any line containing ";4498" or whatever the error value is
then. I bet Gmail responds with some malformed reply.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <>

More information about the OfflineIMAP-project mailing list