[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tmda-users
Subject:    Re: TWOPI error
From:       Tim Legant <tim-dated-1057368203.b0ee8f () catseye ! net>
Date:       2003-06-28 1:23:21
[Download RAW message or body]

Brian Lalor <blalor@bravo5.org> writes:

> I get these errors occasionally; does anyone know what's causing this?
> I'm using TMDA 0.73.  I'm not able to isolate the problem email...

I don't think it has to do with a particular email....

> Uncaught Python 2.2.2 Exception (Fri Jun 27 12:54:40 2003):
> -----------------------------------------------------------
> Traceback (most recent call last):
>    File "/data/sites/introducingthelalors.org/bin/tmda-filter", line 53, in ?
>      execfile(os.path.join(execdir, 'tmda-rfilter'))
>    File "/data/sites/introducingthelalors.org/bin/tmda-rfilter", line 118, in ?
>      from TMDA import Defaults
>    File "./TMDA/Defaults.py", line 106, in ?
>    File "./TMDA/Util.py", line 26, in ?
>    File "./TMDA/pythonlib/email/Utils.py", line 10, in ?
>    File "//usr/lib/python2.2/random.py", line 96, in ?
>      _verify('TWOPI', TWOPI, 6.28318530718)
>    File "//usr/lib/python2.2/random.py", line 88, in _verify
>      raise ValueError(
> ValueError: computed value for TWOPI deviates too much (computed
> 6.28319, expected 6.28319)

The random.py module, a standard part of the Python installation, is
trying to verify that your numeric co-processor works reasonably
well.  It multiplies 2.0 * pi (3.14159265359 on my system).  Then it
compares that result with 6.28318530718, as given above.  If the
computed value and the hard-coded value are too far apart, it throws
this exception.

My guess is that you have either a flaky co-processor or memory
problems, such that, at times, this comparison fails.


Tim
_____________________________________________
tmda-users mailing list (tmda-users@tmda.net)
http://tmda.net/lists/listinfo/tmda-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic