[Mailman-Developers] Possibly new year or y2k issue?

Sean Reifschneider jafo@tummy.com
Tue, 4 Jan 2000 13:00:41 -0700


I just got the following error from my mailman log watcher.  It looks like
there may be an issue with the arguments that are passed to mktime.  This
could be cause by some OTHER program generating bogus input (if a mail
message had an invalid date in it).  My first inclination would be to
just use the current date if the mktime failed with ValueError.

Sean
======================

MailMan Log Report
Generated: Tue Jan  4 12:00:01 2000

####################################################
#  FILE: /home/mailman/logs/error.20000104-120001  #
####################################################

Jan 04 10:01:33 2000 post: Traceback (innermost last):
post:   File "/home/mailman/Mailman/Archiver/Archiver.py", line 216, in ArchiveMail
post:     h.processUnixMailbox(f, HyperArch.Article)
post:   File "/home/mailman/Mailman/Archiver/pipermail.py", line 379, in processUnixMailbox
post:     a=articleClass(m, self.sequence) # Create an article object
post:   File "/home/mailman/Mailman/Archiver/HyperArch.py", line 241, in __init__
post:     date=time.mktime(date)-tzoffset
post: ValueError: year out of range (00-99, 1900-*)

-- 
 These go to eleven.
                 -- _This_is_Spinal_Tap_
Sean Reifschneider, Inimitably Superfluous <jafo@tummy.com>
URL: <http://www.tummy.com/xvscan> HP-UX/Linux/FreeBSD/BSDOS scanning software.