[Spambayes] uncaught exception on unicode parsing errors lets spamthrough

Meyer, Tony T.A.Meyer at massey.ac.nz
Sat Sep 20 00:45:44 EDT 2003


> This is relatively new, but I now witness frequent instances 
> (at least one every couple of days) of spam messages that were not 
> classified as such because spambayes choked on them at the parsing
> stage, adding a header such as the one below.
> 
> X-Spambayes-Exception: exceptions.UnicodeDecodeError('ascii' 
> codec can't
> 	decode byte 0x92 in position 7: ordinal not in range(128)) in
> 	append() at C:\apps\python23\lib\email\Header.py line 272:
> 	ustr = unicode(s, incodec, errors)

This should be fixed in both 1.0a5 and the new 1.0a6.  What version are
you using?

=Tony Meyer



More information about the Spambayes mailing list