Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 6554 invoked from network); 1 Feb 2006 15:34:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Feb 2006 15:34:37 -0000 Received: (qmail 99960 invoked by uid 500); 1 Feb 2006 15:34:35 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 99924 invoked by uid 500); 1 Feb 2006 15:34:35 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@forrest.apache.org List-Id: Delivered-To: mailing list user@forrest.apache.org Received: (qmail 99913 invoked by uid 99); 1 Feb 2006 15:34:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 07:34:35 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.13.32.100] (HELO estgmail.estg.ipvc.pt) (212.13.32.100) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 07:34:33 -0800 Received: from sandoval ([10.0.1.224] RDNS failed) by estgmail.estg.ipvc.pt with Microsoft SMTPSVC(6.0.3790.1830); Wed, 1 Feb 2006 15:29:25 +0000 Subject: Re: pdf generation breaks From: Joao Miguel Ferreira To: user@forrest.apache.org In-Reply-To: <43E0A747.2060004@apache.org> References: <1138790962.2352.14.camel@sandoval> <20060201112654.GA10204@igg.indexgeo.com.au> <1138794520.2352.39.camel@sandoval> <43E0A747.2060004@apache.org> Content-Type: text/plain Organization: Escola Superior de Tecnologia e Gestao de Viana do Castelo Message-Id: <1138807658.2352.182.camel@sandoval> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5-4mdk Date: Wed, 01 Feb 2006 15:27:39 +0000 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Feb 2006 15:29:25.0484 (UTC) FILETIME=[488912C0:01C62744] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ross, thanks for the instructions. please read on bellow > > Another thing: I'm using 'jpg' and 'gif' images... is this correct ? > > Yes, Forrest will handle both of these by default. > ok > > By the way, my version: > > *=======================================================* > > | Forrest Site Builder | > > | 0.5.1 | > > | $Date: 2003/10/05 14:42:56 $ | > > *=======================================================* > > This is a very old version of Forrest, it would make sense for you to > upgrade to the most recent version as, of course, it is more stable and > you will find it much easier to get complete support here on the user > lists. Most of us can't remember issues from 2-3 years ago (and may devs > weren't here then). I'll do that... can I trust that new versions of Forrest are compatible with my v0.5.1//document-v12.dtd documents ??? > > However... > > Do the following: > > - cd $PROJECT_HOME > - forrest run > - http://localhost:8888/path/to/file/with/broken/image.pdf I get something similar to the command-line error, but in HTML. Here goes (copy, paste from browser): ------------------------------------------------ Internal Server Error Message: null Description: No details available. Sender: org.apache.cocoon.servlet.CocoonServlet Source: Cocoon Servlet Request URI samples/sample.pdf cause org.apache.fop.apps.FOPException: No meaningful layout in block after many attempts. Infinite loop is assumed. Processing halted. request-uri /samples/sample.pdf Apache Cocoon 2.1.2 --------------------------------------------- > > Now, inspect the logs that have been recorded in > $PROJECT_HOME/build/webapp/WEB-INF/logs/ > > In particular you are interested in error.log an core.log > > Post any parts that look like they may be relevant to the generation of > your image in the PDF file. ok, I found them... dispite I know somethings about Java the info in those files for me is Chinese !! Sorry. There are references to the same problem (as reported on the command line) like this: ---------------------------------------------------- org.apache.fop.apps.FOPException: No meaningful layout in block after many attempts. Infinite loop is assumed. Processing halted. at org.apache.fop.fo.flow.Block.layout(Block.java:140) at org.apache.fop.fo.flow.Block.layout(Block.java:257) at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154) at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110) at org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:400) at org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338) at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223) at org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:147) -------------------------------------------------- and this: ----------------------------------------------------- WARN (2006-02-01) 14:28.11:961 [core.manager] (/samples/sample.pdf) PoolThread-4/ExcaliburComponentManager: Attempted to release a org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector but its handler could not be located. WARN (2006-02-01) 14:28.11:961 [core.manager] (/samples/sample.pdf) PoolThread-4/ExcaliburComponentManager: Attempted to release a org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector but its handler could not be located. ----------------------------------------- should I attach the two files ?? > > Also, please answer these questions: > > - where is the image located? I put all my images in $PROJECT_HOME/src/documentation/resources/images/ > - what is the XDoc source that you are using Do you mean the DTD ? I don't understand this one ? > thx jmf > Ross