<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"><div>Hello Sebastian and all,<br><br>Now I am getting the following 2 errors, which involve now 2 user accounts, not just 1 anymore.<br><br>Any suggestion what to do to fix this??  ( BTW this output is using the 6.2.0.2 version. )<br><br>Chris<br><br><br>"WARNING : Error occurred attempting to sync account (username): too many values to unpack<br><br>WARNING : Error in syncfolder for (username2) folder INBOX : null byte in argument for long() <br><br>Thread 'New msg sync from INBOX/Junk' terminated with exception:<br>Traceback (most recent call last):<br>  File "/usr/lib/python2.5/site-packages/offlineimap/threadutil.py", line 149, in run<br>    Thread.run(self)<br>  File "/usr/lib/python2.5/threading.py", line 446, in run<br>   
 self.__target(*self.__args, **self.__kwargs)<br>  File "/usr/lib/python2.5/site-packages/offlineimap/folder/Base.py", line 209, in syncmessagesto_neguid_msg<br>    message = self.getmessage(uid)<br>  File "/usr/lib/python2.5/site-packages/offlineimap/folder/UIDMaps.py", line 131, in getmessage<br>    return self._mb.getmessage(self, self.r2l[uid])<br>  File "/usr/lib/python2.5/site-packages/offlineimap/folder/IMAP.py", line 211, in getmessage<br>    return initialresult[1][0][1].replace("\r\n", "\n")<br>TypeError: 'NoneType' object is unsubscriptable<br><br><br>Last 1 debug messages logged for New msg sync from INBOX/Junk prior to exception:<br>imap: Returned object from fetching 1949131877: ('OK', [None]) "<br><br><br></div><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font
 face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> chris coleman <christocoleman@yahoo.com><br><b><span style="font-weight: bold;">To:</span></b> Sebastian Spaeth <Sebastian@SSpaeth.de>; offlineimap mailing list <offlineimap-project@lists.alioth.debian.org><br><b><span style="font-weight: bold;">Sent:</span></b> Wed, April 27, 2011 9:52:52 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: ERROR in syncfolder for (username) folder INBOX : null byte in argument for long()<br></font><br>
<div style="font-family:times new roman, new york, times, serif;font-size:12pt;">Thanks Sebastian.<br><br>UIDVALIDITY... this folder doesnt exist.  <br><br>Do you mean UIDMapping or FolderValidity ??<br><br>How much time will it take to recreate these files when there are 100,000 messages ?  Probably many hours, right ?<br><br>If I blow away (move away) ONE of the files inside these folders, will offlineimap recreate just the one file ??<br><br>Chris<br><div><br></div><div style="font-family:times new roman, new york, times, serif;font-size:12pt;"><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;">Sent:</span></b> Wed, April 27, 2011 3:42:02 AM<br><b><span style="font-weight:bold;">Subject:</span></b> Re: ERROR in syncfolder for (username) folder INBOX : null byte in argument for long()<br></font><br>
On Tue, 26 Apr 2011 12:05:27 -0700 (PDT), chris coleman <<a rel="nofollow" ymailto="mailto:christocoleman@yahoo.com" target="_blank" href="mailto:christocoleman@yahoo.com">christocoleman@yahoo.com</a>> wrote:<br>> Hello,<br>> <br>> Offlineimap has been working fine since I repaired the most recent error in the <br>> data files about a week ago (thanks to your help locating the bad data in the ).<br><br>Thanks for the debug log, this really helps. Your error now doesn't look<br>like data corruption to me. Somewhere it fails to interprete an IMAP<br>response correctly trying to convert a 'null byte' to a "long()" number,<br>presumably a email UID.<br><br>You could try to blow the UIDVALIDITY file away (or move it out of the<br>way) for testing, it will just be recreated.<br><br>Unfortunately, the error reporting in 6.2. is so rough that I cannot<br>even see in which line it fails, so I would suggest you try a newer<br>version of
 offlineimap. The configuration/status
 files are compatible,<br>and it might give you better output.<br><br>Sorry for not having better information there<br>Sebastian<br></div></div>



</div></div></div>



</div></body></html>