[Spambayes] RE: error when trying spambayes addin with outlook2002

Mark Hammond mhammond at skippinet.com.au
Fri Mar 28 23:04:48 EST 2003


> exceptions.ValueError: invalid literal for float(): 0.20

This will almost certainly be due to not succumbing to world domination, and
not having your locale set to an English one <wink>.

Adding:

import locale
locale.setlocale(locale.LC_NUMERIC, "en")

Somewhere near the top of addin.py should fix this.  I think I will check
this in, rather than waiting for a non-Windows user to strike this problem
;)

Coalition-of-the-commas ly,

Mark.




More information about the Spambayes mailing list