[spambayes-bugs] [ spambayes-Bugs-835435 ] UnicodeEncodeError
(non-English Language)
SourceForge.net
noreply at sourceforge.net
Thu Nov 6 17:28:12 EST 2003
Bugs item #835435, was opened at 2003-11-04 13:00
Message generated for change (Settings changed) made by mhammond
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=835435&group_id=61702
Category: Outlook
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Armand Suarez (armandeus)
Assigned to: Mark Hammond (mhammond)
>Summary: UnicodeEncodeError (non-English Language)
Initial Comment:
The problem: cannot analyze existing Japanese-
language mail to build a database of good messages
using the manager.
I am using SB version 0.81 with Outlook 2003
(Japanese) in WinXP Pro (Japanese).
SB installs and works properly, filtering English-language
spam that arrives (which is the vast majority of spam).
However, when I use the manager to analyze existing
messages to build the database, the manager stops
at "writing the database."
The log says: "UnicodeEncodeError: 'ascii' codec can't
encode characters in position 26-35: ordinal not in range
(128)." The log file is attached (contains some Japanese
characters, file in ANSI).
----------------------------------------------------------------------
Comment By: Mark Hammond (mhammond)
Date: 2003-11-07 09:27
Message:
Logged In: YES
user_id=14198
Thanks for the report. A work around should be to create a
"data_directory" in your config file - see the configuration
guide for details.
The problem appears to be a bug in Python - os.utime does
not accept Unicode strings.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=835435&group_id=61702
More information about the Spambayes-bugs
mailing list