AW: AW: AW: Logreport from Sendmail sort by sender and recipients

Nico Kretschmar kretschmar at sag-gruessing.de
Fri Dec 13 10:05:19 CET 2002


Hi Francis,


> -----Ursprüngliche Nachricht-----
> Von: Francis J. Lacoste [mailto:flacoste at logreport.org]
> Gesendet: Donnerstag, 12. Dezember 2002 17:40
> An: Nico Kretschmar
> Cc: LogReport Team
> Betreff: Re: AW: AW: Logreport from Sendmail sort by sender
> and recipients
>
>
> Hi Nico,
>
> Unless you need to communicate confidential information, it would
> be better if you use the questions at logreport.org mailing list for
> such questions. These kind of questions may be relevant to other users
> as well. (You don't need to subscribe to post on the mailing
> list, btw).

I do ...

> > 1. when I try to use 2 or higher filter-spec-elements with <and> ...
> > </and> then comes error unknown element: and
>
> Are you using <and> or <lire:and>? For the <and> element to be
> recognized as a <and> element from a report specification, it needs to
> be associated with the http://www.logreport.org/LRSML/ namespace. We
> usually associate this with the lire prefix in the first element:
>
> <lire:report-spec lire:xmlns="http://www.logreport.org/LRSML" ....

It's works fine so, but I'm only reading the manual, in the the section
filter-spec has been displayed <and> .

> > 2. when reports width higher 74 character and i doesn't
> like carriage
> > return on this place, what can in do ?
>
> You mean you don't like the wrapping done by the ASCII
> formatter? Well,
> there isn't much you can do except patch the
> Lire::ReportParser::AscciWriter module so that it takes a parameter to
> crop cells instead of wrapping the values.
>
> Could you show us an example of how you would like things to
> look like?

My report html/pdf - generator tells me everyone:

lr_xml2chart warning failed to generate chart deliveries-by-period
(histogram): Horizontal size too small

What can i do ?

> No, you don't need to set the environement, lr_run takes care of that.
>
> Things you might want to check:
>
> 1) Check that the following variables have sane value in
> <sysconfdir>/lire/defaults :
>
> LR_DBK_XML_DTD
> LR_DBK_HTML_XSL

Has been done yet... Works fine



Sorry, now i'm have another 2 problems...

1. at generate html-reports with standard superservice email.cfg:

all all lr_tag-20021213095511-27785 lr_xslt info creating XML catalog
/daten/users/kretschmar/tmp/lr_xslt-lr_tag-20021213095511-27785-27908-ca
talog.xml
all all lr_tag-20021213095511-27785 lr_xslt info running xsltproc with
--nonet /usr/share/sgml/docbook/docbook-xsl-1.58.1/html/chunk.xsl
/daten/users/kretschmar/tmp/lr_xml2html.all.27803.dbx
all all lr_tag-20021213095511-27785 lr_xslt info /usr/bin/xsltproc says
Error xpath.c:8021: Undefined namespace prefix
all all lr_tag-20021213095511-27785 lr_xslt info /usr/bin/xsltproc says
xmlXPathEval: evaluation failed

2. at generate html-reports with custom mail.cfg

all all lr_tag-20021213100234-28173 lr_xml2chart info started with -o
/daten/users/kretschmar/tmp/lr_xml2html.28191/report
all all lr_tag-20021213100234-28173 lr_xml2chart info will generate
charts for each subreport with a charttype
all all lr_tag-20021213100234-28173 lr_xml2chart err Can't call method
"name" on an undefined value at
/usr/local/share/perl5/Lire/ReportParser/ChartWriter.pm line 127.
all all lr_tag-20021213100234-28173 lr_xml2chart err at line 24
all all lr_tag-20021213100234-28173 lr_xml2chart info memory stats:
vsize=10152K rss=8284K majflt=512
all all lr_tag-20021213100234-28173 lr_xml2chart info elapsed time in
seconds real=1 user=0.87 system=0.05
all all lr_tag-20021213100234-28173 lr_xml2chart info stopped
all all lr_tag-20021213100234-28173 lr_xml2report err lr_xml2html failed


I'm newbie in XML-Code, and i cann't find errors in code ...

Bye

Nico



-- 
To UNSUBSCRIBE, email to questions-request at logreport.org with a subject of 
"unsubscribe". Trouble? Send an email with subject "help" to 
questions-request at logreport.org



More information about the Questions mailing list