[Mailman-Users] bounce runner day of year out of range error
Jim Tittsler
jwt at onjapan.net
Sat Mar 19 05:26:43 CET 2005
On Mar 19, 2005, at 07:27, Heather Madrone wrote:
> I'm running Mailman 2.1.5 on Mac OSX 10.2.8 using Python 2.4 and exim
> [...]
> File "/Applications/mailman/Mailman/Bouncer.py", line 131, in
> registerBounce
> time.strftime('%d-%b-%Y', day + (0,)*6))
> ValueError: day of year out of range
This error occurs because Python 2.4's strftime() checks its arguments
more strictly than earlier versions.
Three options are:
1) switch to the 2.1.6beta versions, where this has already been fixed
2) change line 131 of Bouncer.py to be:
time.strftime('%d-%b-%Y', day + (0,0,0,0,1,0)))
3) use Python 2.3
--
Jim Tittsler http://www.OnJapan.net/ GPG: 0x01159DB6
Python Starship http://Starship.Python.net/
Ringo MUG Tokyo http://www.ringo.net/rss.html
More information about the Mailman-Users
mailing list