ERROR in syncfolder for (username) folder INBOX : null byte in argument for long()

Sebastian Spaeth Sebastian at
Sun May 1 18:20:55 BST 2011

On Fri, 29 Apr 2011 07:10:36 -0700 (PDT), chris coleman <christocoleman at> wrote:
> Nicolas, Sebastian:
> Here is an update on crashlog1.  
> I removed the files in a WORKING user's folder 
> (~/.offlineimap/Repository-IMAPLocalUsername/FolderValidity/*)  and re-ran 
> offlineimap 6.3.2.  It re-generated those files like you said it would.
> I removed the files in the CRASHIG user's folder, and re-ran it.  It NEVER got 
> to the point of re-generating those files.
> Here is the log from the crashing user.
> Your suggestions on what to do next, will be appreciated !

Most probably this file is corrupted:


It should be one entry in the form of "number:number" per line and when
reading this file, it got more than 2 entries. So either it lacks some
newline somewhere or it actually got 2 ":" in one line somehow.

>   File "/root/nicolas33-offlineimap-v632/offlineimap/folder/", line 
> 49, in _loadmaps
>     (str1, str2) = line.split(':')
> ValueError: too many values to unpack

-------------- 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