[PATCH] Re: Output more detailed error on corrupt LocalStatus
Nicolas Sebrecht
nicolas.s-dev at laposte.net
Wed May 4 17:35:47 BST 2011
On Wed, May 04, 2011 at 12:55:28PM +0200, Sebastian Spaeth wrote:
> On Tue, 3 May 2011 11:13:28 -0700 (PDT), chris coleman <christocoleman at yahoo.com> wrote:
> > It uses some python 2.6 syntax for the exception handling, and compile failed.
>
> Ohh right, for python 2.5 you would need to use it as you did. Nice
> catch.
Could you resend a fixed patch, please?
> > Indeed that corrupt line is there. but it's a sequence of non-consecutive numbers... Here is an excerpt:
> >
> > 40213:
> > 40214:
> > 40215:
> > 40217:R
> > 40218:S
> > 40229:S
> > 4023(0x00)(0x00)P(0x00)(0x01)(0x00)(0x00)(0x00)0:S
> > 40261:S
> > 40262:S
> > 40264:
> > 40269:S
> > 40270:
> > 40276:
> > 40279:R
>
> Actually, all other lines are OK, they just have no flags. The only
> damaged line is:
>
> 4023(0x00)(0x00)P(0x00)(0x01)(0x00)(0x00)(0x00)0:S
>
> I suspect that it is supposed to mean:
> 40230:S
I wonder if it would worth to store more information about fetched
mails. If we had the Message-ID header or filename for example, we could
automatically repair the database.
--
Nicolas Sebrecht
More information about the OfflineIMAP-project
mailing list