Lire 1.2.1 cannot generate PDF

Francis J. Lacoste flacoste at logreport.org
Thu Apr 24 02:37:18 CEST 2003


On mar, 2003-04-22 at 18:04, Michael Grau wrote:
> Michael Grau wrote:
> > I have two SuSE 8.0 machines. On one I have installed Lire 1.2
> > and have it generating pdf reports
> > 
> > On another identical machine with Lire 1.2.1 I get the below errors
> > when trying a pdf. The same openjade,tex, etc. packages are on both
> > machines with Lire configured the same on both. Ideas?
> 
> To follow up, I installed Lire 1.2 on the same machine that had been
> failing with 1.2.1 and it also fails to generate pdf's so something
> must be different, but I cannot discover what.
> 

>From the log you posted :

all all lr_tag-20030422145559-7772 lr_xml2pdf info converting
/gnat/lire/tmp/lr_xml2pdf.8018/report.tex to
/gnat/lire/tmp/lr_xml2pdf.8018/report.pdf...
all all lr_tag-20030422145559-7772 lr_xml2pdf err pdfjadetex failed
all all lr_tag-20030422145559-7772 lr_xml2pdf err /usr/bin/pdfjadetex
said '! LaTeX Error: Missing begin{document}.'
all all lr_tag-20030422145559-7772 lr_xml2pdf err /usr/bin/pdfjadetex
said '! I can't find file `report.aux'.'
all all lr_tag-20030422145559-7772 lr_xml2pdf err /usr/bin/pdfjadetex
said '! Emergency stop.'
all all lr_tag-20030422145559-7772 lr_xml2pdf err /usr/bin/pdfjadetex
said '!  ==> Fatal error occurred, the output PDF file not finished!'

It seems that the report.tex file which is created isn't correct. Which
points to a problem with jade/openjade or the DSSSL DocBook stylesheets.
(Might also be a problem with the DocBook DTD. Is there also
a problem in generating an HTML report?)

You say that the version installed between the two machines 
are the same, you could also check that the Lire settings related to
these are the same between the two installation. 

In particular check the following settings (in
<sysconfdir>/lire/defaults) :

LR_DBK_XML_DTD
LR_JADE
LR_DBK_PRINT_STYLESHEET

You might also run the jade command set in each variables with the -v
option just to make sure they are actually the same.

Another step would be to generate the PDF "manually". To do this, you 
would generate a DocBook XML report:

lr_xml2report -o docbookx report.xml > report.dbx (From an XML report).

lr_log2report -o docbookx <service> < log_file > report.dbx (From a log
file)

You would then use jade and pdfjadetex to convert the DocBook XML
to PDF, you would then have a better idea of what is failing.

(If you have it, you could also try to format the DocBook XML report
by using the xmlto command which is included in some distribution)

Hope this helps

Francis J. Lacoste

-- 
Francis J. Lacoste              . .           http://www.logreport.org
/^LogReport$/               . .               flacoste at logreport.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.logreport.org/pipermail/questions/attachments/20030423/367ae129/attachment.bin 


More information about the Questions mailing list