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

Nicolas Sebrecht nicolas.s-dev at
Sun May 1 22:30:36 BST 2011

On Sun, May 01, 2011 at 11:21:09AM -0700, chris coleman wrote:

>    Sebastian:
>    I went through visually and could not find the bad line, but there are
>    over 47,000 lines in the 549K size file, and the UID's go up to 66,390...
>    so I could've missed it..  it's very tedious trying to find the error
>    manually.
>    It would be really cool if offlineimap would print the line number -- and
>    also the contents of the line -- where it ran into this error doing the
>    split on the ':' in the UIDMapping file....

On unix you could do:

  $ egrep -e ':.*:' FILE

Nicolas Sebrecht

More information about the OfflineIMAP-project mailing list