[Spambayes] Spam crashing sb_imapfilter.py

Woo, Christopher Christopher.Woo at pepperdine.edu
Thu Sep 16 07:08:29 CEST 2004


I'll look into upgrading Python to 2.4. As for running RC2, I did extract it
over an older installation of SpamBayes. Would that lead to problems?

CW

-----Original Message-----
From: Tony Meyer [mailto:tameyer at ihug.co.nz] 
Sent: Wednesday, September 15, 2004 10:03 PM
To: Woo, Christopher; spambayes at python.org
Subject: RE: [Spambayes] Spam crashing sb_imapfilter.py


[It doesn't appear that this messages to spambayes at python.org has been
answered yet - sorry about that!  I've been away and so are catching up with
the messages.  Please ignore if I'm wrong and this has been resolved
already.]

> Has anyone come across spam that crashes sb_imapfilter.py?
> I've been getting one or two a week that will stop 
> sb_imapfilter.py cold, and the only way I can fix it is to go 
> in manually and delete the offending spam.

The first 1.1 release of SpamBayes will have a more robust sb_imapfilter
that handles these more gracefully (skipping them each time).  Using Python
2.4 would also solve the problem.  Until then, there isn't really anything
to be done apart from what you're already doing.

> I've several of
> these emails saved, and I can reproduce the error:
> 
> c:\spambayes\scripts\sb_imapfilter.py -c -e y
> SpamBayes IMAP Filter Version 0.3 (April 2004)
> and engine SpamBayes Engine Version 0.3 (January 2004).
> 
> Traceback (most recent call last):
[...]
>     raise TypeError, 'string payload expected: %s' % type(payload)
> TypeError: string payload expected: <type 'list'>

This particular error should be handled already, though.  Are you using
1.0rc2?

=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