Assertion failures

ael law_ence.dev at ntlworld.com
Sat Mar 8 13:39:44 UTC 2014


On Fri, Mar 07, 2014 at 11:40:33PM +0100, Nicolas Sebrecht wrote:
> > ('line =', '\xd9\x80\x9e\x9c<%\x86=Q\xbf\xa2"\xe0\xd9y\xe55\xce\x9b\xd4>\x15I\xa4Sw}iu.\xec\xff\x15|\xac\\\x851\xcc$\x8fg\\bc\xe4A\xf7\x04\xa7an\x12\xa1\xbf\xc0\x03\x88\x85\xa0qeSBuf\x87bI\xae\xb4\xf7\x0f+\x9ay\xd1V\xba\x0c\x19\x83\x16\x19\x9cT\xe3n\x13\xca\xc4\xa5\x82\x90\xd7Q\xc2\xc1', 'magic=', 'OFFLINEIMAP LocalStatus CACHE DATA - DO NOT MODIFY - FORMAT 1')
> > 
> > --------------------------------------------------------------------
> > 
> > I have noticed other similar errors. 
> 
> This is python unicode strings. It looks like the string is read in
> unicode sometime. I would not be surprised that the file has unicode
> characters.
> 
> BTW, I hate the "magic" python has to handle unicode. It stabs in the
> back.

Thanks for the reply. I have not had time to look into this further.
Indeed, python has many flaws, despite it's popularity :-) But maybe it
is one of the best of the OO bunch, which may not be saying much...

It seems that offlineimap generally seems to survive this error,
although it may need to be restarted.

ael




More information about the OfflineIMAP-project mailing list