🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Conrad Juleff Thu, 19 Aug 1999 00:00
innreport headaches
#39277
Author: Conrad Juleff
Date: Thu, 19 Aug 1999 00:00
15 lines
1340 bytes
I am trying to get the default innreport that comes with inn2.2 to
create an html output. I have installed GD.pm but it doesnt seem to work
properly. I do have syslog sending messages to ~news/log/. I have gone
over the instructions in the innreport script.
It generates the index.html ok with a graph but the "Daily Usenet
Report" doesnt work properly. I only gets the unknown entries displayed
and the rest is blank. It also generates the full text output as with a
normal innreport.
Someone mentioned in this group that you need the gd library but I dont
see how that fits in.

Any ideas would be appreciated.
-Conrad

Re: innreport headaches
#39274
Author: Conrad Juleff
Date: Thu, 19 Aug 1999 00:00
56 lines
3443 bytes
This sorted out the problem:

Edit etc/innreport.conf;  Change line 22:

    graph false; # need 'html'

to:

    graph true;  # need 'html'


In article <yl3dxg9edg.fsf@windlord.stanford.edu>, Russ Allbery wrote:
>Conrad Juleff <conradj@NOSPAM.is.co.za> writes:
>
>> i tried installed the gd library but it makes no difference. I still
>> dont get a full output in html. I see some people do have pages on the
>> web where this works so it must be possible.
>
>Yeah, I have no idea what's wrong... I literally just changed a couple of
>lines in the innreport.conf file on my 2.2 installation and it worked
>fine.  I don't understand what could be going wrong for you.  Here's the
>part of my innreport.conf that I changed, if it helps any....
>
>section default {
>        libpath         "/var/news/lib";
>        logpath         "/var/news/log";
>        unknown         true;        # want unknown entries.
>        max_unknown     50;          # max unknown entries to display.
>        casesensitive   true;
>        module          "innreport_inn";  # ${libpath}/${module}.pm
>        unwanted_log    "unwanted.log";   # ${logpath}/${unwanted_log}
>        text            true;
>        html            true;
>        graph           true;        # need 'html'
>        archive         true;  # use false to keep only the latest HTML report.
>        index           "index.html"; # name of the HTML index file.
>      # html_dir        "/var/www/News/stats"; # default to pathhttp in inn.conf
>        img_dir         "pics";      # images will go to ${html_dir}/${img_dir}
>        cycle           none;        # use a number or 'none'.
>        separator       ".";         # use a valid filename character.
>        title           "Daily Usenet report";
>      # title        "Daily Usenet report for <A HREF=\"/stat/\">news.y.z</A>";
>      # footer          "Local contact: <A HREF=\"mailto:x@y.z\">x@y.z</A>";
>      # html_body       "BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\"";
>      # html_header_file "header.html";  # ${html_dir}/${html_header_file}
>      # html_footer_file "footer.html";  # ${html_dir}/${html_footer_file}
>        graph_width     550;         # graph width (in pixels)
>        transparent     true;        # graph background transparent ?
>        graph_fg        "#000000";   # graph foreground color.
>        graph_bg        "#FFFFFF";   # graph background color.
>};
>
>-- 
>Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: innreport headaches
#39275
Author: Russ Allbery
Date: Thu, 19 Aug 1999 00:00
44 lines
2906 bytes
Conrad Juleff <conradj@NOSPAM.is.co.za> writes:

> i tried installed the gd library but it makes no difference. I still
> dont get a full output in html. I see some people do have pages on the
> web where this works so it must be possible.

Yeah, I have no idea what's wrong... I literally just changed a couple of
lines in the innreport.conf file on my 2.2 installation and it worked
fine.  I don't understand what could be going wrong for you.  Here's the
part of my innreport.conf that I changed, if it helps any....

section default {
        libpath         "/var/news/lib";
        logpath         "/var/news/log";
        unknown         true;        # want unknown entries.
        max_unknown     50;          # max unknown entries to display.
        casesensitive   true;
        module          "innreport_inn";  # ${libpath}/${module}.pm
        unwanted_log    "unwanted.log";   # ${logpath}/${unwanted_log}
        text            true;
        html            true;
        graph           true;        # need 'html'
        archive         true;  # use false to keep only the latest HTML report.
        index           "index.html"; # name of the HTML index file.
      # html_dir        "/var/www/News/stats"; # default to pathhttp in inn.conf
        img_dir         "pics";      # images will go to ${html_dir}/${img_dir}
        cycle           none;        # use a number or 'none'.
        separator       ".";         # use a valid filename character.
        title           "Daily Usenet report";
      # title        "Daily Usenet report for <A HREF=\"/stat/\">news.y.z</A>";
      # footer          "Local contact: <A HREF=\"mailto:x@y.z\">x@y.z</A>";
      # html_body       "BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\"";
      # html_header_file "header.html";  # ${html_dir}/${html_header_file}
      # html_footer_file "footer.html";  # ${html_dir}/${html_footer_file}
        graph_width     550;         # graph width (in pixels)
        transparent     true;        # graph background transparent ?
        graph_fg        "#000000";   # graph foreground color.
        graph_bg        "#FFFFFF";   # graph background color.
};

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: innreport headaches
#39281
Author: Russ Allbery
Date: Thu, 19 Aug 1999 00:00
14 lines
1106 bytes
Brad Knowles <brad@shub-internet.org> writes:

> GD.pm is actually just a Perl interface to the gd library, which does
> all the actual work of creating the GIFs and/or PNGs, etc....  If you
> have GD.pm but not the gd library, you won't get any graphic output
> although you should see some errors when the program runs.

GD.pm comes with a complete copy of the gd library.  It is not just an
interface to your system gd library.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: innreport headaches
#39287
Author: Conrad Juleff
Date: Thu, 19 Aug 1999 00:00
16 lines
1522 bytes
i tried installed the gd library but it makes no difference. I still
dont get a full output in html. I see some people do have pages on the
web where this works so it must be possible.


In article <brad-1908991306480001@brad.techos.skynet.be>, Brad Knowles wrote:
>    GD.pm is actually just a Perl interface to the gd library, which does
>all the actual work of creating the GIFs and/or PNGs, etc....  If you have
>GD.pm but not the gd library, you won't get any graphic output although
>you should see some errors when the program runs.
>
>-- 
>Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
>    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: innreport headaches
#39289
Author: Brad Knowles
Date: Thu, 19 Aug 1999 00:00
16 lines
1393 bytes
In article <slrn7rnteo.av5.conradj@tom-jones.is.co.za>,
conradj@NOSPAM.is.co.za (Conrad Juleff) wrote:

> Someone mentioned in this group that you need the gd library but I dont
> see how that fits in.

    GD.pm is actually just a Perl interface to the gd library, which does
all the actual work of creating the GIFs and/or PNGs, etc....  If you have
GD.pm but not the gd library, you won't get any graphic output although
you should see some errors when the program runs.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads