[jbosstools-issues] [JBoss JIRA] (TOOLSDOC-429) Jenkins issue: Couldn't find hyphenation pattern en

Nick Boldt (JIRA) jira-events at lists.jboss.org
Tue Nov 12 11:13:06 EST 2013


    [ https://issues.jboss.org/browse/TOOLSDOC-429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12922864#comment-12922864 ] 

Nick Boldt edited comment on TOOLSDOC-429 at 11/12/13 11:12 AM:
----------------------------------------------------------------

I notice that you have *en-US/Common_Content*/Conventions.xml ( https://github.com/jbosstools/jbosstools-documentation/blob/master/docs/User_Guide/JBoss_Tools_User_Guide/en-US/Common_Content/Conventions.xml ) but the build is searching for that file here:

org.xml.sax.SAXParseException: Include operation failed, reverting to fallback. Resource error reading file as XML (href='Conventions.xml'). Reason: /qa/services/hudson/hudson_workspace/workspace/jbosstools-docs-nightly/jbosstools-documentation/docs/User_Guide/JBoss_Tools_User_Guide/*en-US*/Conventions.xml (No such file or directory)

Could that be why the images are not being found?

I see image files here:

./docs/User_Guide/JBoss_Tools_User_Guide/en-US/*images*/3963.png

Yet the build is looking for them in *images/images*:

SEVERE: Image not available. URI: file:/qa/services/hudson/hudson_workspace/workspace/jbosstools-docs-nightly/jbosstools-documentation/docs/User_Guide/JBoss_Tools_User_Guide/target/docbook/staging/images/images/3963.png. 

                
      was (Author: nickboldt):
    I notice that you have https://github.com/jbosstools/jbosstools-documentation/blob/master/docs/User_Guide/JBoss_Tools_User_Guide/*en-US/Common_Content*/Conventions.xml but the build is searching for that file here:

org.xml.sax.SAXParseException: Include operation failed, reverting to fallback. Resource error reading file as XML (href='Conventions.xml'). Reason: /qa/services/hudson/hudson_workspace/workspace/jbosstools-docs-nightly/jbosstools-documentation/docs/User_Guide/JBoss_Tools_User_Guide/*en-US*/Conventions.xml (No such file or directory)

Could that be why the images are not being found?

I see image files here:

./docs/User_Guide/JBoss_Tools_User_Guide/en-US/*images*/3963.png

Yet the build is looking for them in *images/images*:

SEVERE: Image not available. URI: file:/qa/services/hudson/hudson_workspace/workspace/jbosstools-docs-nightly/jbosstools-documentation/docs/User_Guide/JBoss_Tools_User_Guide/target/docbook/staging/images/images/3963.png. 

                  
> Jenkins issue: Couldn't find hyphenation pattern en
> ---------------------------------------------------
>
>                 Key: TOOLSDOC-429
>                 URL: https://issues.jboss.org/browse/TOOLSDOC-429
>             Project: Documentation for JBoss Tools and Developer Studio
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: General documentation issues
>    Affects Versions: 4.1.1
>            Reporter: Michelle Murray
>            Assignee: Michelle Murray
>
> Jenkins previously built this book (29 Oct) without issue but for some reason can't build it now (https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-docs-nightly/975/consoleFull). I've changed nothing that should result in this error and the book builds fine locally.
> Note, recoverable error info about missing Conventions file is expected, occurs locally and is desired. Warnings about font are new but I guess not killer. Error about missing hyphenation pattern appears to be the crucial bit. 
> {noformat}
> 106/114 KB   
> 109/114 KB   
> 113/114 KB   
> 114/114 KB   
>              
> Downloaded: https://repository.jboss.org/nexus/content/groups/developer/org/apache/maven/maven-project/2.0.8/maven-project-2.0.8.jar (114 KB at 135.3 KB/sec)
> [INFO] Expanding: /qa/services/hudson/hudson_workspace/workspace/jbosstools-docs-nightly/.repository/org/jboss/pressgang/pressgang-jdocbook-style/2.0.0/pressgang-jdocbook-style-2.0.0.jdocbook-style into /qa/services/hudson/hudson_workspace/workspace/jbosstools-docs-nightly/jbosstools-documentation/docs/User_Guide/JBoss_Tools_User_Guide/target/docbook/staging
> [INFO] 
> [INFO] --- maven-jdocbook-plugin:2.3.5:generate (default-generate) @ jboss-tools-user-guide-en-US ---
> 27 [main] INFO org.jboss.jdocbook.render.RendererImpl - Starting rendering en-US/pdf
> redirecting output to file [/qa/services/hudson/hudson_workspace/workspace/jbosstools-docs-nightly/jbosstools-documentation/docs/User_Guide/JBoss_Tools_User_Guide/target/docbook/work/log/console-en-US-pdf.log]
> Recoverable error
> org.xml.sax.SAXParseException: Include operation failed, reverting to fallback. Resource error reading file as XML (href='Conventions.xml'). Reason: /qa/services/hudson/hudson_workspace/workspace/jbosstools-docs-nightly/jbosstools-documentation/docs/User_Guide/JBoss_Tools_User_Guide/en-US/Conventions.xml (No such file or directory)
> Nov 11, 2013 12:50:32 AM org.apache.fop.events.LoggingEventListener processEvent
> WARNING: Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400".
> Nov 11, 2013 12:50:32 AM org.apache.fop.events.LoggingEventListener processEvent
> WARNING: Font "ZapfDingbats,normal,700" not found. Substituting with "ZapfDingbats,normal,400".
> Nov 11, 2013 12:50:32 AM org.apache.fop.hyphenation.Hyphenator getHyphenationTree
> SEVERE: Couldn't find hyphenation pattern en
> Nov 11, 2013 12:50:36 AM org.apache.fop.fo.properties.CommonHyphenation getHyphChar
> WARNING: Substituted specified hyphenation character (0x25ba) with 0x2d because the font doesn't have the specified hyphenation character: monospace,normal,400
> Nov 11, 2013 12:50:36 AM org.apache.fop.fo.properties.CommonHyphenation getHyphChar
> WARNING: Substituted specified hyphenation character (0x25ba) with 0x2d because the font doesn't have the specified hyphenation character: monospace,normal,400
> Nov 11, 2013 12:50:38 AM org.apache.fop.events.LoggingEventListener processEvent
> SEVERE: Image not available. URI: file:/qa/services/hudson/hudson_workspace/workspace/jbosstools-docs-nightly/jbosstools-documentation/docs/User_Guide/JBoss_Tools_User_Guide/target/docbook/staging/images/images/3989.png. Reason: org.apache.xmlgraphics.image.loader.ImageException: I/O error while extracting image metadata: Error reading PNG metadata (See position -1:-1)
> Nov 11, 2013 12:50:38 AM org.apache.fop.events.LoggingEventListener processEvent
> SEVERE: Image not available. URI: file:/qa/services/hudson/hudson_workspace/workspace/jbosstools-docs-nightly/jbosstools-documentation/docs/User_Guide/JBoss_Tools_User_Guide/target/docbook/staging/images/images/3963.png. Reason: org.apache.xmlgraphics.image.loader.ImageException: I/O error while extracting image metadata: Error reading PNG metadata (See position -1:-1)
> {noformat}
> Only potential solution I have found is here but no idea how to enact, and can't see why this would suddenly be an issue now when it wasn't two weeks ago:
> http://macrotoneconsulting.co.uk/Macrotone-Blogs/experiences-using-docbook-xml.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list