This week I started getting two different spam mails that are not classified and do not show up in the "Review" training webpage. They cause an "X-Spambayes-Exception" header to be created with the following content:

"Traceback (most recent call last): . File "/usr/bin/sb_server.py", line 555, in onRetr . evidence=True) . File "/usr/lib/python2.7/dist-packages/spambayes/classifier.py", line 169, in chi2_spamprob . clues = self._getclues(wordstream) . File "/usr/lib/python2.7/dist-packages/spambayes/classifier.py", line 471, in _getclues . for word in set(wordstream): . File "/usr/lib/python2.7/dist-packages/spambayes/tokenizer.py", line 1260, in tokenize . for tok in self.tokenize_body(msg): . File "/usr/lib/python2.7/dist-packages/spambayes/tokenizer.py", line 1669, in tokenize_body . text, tokens = cracker(text) . File "/usr/lib/python2.7/dist-packages/spambayes/tokenizer.py", line 961, in analyze . tokens.extend(self.tokenize(m)) . File "/usr/lib/python2.7/dist-packages/spambayes/tokenizer.py", line 1071, in tokenize . scheme, netloc, path, params, query, frag = urlparse.urlparse(url) . File "/usr/lib/python2.7/urlparse.py", line 143, in urlparse . tuple = urlsplit(url, scheme, allow_fragments) . File "/usr/lib/python2.7/urlparse.py", line 191, in urlsplit . raise ValueError("Invalid IPv6 URL") .ValueError: Invalid IPv6 URL"

I have not seen this problem before, so could someone tell me what's happening here and if it can be fixed.

I'm running Spambayes 1.1b1-1 on Debian Jessie with python 2.7.9-1.

Thanks,
Dale Schroeder


_______________________________________________
SpamBayes@python.org
https://mail.python.org/mailman/listinfo/spambayes
Info/Unsubscribe: http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html

Reply via email to