mhonarc-users

Re: Cryptic MHonArc error

1996-10-25 09:42:21
Bill,

Give 2.0a of MHonArc a try. I submitted a patch to
Earl to the parse_date routine to fix this and similar problems I encountered
related to the date
processing, which have been incorporated into this version.

Note that the actual problem, IMHO, is a bug in the PERL system
library module timelocal.pl that causes
the gmdate routine to exit instead of return when an invalid date string
is passed as input. The 2.0a of MHonArc uses a more flexible
parsing of the date strings in the Received and Date headers, as well as
setting default values to the string passed into timelocal to insure
that timelocal always has valid input.

If you need to keep running version 1.2.3, I think you'll find the changes
to 1.2.3 to incorporate the revised parse_date routine are fairly minor.

-- Frank



I just tried running ver. 1.2.3 on a fairly small mail sppol file and
got the following error message:

Requiring MIME filter libraries ...
       mhexternal.pl
       mhtxthtml.pl
       mhtxtplain.pl
       mhtxtsetext.pl
Converting messages to .
Reading /export/home/silvert/spool/czm .....Day out of range 1..31 in 
timelocal.pl

I've looked at the file and all of the dates look legit. Since there is
nothing in the error message to indicate where the problem occured, I'm
stumped. Any ideas?

MHonArc runs fine on lots of other spool files, I maintain about a dozen
archives this way.

-- 
Bill Silvert, Habitat Ecology Section, Bedford Institute of Oceanography,
P. O. Box 1006, Dartmouth, Nova Scotia, CANADA B2Y 4A2, Tel. (902)426-1577

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Frank J. Manion
Director, Research Computing Services
The Fox Chase Cancer Center                              Phone: 215-728-3660
7701 Burholme Avenue                                     FAX:   215-728-2513
Philadelphia, PA  19111                         internet: 
FJ_Manion(_at_)fccc(_dot_)edu
USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

<Prev in Thread] Current Thread [Next in Thread>