From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021202 Description of problem: I have set up mailman for a small low volume mailing list, the list is working fine (from what I can see), but every night I get the following in my crontab for mailman: Traceback (most recent call last): File "/var/mailman/cron/gate_news", line 40, in ? from Mailman import MailList File "/var/mailman/Mailman/MailList.py", line 36, in ? from Mailman import Utils File "/var/mailman/Mailman/Utils.py", line 32, in ? import random File "/usr/lib/python2.2/random.py", line 91, in ? NV_MAGICCONST = 4 * _exp(-0.5)/_sqrt(2.0) ValueError: math domain error Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. let default cronjob frun for mailman 2. 3. Actual Results: see above Expected Results: Don't know, it has always done this (sorry) Additional info:
This is also present in the cron job as well: Traceback (most recent call last): File "/var/mailman/cron/qrunner", line 84, in ? from Mailman import Utils File "/var/mailman/Mailman/Utils.py", line 32, in ? import random File "/usr/lib/python2.2/random.py", line 91, in ? NV_MAGICCONST = 4 * _exp(-0.5)/_sqrt(2.0) ValueError: math domain error
This is a bit odd, I don't think this has anything to do with mailman per se. The problem would appear to be in your python installation. The line of code producing the error in random.py looks just fine, it shouldn't be generating an error. I'm running python 2.2.1. I don't get this error and so far to the best of my knowledge no one has reported a similar problem in the mailmain discussions lists. As a sanity check please try the following, start an interactive python session by typing python at the command line, then type this: import random do you get any errors? then type this: random.NV_MAGICCONST do you get something close in value to this? 1.7155277699214135
typing the the above did not produce any errors at all. I have since upgraded to mailman-2.1 (updated the official redhat rpm) and that still producs the error on '/var/mailman/cron/gate_news', but qrunnner now works perfectly. I removed all traces of the updated mailman (v 2.1) and reinstalled the supplied mailman from RH 8 and that still produces the same two errors. Mark
Is this still happening with a current mailman package? Thanks, Florian La Roche
Closing this out because no one else has reported the problem and I can't reproduce it.