[spambayes-bugs] [ spambayes-Bugs-783434 ] UnicodeError in
site-packages\email\Header.py
SourceForge.net
noreply at sourceforge.net
Wed Aug 6 03:51:24 EDT 2003
Bugs item #783434, was opened at 2003-08-05 13:49
Message generated for change (Comment added) made by megari
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=783434&group_id=61702
Category: pop3proxy
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Wolfgang Strobl (strobl)
Assigned to: Nobody/Anonymous (nobody)
Summary: UnicodeError in site-packages\email\Header.py
Initial Comment:
Got a
X-Spambayes-Exception: exceptions.UnicodeError(ASCII
decoding error: ordinal
not in range(128)) in append() at
C:\Python22\lib\site-packages\email\Header.py
line
230: ustr = unicode(s, incodec)
while getting a piece of spam via pop3proxy
Python 2.2.3 (#42, May 30 2003, 18:12:08) [MSC 32 bit
(Intel)] on win32
----------------------------------------------------------------------
Comment By: Ari Sundholm (megari)
Date: 2003-08-06 12:51
Message:
Logged In: YES
user_id=198924
I got this, too when using pop3proxy (spambayes 1.0a4). It is
printed in the headers instead of spam rating (as it should;
I've read other reports here - good that this works), causing
occasionally some spam messages get through. This would be
nice to be fixed - maybe a bit more tolerance to the unicode
function(s)? I know these can be a pain in the..erm...backside
since I'm working with Unicode support myself.
The funny thing about this is that when I look at the Web
interface of pop3proxy and use the Review function to train
the filter, the email is correctly classified as spam and it can
be trained w/o any errors along with the other ones as such.
Best regards,
Ari Sundholm
megari at freedb.org
freedb core team
----------------------------------------------------------------------
Comment By: Wolfgang Strobl (strobl)
Date: 2003-08-06 11:19
Message:
Logged In: YES
user_id=311771
same with python23:
-Spambayes-Exception: exceptions.UnicodeDecodeError('ascii'
codec can't
decode byte 0xd6 in position 24: ordinal not in range
(128))
in append() at c:\python23\lib\email\Header.py line
272: ustr
= unicode(s, incodec, errors)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=783434&group_id=61702
More information about the Spambayes-bugs
mailing list