hydralix / docbkx-tools

Automatically exported from code.google.com/p/docbkx-tools
0 stars 0 forks source link

Embedded error: Result too large #53

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Sometimes I've got this issue generating some pdf documents with the 
docbkx-maven-plugin.
[INFO] Failed to convert to PDF
Embedded error: Result too large

What steps will reproduce the problem?
1. Call the generate-pdf command (runnning mvn install) 
2. After some time it starts to fail with this error
3. Calling mvn clean install reset the problem

What is the expected output? What do you see instead?
I'm not able to reproduce the problem each time, but I guess this information 
may be useful for other having the same issue. Call mvn clean.

What version of the product are you using? On what operating system?
2.0.7

Please provide any additional information below.

If I can reproduce it systematically I'll drop more informations.
Here is the plugin configuration used.

Here is the configuraiton of the plugin we're using:

         <!-- Dockbx plugin that generates content -->
         <plugin>
           <groupId>com.agilejava.docbkx</groupId>
           <artifactId>docbkx-maven-plugin</artifactId>
           <version>2.0.7</version>
           <executions>
             <execution>
               <goals>
                 <goal>generate-pdf</goal>
               </goals>
               <phase>package</phase>
               <configuration>
                 <sourceDirectory>${wikbook.target}/src</sourceDirectory>
                 <targetDirectory>${wikbook.target}/output</targetDirectory>

                 <!-- HTML -->
                 <htmlCustomization>${wikbook.target}/src/resources/xsl/html.xsl</htmlCustomization>
                 <htmlStylesheet>css/html.css</htmlStylesheet>

                 <!-- PDF -->
                 <foCustomization>${wikbook.target}/src/resources/xsl/fopdf.xsl</foCustomization>
                 <imgSrcPath>${wikbook.source}/</imgSrcPath>
                 <admonGraphicsPath>${wikbook.target}/src/resources/images/admons/</admonGraphicsPath>

                 <!-- Highlight source code -->
                 <highlightSource>1</highlightSource>

                 <!--
                   |  See http://www.sagehill.net/docbookxsl/AnnotateListing.html
                   |  Callouts on imported text
                   -->
                 <useExtensions>1</useExtensions>
                 <calloutsExtension>1</calloutsExtension>

               </configuration>
             </execution>
           </executions>
           <dependencies>
             <dependency>
               <groupId>org.docbook</groupId>
               <artifactId>docbook-xml</artifactId>
               <version>4.4</version>
               <scope>runtime</scope>
             </dependency>
           </dependencies>
         </plugin>

Original issue reported on code.google.com by dbaeli on 7 Jul 2010 at 10:08

GoogleCodeExporter commented 8 years ago
Hi,

I don't know how to help on this point as it is not much predictable as you 
mention, could you give it a try with latest docbkx-tools as the version of FOP 
is different.

Regards,
Cedric,

Original comment by MimilO...@gmail.com on 8 Jul 2010 at 9:36

GoogleCodeExporter commented 8 years ago
It didn't occured again, as I'm using mvn clean install more often.
I'll give it a try if the problem occurs more often.
Thanks for the hint.

Original comment by dbaeli on 8 Jul 2010 at 11:44

GoogleCodeExporter commented 8 years ago

Original comment by MimilO...@gmail.com on 10 Aug 2010 at 8:33