[Spambayes] RE: SB_imapfilter.py Crashing pt 2

Tony Meyer tameyer at ihug.co.nz
Mon Sep 27 08:28:38 CEST 2004

> Further testing reveals this particular error to be the show 
> stopper. It came up on 4 separate email messages, and the 
> script would progress no further until the offending spam was 
> removed from the inbox. I have the spam saved in case you 
> would like to see it. FYI, this is with the latest(?) script 
> from the CVS.
>     text, details = message.insert_exception_header(
> AttributeError: 'module' object has no attribute 
> 'insert_exception_header'

This looks like you are using sb_imapfilter.py from CVS, but the rest of
spambayes from some older version (where the message module doesn't have the
insert_exception_header function).

If you just replaced the sb_imapfilter.py script, you'll need to get the
rest of the archive from CVS and replace all the files.  If you did get the
whole lot, check that you don't have another version of spambayes on the
pythonpath (in lib/site-packages, for example).

=Tony Meyer

Please always include the list (spambayes at python.org) in your replies
(reply-all), and please don't send me personal mail about SpamBayes. This
way, you get everyone's help, and avoid a lack of replies when I'm busy.

More information about the Spambayes mailing list