[Spambayes] No problems for a long time until now!

Stephen Ng steveng at pop.jaring.my
Sun Sep 26 17:50:04 CEST 2004


Hi!

I received the following error when training from the web interface -

Training... Saving... Done. Trained on 2 messages.
 


      500 Server error

Traceback (most recent call last):

  File "/usr/lib/python2.2/site-packages/spambayes/Dibbler.py", line 461, in found_terminator
    getattr(plugin, name)(**params)

  File "/usr/lib/python2.2/site-packages/spambayes/ProxyUI.py", line 542, in onReview
    messageInfo = self._makeMessageInfo(message)

  File "/usr/lib/python2.2/site-packages/spambayes/ProxyUI.py", line 710, in _makeMessageInfo
    messageInfo.bodySummary = self._trimHeader(text, 200)

  File "/usr/lib/python2.2/site-packages/spambayes/UserInterface.py", line 216, in _trimHeader
    sections = email.Header.decode_header(field)

  File "/usr/lib/python2.2/email/Header.py", line 67, in decode_header
    if not ecre.search(header):

RuntimeError: maximum recursion limit exceeded

I am using the follwoing versions -

SpamBayes POP3 Proxy Version 1.0b1 (April 2004)
and engine SpamBayes Engine Version 0.3 (January 2004).

I've been running spambayes for a long time now and have had no problems 
until now. I tried removing hammie.db as well as 
spambayes.messageinfo.db. This made no difference. The error appears 
whenever I do any training and I click on "Train". Appreciate any help 
to resolve this.

Thanks.


Stephen Ng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/spambayes/attachments/20040926/ca692254/attachment.htm


More information about the Spambayes mailing list