Ross
one thing that might be relevant: on the command line which I user to do
'forrest run' I have this:
-----------------------------------------------------------------
14:24:19.686 EVENT Starting Jetty/4.2.8
14:24:19.922 EVENT Started WebApplicationContext[/,Forrest]
14:24:21.465 EVENT Started SocketListener on 0.0.0.0:8888
14:24:21.465 EVENT Started [EMAIL PROTECTED]
14:28:11.965 EVENT ERROR (2006-02-01) 14:28.11:962 [access ]
(/samples/sample.pdf) PoolThread-4/CocoonServlet: Internal Cocoon
Problem
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
java.lang.RuntimeException: org.apache.fop.apps.FOPException: No
meaningful layout in block after many attempts. Infinite loop is
assumed. Processing halted.
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:293)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:683)
at
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:467)
at
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:224)
at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:141)
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:257)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:492)
------------------------------------------------------------------
On Wed, 2006-02-01 at 12:19, Ross Gardler wrote:
> Joao Miguel Ferreira wrote:
> > As you suggested, I created a new empty dir and executed:
> >
> > prompt#> forrest seed site
> >
> > And both the HTML and the PDF correctly display the image included in
> > samples.xml as you mentioned.
>
> OK, so this confirms the problem is with your source documents, not with
> Forrest itself. Now to figure out what that problem is...
>
> > Another thing: I'm using 'jpg' and 'gif' images... is this correct ?
>
> Yes, Forrest will handle both of these by default.
>
> > 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).
>
> However...
>
> Do the following:
>
> - cd $PROJECT_HOME
> - forrest run
> - http://localhost:8888/path/to/file/with/broken/image.pdf
>
> 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.
>
> Also, please answer these questions:
>
> - where is the image located?
> - what is the XDoc source that you are using
>
> Ross