camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadrian Zbarcea (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-1898) Cannot generate the PDF manual
Date Thu, 15 Apr 2010 13:43:44 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-1898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58874#action_58874
] 

Hadrian Zbarcea commented on CAMEL-1898:
----------------------------------------

I think there is a trickier issue related to some headers, I suspect ContentLength. It sometimes
happens with wget as well. I'll need to find some time to look into this, hopefully this weekend.

> Cannot generate the PDF manual
> ------------------------------
>
>                 Key: CAMEL-1898
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1898
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 2.0.0
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.3.0
>
>         Attachments: Picture 1.png
>
>
> While building the camel-manual we get the log below:
> {code}
> [INFO] About to execute PrinceXml (see www.princexml.com)
> [INFO]  prince /w1/apache/camel/trunk/tooling/camel-manual/target/site/manual/camel-manual-2.0-SNAPSHOT.html
/w1/apache/camel/trunk/tooling/camel-manual/target/site/manual/camel-manual-2.0-SNAPSHOT.pdf
> [INFO] [prince] prince: /w1/apache/camel/trunk/tooling/camel-manual/target/site/manual/camel-manual-2.0-SNAPSHOT.html:36888:
error: Unexpected end tag : div
> [INFO] [prince] prince: /w1/apache/camel/trunk/tooling/camel-manual/target/site/manual/camel-manual-2.0-SNAPSHOT.html:36890:
error: Unexpected end tag : div
> [INFO] [prince] prince: /w1/apache/camel/trunk/tooling/camel-manual/target/site/manual/camel-manual-2.0-SNAPSHOT.html:36903:
error: Unexpected end tag : body
> [INFO] [prince] prince: warning: bad argument
> [INFO] [prince] prince: warning: bad argument
> [INFO] [prince] prince: warning: bad argument
> [INFO] [prince] prince: warning: no glyphs for character U+006E, fallback to '?'
> [INFO] [prince] Uncaught Mercury exception:
> [INFO] [prince] Software Error: no fallback glyph for character U+006E
> [ERROR] PDF Conversion failed due to return code: 1
> {code}
> The first errors are because of the html being improperly generated by the maven-html-to-pdf.
 The "prince: warning: bad argument" interestingly seem to be generated by prince having to
create its own font, which it cannot do, for cases where the requested font is not available,
like for instance a <b> bold tag with a Courier font.
> We know that the pdf was not generated in the 2.0-M3 release either.  The cause of this
errors popping up appears to be the wiki changes at apache. The fact that the book-in-one-page
is that big does not help either.  I quickly tried with the deployed version at http://camel.apache.org/book-in-one-page.html
and I get a very similar result unfortunately, so there's no quick fix or workaround it seems.
> I will try to resolve this asap.  Any help/ideas I could get are highly appreciated.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message