🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36110

innreport has divide by zero error.

#36110
From: Simon L
Date: Tue, 23 Mar 1999 00:00
50 lines
2353 bytes
Morning folks,
       innreport ran last night and produced some sexy graphs for
itsstats (if that sort
of thing turns you on). Along with the piccies I also get this error on
the mailed copy
of the report:

Illegal division by zero at /var/news/bin/innreport line 1715.

And line 1715 reads:

# Legend
  my $y_in = $ymax - $size - $FontHeight + 5;
  $image->string (gdSmallFont, $marginl, $y_in, $legend_in, $col_in);
  $image->string (gdSmallFont, $xmax / 4, $y_in,
                  (sprintf "Min: %5.1f $unit", $min_in * $factor),
$black);
  LINE 1715:    $image->string (gdSmallFont, $xmax / 2, $y_in,
                (sprintf "Avg: %5.1f $unit", $s_in / $t_in * $factor),
$black);
  $image->string (gdSmallFont, 3 * $xmax / 4, $y_in,
                  (sprintf "Max: %5.1f $unit", $max_in * $factor),
$black);



The inclusion of the graphs is all I've changed recently. However I
still get ongoing errors
from pgp which I don't understand and may or maynot be related:

Error log:
Argument "pgpverify: pgp exited status 4096" isn't numeric in
right_shift at /var/news/bin/pgpverify line 240.
Argument "pgpverify: pgp exited status 4096" isn't numeric in
right_shift at /var/news/bin/pgpverify line 240.
INND exiting because of signal
INND exiting because of signal
Argument "pgpverify: pgp exited status 4096" isn't numeric in
right_shift at /var/news/bin/pgpverify line 240.
Argument "pgpverify: pgp exited status 4096" isn't numeric in
right_shift at /var/news/bin/pgpverify line 240.
...

Anyone up for the Mastermind chair?

Simon.


Technical Details
Message-ID: <36F752E2.DE138AA8@eso.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <36F752E2.DE138AA8@eso.org>
Subject: innreport has divide by zero error.
Date: Tue, 23 Mar 1999 00:00:00 +0000
From: Simon L <sloewent@eso.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 457907801
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: postmaster@eso.org
X-Trace: snatch.hq.eso.org 922178730 27410 134.171.15.150 (23 Mar 1999 08:45:30 GMT)
Organization: European Southern Observatory
Mime-Version: 1.0
NNTP-Posting-Date: 23 Mar 1999 08:45:30 GMT
Newsgroups: news.software.nntp