[Spambayes] This message crashed Spambayes...

Moore, Paul Paul.Moore at atosorigin.com
Mon Mar 3 09:01:07 EST 2003


The attached message caused an error when being processed by the Outlook plugin, which stopped it processing the rest of my inbox. Unfortunately, I've no idea if attaching an email from Outlook will result in something readable from any other mailer (at least, in terms of diagnosing an issue like this!) If it doesn't, let me know what to do to diagnose the problem...

Paul.

PS I didn't raise a SF bug report for now, as when I saved the message as text from Outlook, it *definitely* lost any useful header info :-(

Traceback info:

Exception in thread Thread-5:
Traceback (most recent call last):
  File "C:\Python22\Lib\threading.py", line 408, in __bootstrap
    self.run()
  File "C:\Python22\Lib\threading.py", line 396, in run
    apply(self.__target, self.__args, self.__kwargs)
  File "C:\Applications\Spambayes\Outlook2000\dialogs\AsyncDialog.py", line 115, in thread_target
    self._DoProcess()
  File "C:\Applications\Spambayes\Outlook2000\dialogs\FilterDialog.py", line 375, in _DoProcess
    self.filterer(self.mgr, self.progress)
  File "C:\Applications\Spambayes\Outlook2000\filter.py", line 88, in filterer
    this_dispositions = filter_folder(f, mgr, progress)
  File "C:\Applications\Spambayes\Outlook2000\filter.py", line 68, in filter_folder
    disposition = filter_message(message, mgr, all_actions)
  File "C:\Applications\Spambayes\Outlook2000\filter.py", line 15, in filter_message
    prob = mgr.score(msg)
  File "C:\Applications\Spambayes\Outlook2000\manager.py", line 388, in score
    result = self.bayes.spamprob(bayes_tokenize(email), evidence)
  File "C:\Applications\Spambayes\spambayes\classifier.py", line 217, in chi2_spamprob
    clues = self._getclues(wordstream)
  File "C:\Applications\Spambayes\spambayes\classifier.py", line 436, in _getclues
    for word in Set(wordstream):
  File "C:\Applications\Spambayes\spambayes\compatsets.py", line 374, in __init__
    self._update(iterable)
  File "C:\Applications\Spambayes\spambayes\compatsets.py", line 333, in _update 
    for element in it:
  File "C:\Applications\Spambayes\spambayes\tokenizer.py", line 1052, in tokenize
    for tok in self.tokenize_headers(msg):
  File "C:\Applications\Spambayes\spambayes\tokenizer.py", line 1106, in tokenize_headers
    for x, subjcharset in email.Header.decode_header(x):
  File "C:\Python22\Lib\email\Header.py", line 92, in decode_header
    dec = email.base64MIME.decode(encoded)
  File "C:\Python22\Lib\email\base64MIME.py", line 179, in decode
    dec = a2b_base64(s)
Error: Incorrect padding

 <<	(??) ???? ??1? ? ??? ??? ???>> 
-------------- next part --------------
An embedded message was scrubbed...
From: <dnfld4krle4 at lycos.co.kr>
Subject: (??) ???? ??1? ? ??? ??? ???
Date: Sun, 2 Mar 2003 13:54:19 -0000
Size: 1689
Url: http://mail.python.org/pipermail/spambayes/attachments/20030303/52d154bd/attachment.eml


More information about the Spambayes mailing list