Failed syncfolder: invalid literal for long

Баталов Григорий gbatalov at
Wed Mar 23 14:10:59 GMT 2011

21 марта 2011 г. 18:51 пользователь Sebastian Spaeth
<Sebastian at> написал:
> > 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.

This bug had disappeared suddenly before I managed to enable debug.
Probably I'd deleted corrupted message in the folder.

Grigory Batalov

More information about the OfflineIMAP-project mailing list