lr_xml2chart err can't open EPS input file
Edward Quick
edwardquick at hotmail.com
Sun Dec 22 21:41:22 CET 2002
>On dim, 2002-12-22 at 09:02, Edward Quick wrote:
> > Hi,
> >
> > I'm trying to create a report with graphs but keep getting the error
>below
> > saying can't open EPS input file.
> >
> > smpd9$ lr_run lr_log2report -o xhtml -i postfix < little.log >
>postfix.tar
> > all postfix lr_tag-20021222133237-23041 lr_xml2chart err can't open EPS
> > input file at
> > /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/XML/Parser/Expat.pm
>line
> > 469
> > all postfix lr_tag-20021222133237-23041 lr_xml2chart err at line 35
> > all postfix lr_tag-20021222133237-23041 lr_xml2report err lr_xml2xhtml
> > failed
> > all postfix lr_tag-20021222133237-23041 lr_log2report err lr_xml2report
> > failed
> > all postfix lr_tag-20021222133237-23041 lr_log2report notice keeping
> >
>/home/u752359/tmp/lr_log2report.postfix.lr_tag-20021222133237-23041.report.xml
> > for debugging.
> >
> >
>
>What version of ploticus are you using? You need the latest 2.10
>version, there were problems with the previous version.
>
>If you have the 2.10 version installed, you can get more information
>on what is going on by removing the redirection to /dev/nul of the
>ploticus messages by modifying PloticusChartWriter. Near line 133,
>you'll find
>
> my $ploterrs = '2>/dev/null';
>
>Replace it by my $ploterrs = "";
>
>You'll see the ploticus messages which might give some information
>on what is going on.
>
>Another thing you might want to fix, is remove the line near 113 which
>says:
>
>$hq = 1;
>
>This is a bug in 1.2.1 which always force the use of gs for
>anti-aliasing purpose. (It is supposes to use gs only when
>LR_IMAGE_STYLE is set to 'hq'). By not using gs, we'll know if the
>problem is related to ploticus or gs.
>
>Kind regards
>
>
>Francis J. Lacoste
>
>--
>Francis J. Lacoste . . http://www.logreport.org
>/^LogReport$/ . . flacoste at logreport.org
><< signature.asc >>
Thanks Francis,
That helped me fix the problem. All I had to do was set the PLOTICUS_PREFABS
environment variable.
Cheers,
Ed.
mpd9$ lr_run lr_log2report -o xhtml -i postfix < little.log > postfix.tar
bogus message: pl error 4899: PLOTICUS_PREFABS environment var not found
(pathname of dir where prefab files reside)
bogus message:
bogus message: Usage: pl -prefab prefabname [parameters] ..or.. pl
scriptfile [options]
bogus message: Available output formats: ps eps svg svgz x11 png jpeg wbmp
FreeType2
bogus message:
bogus message: ploticus 2.10 (unix) Copyright 1998-2002 Steve Grubb,
ploticus.sourceforge.net
bogus message: pl error 4899: PLOTICUS_PREFABS environment var not found
(pathname of dir where prefab files reside)
bogus message:
bogus message: Usage: pl -prefab prefabname [parameters] ..or.. pl
scriptfile [options]
bogus message: Available output formats: ps eps svg svgz x11 png jpeg wbmp
FreeType2
bogus message:
bogus message: ploticus 2.10 (unix) Copyright 1998-2002 Steve Grubb,
ploticus.sourceforge.net
all postfix lr_tag-20021222201037-11450 lr_xml2report err lr_xml2xhtml
failed
all postfix lr_tag-20021222201037-11450 lr_log2report err lr_xml2report
failed
all postfix lr_tag-20021222201037-11450 lr_log2report notice keeping
/home/ftp/src/tmp/lr_log2report.postfix.lr_tag-20021222201037-11450.report.xml
for debugging.
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 3 months FREE*.
http://join.msn.com/?page=features/featuredemail&xAPID=42&PS=47575&PI=7324&DI=7474&SU=
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_addphotos_3mf
--
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