Please help crash: null byte in argument for long()

Sebastian Spaeth Sebastian at SSpaeth.de
Wed Apr 6 23:41:06 BST 2011


On Wed, 6 Apr 2011 09:28:27 -0700 (PDT), chris coleman <christocoleman at yahoo.com> wrote:
> I unpacked v6.3.2 (not distro-specific), did chmod +x on the offlineimap.py, and 
> ran it locally. 
> 
> 
> Same crash.  "null byte in argument for long()"

Thanks for the log and traceback. The crash you are seeing is because,
you have a corrupt mapping file that translates the UIDS between the
remote and the local IMAP servers.

That file should be in
~/.offlineimap/Repository-LocalFoo/UIDMapping/INBOX

Check if that has any null byte or looks otherwise corrupt (not in
number:number format).

There is barely any error checking or correction in that are of code :-(.


Sorry to be not of more help.
Sebastian
-------------- 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/20110407/e0205e05/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list