<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span><br></span></div><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 Wed, May 04, 2011 at 12:55:28PM +0200, Sebastian Spaeth wrote:<br>> On Tue, 3 May 2011 11:13:28 -0700 (PDT), chris coleman wrote:<br>> > It uses some python 2.6 syntax for the exception handling, and compile failed. <br>> <br>> Ohh right, for python 2.5 you would need to use it as you did. Nice<br>> catch. <br><br>Could you resend a fixed patch, please?<br><br>> > Indeed that corrupt line is there. but it's a sequence of non-consecutive numbers... Here is an excerpt:<br>> > <br>> > 40213:<br>> > 40214:<br>> > 40215:<br>> > 40217:R<br>> > 40218:S<br>> > 40229:S<br>> > 4023(0x00)(0x00)P(0x00)(0x01)(0x00)(0x00)(0x00)0:S<br>> > 40261:S<br>> > 40262:S<br>> > 40264:<br>> > 40269:S<br>> > 40270:<br>> > 40276:<br>> > 40279:R<br>> <br>> Actually, all other lines are OK, they just have no flags. The only<br>> damaged line
is:<br>> <br>> 4023(0x00)(0x00)P(0x00)(0x01)(0x00)(0x00)(0x00)0:S<br>> <br>> I suspect that it is supposed to mean:<br>> 40230:S<br><br>I wonder if it would worth to store more information about fetched<br>mails. If we had the Message-ID header or filename for example, we could<br>automatically repair the database.<br><br>---------------------------------------- <br>Nicolas ,<br><br>I agree it's wise to store the one additional piece of info (Message-ID appears like it could be a unique key), making it possible to regenerate the damaged file in a few seconds, up to a minute.<br><br>Without the Message-ID to identify each message absolutely, is it possible there could be a condition where the data in LocalStatus becomes useless, and that would force re-downloading and re-uploading the entire mailbox. On this particular INBOX there are 12385 messages - at 3-5 seconds per message , it would take ~13 hours to download all messages ( 26 hours
if uploading and downloading each message).<br><br>Chris<br></div></div></div></body></html>