[Spambayes] FW: Problems installing Outlook pluggin

Tim Peters tim.one at comcast.net
Fri Feb 21 17:30:04 EST 2003

[Mark Hammond]
> This is a wierd one.  The bottom of this traceback has:
>   File "D:\Windows\Prog\PYTHON~1\Lib\email\Utils.py", line 10, in ?
>     import random
>   File "D:\Windows\Prog\PYTHON~1\Lib\random.py", line 93, in ?
>     _verify('NV_MAGICCONST', NV_MAGICCONST, 1.71552776992141)
>   File "D:\Windows\Prog\PYTHON~1\Lib\random.py", line 88, in _verify
>     raise ValueError(
> exceptions.ValueError: computed value for NV_MAGICCONST deviates too much
> (computed 2,82843, expected 1)
> Anyone have a clue what this means?

Yup, but we usually see it only in systems with GNU readline, or some
bizarre (non-Pythonwin <wink>) GUI:  the C locale has gotten screwed up.
That's why the last line printed 2.82843 with a comma instead of a decimal
point.  For the same reason, the 1.71552776992141 in the verify() call isn't
being parsed as intended as a floating constant either.  I've no idea *how*
your locale got hosed, though.

More information about the Spambayes mailing list