[Spambayes] Spambayes - a few more steps forward in Czech in plugin 0081

Erik Piper erik at sky.cz
Tue Nov 4 12:51:43 EST 2003


Sure, Anthony. Shame I didn't remember to do so in the first place.

Exception in thread Thread-1:
Traceback (most recent call last):
  File "out1.pyz/threading", line 436, in __bootstrap
  File "out1.pyz/threading", line 416, in run
  File "out1.pyz/dialogs.async_processor", line 226, in thread_target
  File "out1.pyz/train", line 169, in trainer
  File "out1.pyz/manager", line 311, in Adopt
  File "out1.pyz/shutil", line 170, in move
  File "out1.pyz/shutil", line 83, in copy2
  File "out1.pyz/shutil", line 58, in copystat
UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position
52: ordinal not in range(128)

The precise same footprint in the traceback arises when I repro the "soft
hang" of training in the Training tab, mentioned in the original e-mail.

At the risk of supplying useless information, here's the log from stepping
through the configuration wizard:

(...prelude...)
Loaded bayes database from 'C:\Documents and Settings\Administrator\Data
aplikaci\SpamBayes\default_bayes_database.db'
Loaded message database from 'C:\Documents and Settings\Administrator\Data
aplikaci\SpamBayes\default_message_database.db'
Bayes database initialized with 2 spam and 72 good messages
*** - message database has 44 messages - bayes has 74 - something is screwey

(...)

GetNextPage with current 0 IDD_WIZARD_WELCOME
GetNextPage with current 3 IDD_WIZARD_FOLDERS_TRAIN
About to train with really_really_long_string_of_gobbledygook
Checked 72 in folder Ham - 72 new entries found.
Checked 2 in folder Junk E-Mail - 2 new entries found.
GetNextPage with current 4 IDD_WIZARD_TRAIN
GetNextPage with current 1 IDD_WIZARD_FOLDERS_WATCH
GetNextPage with current 2 IDD_WIZARD_FOLDERS_REST
Wizard Done!
Saving wizard changes
Saving configuration -> C:\Documents and Settings\Administrator\Data
aplikaci\SpamBayes\Microsoft Outlook Internet Settings.ini

In other words, even though Spambayes throws me an error dialog, no event is
logged.

By the way, I can no longer repro the failure of the "Recover from Spam" and
"Delete as Spam" buttons; if I can confirm a set of repro steps in the
future, I'll let y'all know.

Erik Piper

-----Original Message-----
From: Anthony Baxter [mailto:anthony at interlink.com.au]
Sent: Tuesday, November 04, 2003 10:52 AM
To: Erik Piper
Cc: spambayes at python.org
Subject: Re: [Spambayes] Spambayes - a few more steps forward in Czech in
plugin 0081



>>> "Erik Piper" wrote

> Home computer (W2K CZ, Outlook 2K CZ): Installation fine, startup fine.
But:
> 1. clicking the Data Folder button in the Advanced tab leads to an error
> dialog:
> SpamBayes
> 	'ascii' codec can't encode character u'\xed' in position 52: ordinal no
t in
> range(128)

Can you post the entire traceback here?

Anthony

--
Anthony Baxter     <anthony at interlink.com.au>
It's never too late to have a happy childhood.




More information about the Spambayes mailing list