<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.0.1">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#ffffff">
Hi Deon,<BR>
<BR>
I was running FOP 1.0 from updates-testing. A downgrade to 0.95 allowed me to build PDFs successfully. I found the following bug report against FOP:<BR>
<BR>
<A HREF="https://bugzilla.redhat.com/show_bug.cgi?id=689930">https://bugzilla.redhat.com/show_bug.cgi?id=689930</A><BR>
<BR>
So it looks like this is a known issue.<BR>
<BR>
Thanks for the help!<BR>
<BR>
Nathan<BR>
<BR>
<BR>
On Wed, 2011-05-04 at 17:11 -0400, Deon Lackey wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    This is a totally random idea and I could be wrong, but what version of FOP are you running? Can you upgrade? I have this vague memory of publican not pulling in updated versions of FOP that it requires, but I could be mistaken. I'm going to poke around bugzilla and see what I can find.<BR>
    <BR>
    Nathan Thomas wrote, on 05/04/2011 04:58 PM: <BR>
    <BLOCKQUOTE TYPE=CITE>
        Hi Deon,<BR>
        <BR>
        Thanks for the quick reply! Here's the full process when trying to build a pdf:<BR>
        <BR>
        Starting pdf<BR>
        Using XML::LibXSLT on /usr/share/publican/Common_Content/fedora/xsl/pdf.xsl<BR>
        Making portrait pages on A4 paper (210mmx297mm)<BR>
        04-May-2011 19:47:10 org.apache.fop.apps.FopFactoryConfigurator configure<BR>
        INFO: Default page-height set to: 240mm<BR>
        04-May-2011 19:47:10 org.apache.fop.apps.FopFactoryConfigurator configure<BR>
        INFO: Default page-width set to: 120mm<BR>
        04-May-2011 19:47:11 org.apache.fop.cli.Main startFOP<BR>
        SEVERE: Exception<BR>
        java.util.MissingResourceException: File event-model.xml not found<BR>
        at org.apache.fop.events.DefaultEventBroadcaster.loadModel(DefaultEventBroadcaster.java:83)<BR>
        at org.apache.fop.events.DefaultEventBroadcaster.getEventProducerModel(DefaultEventBroadcaster.java:114)<BR>
        at org.apache.fop.events.DefaultEventBroadcaster.createProxyFor(DefaultEventBroadcaster.java:142)<BR>
        at org.apache.fop.events.DefaultEventBroadcaster.getEventProducerFor(DefaultEventBroadcaster.java:129)<BR>
        at org.apache.fop.fonts.FontEventProducer$Provider.get(FontEventProducer.java:43)<BR>
        at org.apache.fop.fonts.FontEventAdapter.getEventProducer(FontEventAdapter.java:44)<BR>
        at org.apache.fop.fonts.FontEventAdapter.fontLoadingErrorAtAutoDetection(FontEventAdapter.java:56)<BR>
        at org.apache.fop.fonts.autodetect.FontInfoFinder.find(FontInfoFinder.java:262)<BR>
        at org.apache.fop.fonts.FontAdder.add(FontAdder.java:60)<BR>
        at org.apache.fop.fonts.FontDetector.detect(FontDetector.java:90)<BR>
        at org.apache.fop.fonts.FontInfoConfigurator.configure(FontInfoConfigurator.java:92)<BR>
        at org.apache.fop.render.PrintRendererConfigurator.buildFontList(PrintRendererConfigurator.java:106)<BR>
        at org.apache.fop.render.PrintRendererConfigurator.setupFontInfo(PrintRendererConfigurator.java:129)<BR>
        at org.apache.fop.render.intermediate.IFUtil.setupFonts(IFUtil.java:165)<BR>
        at org.apache.fop.render.intermediate.IFRenderer.setupFontInfo(IFRenderer.java:181)<BR>
        at org.apache.fop.area.RenderPagesModel.&lt;init&gt;(RenderPagesModel.java:73)<BR>
        at org.apache.fop.area.AreaTreeHandler.setupModel(AreaTreeHandler.java:130)<BR>
        at org.apache.fop.area.AreaTreeHandler.&lt;init&gt;(AreaTreeHandler.java:102)<BR>
        at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:359)<BR>
        at org.apache.fop.fo.FOTreeBuilder.&lt;init&gt;(FOTreeBuilder.java:105)<BR>
        at org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:101)<BR>
        at org.apache.fop.apps.Fop.&lt;init&gt;(Fop.java:79)<BR>
        at org.apache.fop.apps.FopFactory.newFop(FopFactory.java:271)<BR>
        at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:109)<BR>
        at org.apache.fop.cli.Main.startFOP(Main.java:174)<BR>
        at org.apache.fop.cli.Main.main(Main.java:204)<BR>
        Finished pdf<BR>
        <BR>
        If by tables you mean tables of content within the document itself, I don't think the document I'm trying to build contains any tables.<BR>
        <BR>
        The pdfs were building fine just a few days ago. Then I did a fresh install of Fedora to upgrade to F15 beta, re-cloned the git repository, then hit this problem.<BR>
        <BR>
        Best,<BR>
        Nathan<BR>
        <BR>
        On Wed, 2011-05-04 at 16:41 -0400, Deon Lackey wrote:<BR>
        <BLOCKQUOTE TYPE=CITE>
            That is really odd. I have only seen this error when an xi:include was missing from my directories (like, the file was in &quot;chapters/myfile.xml&quot;, but my link only said &quot;myfile.xml&quot;). However, other builds (like HTML) fail with the same error.<BR>
            <BR>
            Are there any other errors returned? Are you getting any errors with the HTML output that are non-fatal but apply to the same file? I have noticed that HTML is a lot more forgiving of problems with tables than PDF is. When I have PDF errors but no fatal HTML errors, it's usually table related.<BR>
            <BR>
            Good luck,<BR>
            Deon<BR>
            <BR>
            Nathan Thomas wrote, on 05/04/2011 03:33 PM: <BR>
            <BLOCKQUOTE TYPE=CITE>
                Hi,<BR>
                <BR>
                I've been trying to publish the Live Image Guide, but I can't get pdfs to build with Publican. I get the following error:<BR>
                <BR>
                SEVERE: Exception<BR>
                java.util.MissingResourceException: File event-model.xml not found<BR>
                <BR>
                then it continues to build, and finally says 'Finished pdf'. However, when I look in the 'publish' folder there is no pdf present (html is present and correct).<BR>
                <BR>
                I'm on a fresh F15 beta install: am I missing a package?<BR>
                <BR>
                Best wishes,<BR>
                Nathan<BR>
            </BLOCKQUOTE>
        </BLOCKQUOTE>
        <BR>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>