<html><body><div style="color:#000; background-color:#fff; 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;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;">
On Fri, 29 Apr 2011 07:10:36 -0700 (PDT), chris coleman <<a ymailto="mailto:christocoleman@yahoo.com" href="mailto:christocoleman@yahoo.com">christocoleman@yahoo.com</a>> wrote:<br>> Nicolas, Sebastian:<br>> <br>> Here is an update on crashlog1. <br>> <br>> I removed the files in a WORKING user's folder <br>> (~/.offlineimap/Repository-IMAPLocalUsername/FolderValidity/*) and re-ran <br>> offlineimap 6.3.2. It re-generated those files like you said it would.<br>> <br>> I removed the files in the CRASHIG user's folder, and re-ran it. It NEVER got <br>> to the point of re-generating those files.<br>> <br>> Here is the log from the crashing user.<br>> <br>> Your suggestions on what to do next, will be appreciated !<br><br>Most probably this file is corrupted:<br><br>~/.offlineimap/Repository-IMAPLocalUsername/UIDMapping/INBOX.Sent<br><br>It should be one entry in the form of
"number:number" per line and when<br>reading this file, it got more than 2 entries. So either it lacks some<br>newline somewhere or it actually got 2 ":" in one line somehow.<br><br>> File "/root/nicolas33-offlineimap-v632/offlineimap/folder/UIDMaps.py", line <br>> 49, in _loadmaps<br>> (str1, str2) = line.split(':')<br>> ValueError: too many values to unpack<br><br><span>Sebastian: </span><br><br>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.<br><br>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....<br><br>Chris<br><br></div></div></div></body></html>