<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">Sebastian, <br><div style="font-family:times new roman, new york, times, serif;font-size:12pt">You are right!!<br>That file ~/.offlineimap/Repository-LocalFoo/UIDMapping/INBOX contains corrupt data :<br><br>61410:213738<br>61412:213740<br>61413:213741<br>61414 P <br>61416:213744<br>61417:213745<br><br>I looked for IDs inside mail reader software, but the numbers are very different... they go from 1 - 19000<br><br>The question: how does one manually retrieve the missing UID which corresponds to UID 61414 ??<br><br><br><div style="font-family:arial, helvetica, sans-serif;font-size:13px"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Sebastian Spaeth <Sebastian@SSpaeth.de><br><b><span
style="font-weight: bold;">To:</span></b> chris coleman <christocoleman@yahoo.com>; offlineimap mailing list <offlineimap-project@lists.alioth.debian.org><br><b><span style="font-weight: bold;">Cc:</span></b> Nicolas Sebrecht <nicolas.s-dev@laposte.net><br><b><span style="font-weight: bold;">Sent:</span></b> Wed, April 6, 2011 6:41:06 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: Please help crash: null byte in argument for long()<br></font><br>
On Wed, 6 Apr 2011 09:28:27 -0700 (PDT), chris coleman <<a ymailto="mailto:christocoleman@yahoo.com" href="mailto:christocoleman@yahoo.com">christocoleman@yahoo.com</a>> wrote:<br>> I unpacked v6.3.2 (not distro-specific), did chmod +x on the <a target="_blank" href="http://offlineimap.py">offlineimap.py</a>, and <br>> ran it locally. <br>> <br>> <br>> Same crash. "null byte in argument for long()"<br><br>Thanks for the log and traceback. The crash you are seeing is because,<br>you have a corrupt mapping file that translates the UIDS between the<br>remote and the local IMAP servers.<br><br>That file should be in<br>~/.offlineimap/Repository-LocalFoo/UIDMapping/INBOX<br><br>Check if that has any null byte or looks otherwise corrupt (not in<br>number:number format).<br><br>There is barely any error checking or correction in that are of code :-(.<br><br><br>Sorry to be not of more help.<br>Sebastian<br></div></div>
</div></body></html>