[Mimedefang] graphdefang error?
cam
bcp1 at craqskeep.com
Sun Aug 31 12:54:01 EDT 2003
hmmm appears that the error is actually coming from Time::Local line 92
(latest mod, updated to see if it was a problem):
(lines 90 - 95 pasted)
++$md unless $month != 1 or $year % 4 or !($year % 400);
croak "Day '$mday' out of range 1..$md" if $mday > $md or $mday < 1;
croak "Hour '$hour' out of range 0..23" if $hour > 23 or $hour < 0;
croak "Minute '$min' out of range 0..59" if $min > 59 or $min < 0;
croak "Second '$sec' out of range 0..59" if $sec > 59 or $sec < 0;
the hashs appear to be correct in the module. the odd thing is that the
graph works fine for hte first definition:
my %GraphSettings;
#-------------------------------------------------------------
%GraphSettings = ();
%GraphSettings = (
'data_types' => ['spam', 'probable_spam', 'virus', 'mail_in',
'mail_out'],
'graph_type' => 'line',
'grouping' => 'summary',
'grouping_times'=> ['hourly','daily','monthly'],
);
push @GRAPHS, { %GraphSettings };
but all the rest aren't working... /boggle.
i'm using pretty much stock graphdefang config. i've only added 1 graph
and 1 item in the above portion.
cam
On Sun, 31 Aug 2003, cam wrote:
>
> has anyone seen this running graphdefang 0.7?
>
> Day '31' out of range 1..30 at
> /usr/local/graphdefang-0.7/graphdefanglib.pl line 508
>
> i started getting this every run since midnight today. i'm digging
> through the code to see if i can figure out what is causing it. i checked
> the archives, but didn't find anything similar.
More information about the MIMEDefang
mailing list