<div dir="ltr">Our project uses DocBook source for our documentation.  Some time ago we switched to Publican to produce the final PDF files.<div><br></div><div>I got things working with Publican 2.8.2 and have been stuck there because, although there were some problems, I could at least produce the final PDF file.</div>
<div><br></div><div>Today I made the effort to upgrade to Publican 3.1.5 so that hopefully I can move on to 3.2.0 when an install rpm is available.</div><div><br></div><div>I installed wkhtmltopdf from a link Jeff provided last month:</div>
<div><br></div><div><a href="http://jfearn.fedorapeople.org/wkhtmltopdf/" target="_blank" style="font-family:arial,sans-serif;font-size:16px">http://jfearn.fedorapeople.<u></u>org/wkhtmltopdf/</a></div><div><br></div><div>
where he also said: <span style="font-family:arial,sans-serif;font-size:16px">All of these changes are compatible with Publican 3.1.5 </span><br><div><br></div><div style>The two main problems I have, Jeff suggested that wkhtmltopdf would fix.</div>
<div style><br></div><div style>Now with 3.1.5 I have 2 problems:</div><div style><br></div><div style>1.) While building I start getting these errors for every single page.  It starts with page 511:</div><div style><br></div>
<div style>file:///usr/share/publican/book_templates/header.html?page=511<br></div><div style><br></div><div><div>Error: Failed loading page file:///usr/share/publican/book_templates/header.html?page=1726&section=Revision History&title=ooRexx Documentation 4.2.3 ooDialog Reference 4.2.3&subsection=X&frompage=1&subsubsection=A.9.10. setCursorPos&topage=1723&doctitle=ooRexx Documentation 4.2.3 ooDialog Reference 4.2.3&webpage=tmp/en-US/html-pdf/index.html&time=10:09 AM&date=8/8/13 (sometimes it will work just to ignore this error with --load-error-handling ignore)</div>
</div><div><br></div></div><div style>I get one error for both header.html and footer.html.  The files do exist at the location and it would seem that the first 500 pages things work</div><div style><br></div><div style>What does the error message mean?</div>
<div style><br></div><div style>2.) Then things just abend:</div><div style><br></div><div style><div>Error: Failed loading page file:///usr/share/publican/book_templates/footer.html?page=1726&section=Revision History&title=ooRexx Documentation 4.2.3 ooDialog Reference 4.2.3&subsection=X&frompage=1&subsubsection=A.9.10. setCursorPos&topage=1723&doctitle=ooRexx Documentation 4.2.3 ooDialog Reference 4.2.3&webpage=tmp/en-US/html-pdf/index.html&time=10:09 AM&date=8/8/13 (sometimes it will work just to ignore this error with --load-error-handling ignore)</div>
<div>QPaintDevice: Cannot destroy paint device that is being painted</div><div><br></div><div>wkhtmltopdf died, PDF generation failed. Check log for details.</div><div> at /usr/bin/publican line 921</div><div><br></div><div style>
What log, where?</div><div style><br></div><div style>This book is, admittedly, a little large.  Can wkhtmltopdf just not handle a large book?</div><div style><br></div><div style>Any ideas or help?</div><div style><br></div>
<div style>Thanks </div><div style><br></div><div style>--</div><div style>Mark Miesfeld</div></div></div>