Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 28073 invoked from network); 15 Apr 2010 13:44:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Apr 2010 13:44:08 -0000 Received: (qmail 90315 invoked by uid 500); 15 Apr 2010 13:44:08 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 90284 invoked by uid 500); 15 Apr 2010 13:44:08 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 90276 invoked by uid 500); 15 Apr 2010 13:44:08 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 90273 invoked by uid 99); 15 Apr 2010 13:44:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Apr 2010 13:44:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Apr 2010 13:44:05 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3FDhiMp020826 for ; Thu, 15 Apr 2010 09:43:44 -0400 (EDT) Message-ID: <22728166.13411271339024241.JavaMail.jira@thor> Date: Thu, 15 Apr 2010 09:43:44 -0400 (EDT) From: "Hadrian Zbarcea (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-1898) Cannot generate the PDF manual In-Reply-To: <980912655.1249945595742.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ 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 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