[Spambayes] RE: SB_imapfilter.py Crashing pt 2

Woo, Christopher Christopher.Woo at pepperdine.edu
Tue Sep 28 18:10:20 CEST 2004


Thanks, Tony! You pegged it on the money. There was an older version of
Spambayes in the Python libraries. Once I zapped that, Spambayes got back to
its industrious self.

CW 

-----Original Message-----
From: Tony Meyer [mailto:tameyer at ihug.co.nz] 
Sent: Sunday, September 26, 2004 11:29 PM
To: Woo, Christopher; spambayes at python.org
Subject: RE: SB_imapfilter.py Crashing pt 2

> 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