daisy / pipeline-scripts

!! NOTE: This project is now part of the pipeline-modules project !! | Script modules for the default DAISY Pipeline 2 distribution.
GNU Lesser General Public License v3.0
6 stars 5 forks source link

Renaming #29

Closed rdeltour closed 10 years ago

josteinaj commented 10 years ago

Using the scripts/scripts-utils/common-utils/mod-braille "renaming" branches, and the most recent master branches from all other repositories, I got these results using the sample books:

daisy202-to-epub3: success daisy3-to-epub3: success dtbook-to-epub3: success dtbook-to-zedai: success zedai-to-epub3: success zedai-to-html: success dtbook-validator: validation failed (script success) nimas-fileset-validator: validation failed (script success)

dtbook-to-html: failed Cannot import: http://www.daisy.org/pipeline/modules/html-utils/html-store.xpl

dtbook-to-pef: failed Cannot import: http://www.daisy.org/pipeline/modules/braille/liblouis-calabash/library.xpl

zedai-to-pef: failed Cannot import: http://www.daisy.org/pipeline/modules/braille/liblouis-calabash/library.xpl

html-to-epub3: failed

2013-12-02 10:21:59,895 [INFO ] org.daisy.pipeline.job.Job - Changing job status to: RUNNING
2013-12-02 10:21:59,896 [DEBUG] org.daisy.pipeline.push.Poster - Status changed bbb2275c-d788-4678-a6d6-6a157e5f3ab4->RUNNING
2013-12-02 10:21:59,897 [DEBUG] o.d.p.p.jobs.PersistentJobContext - load script XProcScript[name=HTML to EPUB3]
2013-12-02 10:21:59,897 [DEBUG] o.d.p.p.jobs.PersistentJobContext - load script XProcScript[name=HTML to EPUB3]
2013-12-02 10:21:59,898 [DEBUG] o.d.p.p.jobs.PersistentJobContext - Post loading jobcontext
2013-12-02 10:21:59,898 [DEBUG] o.d.pipeline.job.JobContextFactory - configuring object org.daisy.pipeline.persistence.jobs.PersistentJobContext@21df6b4c
2013-12-02 10:21:59,898 [DEBUG] o.d.pipeline.job.JobContextFactory - configuring object org.daisy.pipeline.persistence.jobs.PersistentJobContext@21df6b4c
2013-12-02 10:21:59,899 [INFO ] o.d.p.persistence.jobs.PersistentJob - Changing Status:RUNNING
2013-12-02 10:21:59,899 [DEBUG] o.d.p.persistence.jobs.PersistentJob - Updating object
2013-12-02 10:21:59,900 [DEBUG] o.d.p.p.jobs.PersistentJobContext - load script XProcScript[name=HTML to EPUB3]
2013-12-02 10:21:59,902 [DEBUG] o.d.p.p.jobs.PersistentJobContext - load script XProcScript[name=HTML to EPUB3]
2013-12-02 10:21:59,902 [DEBUG] o.d.p.p.jobs.PersistentJobContext - Post loading jobcontext
2013-12-02 10:21:59,902 [DEBUG] o.d.pipeline.job.JobContextFactory - configuring object org.daisy.pipeline.persistence.jobs.PersistentJobContext@3ebc83f6
2013-12-02 10:21:59,902 [DEBUG] o.d.p.p.jobs.PersistentJobContext - load script XProcScript[name=HTML to EPUB3]
2013-12-02 10:21:59,913 [DEBUG] o.d.c.x.c.DynamicXProcConfigurationFactory - Reading Calabash configuration from file:/home/jostein/pipeline-assembly/target/pipeline2-1.6-webui-desktop/daisy-pipeline/etc/config-calabash.xml
2013-12-02 10:22:00,772 [ERROR] org.daisy.pipeline.job.Job - job finished with error state
java.lang.NullPointerException: null
    at org.daisy.pipeline.modules.resolver.ModuleUriResolver.resolveEntity(ModuleUriResolver.java:88) ~[na:na]
    at com.sun.org.apache.xerces.internal.util.EntityResolverWrapper.resolveEntity(EntityResolverWrapper.java:110) ~[na:1.7.0_25]
    at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.resolveEntityAsPerStax(XMLEntityManager.java:974) ~[na:1.7.0_25]
    at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1192) ~[na:1.7.0_25]
    at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.startPE(XMLDTDScannerImpl.java:699) ~[na:1.7.0_25]
    at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.skipSeparator(XMLDTDScannerImpl.java:2046) ~[na:1.7.0_25]
    at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.scanDecls(XMLDTDScannerImpl.java:2009) ~[na:1.7.0_25]
    at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.scanDTDExternalSubset(XMLDTDScannerImpl.java:297) ~[na:1.7.0_25]
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1162) ~[na:1.7.0_25]
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1049) ~[na:1.7.0_25]
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:962) ~[na:1.7.0_25]
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:607) ~[na:1.7.0_25]
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116) ~[na:1.7.0_25]
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:489) ~[na:1.7.0_25]
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:835) ~[na:1.7.0_25]
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) ~[na:1.7.0_25]
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123) ~[na:1.7.0_25]
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210) ~[na:1.7.0_25]
    at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:405) ~[na:na]
    at net.sf.saxon.event.Sender.send(Sender.java:152) ~[na:na]
    at net.sf.saxon.Configuration.buildDocument(Configuration.java:3516) ~[na:na]
    at net.sf.saxon.s9api.DocumentBuilder.build(DocumentBuilder.java:367) ~[na:na]
    at org.daisy.common.xproc.calabash.CalabashXProcPipeline.asXdmNode(CalabashXProcPipeline.java:261) ~[na:na]
    at org.daisy.common.xproc.calabash.CalabashXProcPipeline.run(CalabashXProcPipeline.java:215) ~[na:na]
    at org.daisy.pipeline.job.Job.run(Job.java:191) ~[na:na]
    at org.daisy.pipeline.job.DefaultJobExecutionService$1.run(DefaultJobExecutionService.java:65) ~[na:na]
    at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25]
2013-12-02 10:22:00,773 [INFO ] org.daisy.pipeline.job.Job - Changing job status to: ERROR
2013-12-02 10:22:00,774 [DEBUG] org.daisy.pipeline.push.Poster - Status changed bbb2275c-d788-4678-a6d6-6a157e5f3ab4->ERROR
2013-12-02 10:22:00,776 [DEBUG] o.d.p.p.jobs.PersistentJobContext - load script XProcScript[name=HTML to EPUB3]
2013-12-02 10:22:00,778 [DEBUG] o.d.p.p.jobs.PersistentJobContext - load script XProcScript[name=HTML to EPUB3]
2013-12-02 10:22:00,778 [DEBUG] o.d.p.p.jobs.PersistentJobContext - Post loading jobcontext
2013-12-02 10:22:00,779 [DEBUG] o.d.pipeline.job.JobContextFactory - configuring object org.daisy.pipeline.persistence.jobs.PersistentJobContext@7e01f7dc
2013-12-02 10:22:00,779 [DEBUG] o.d.pipeline.job.JobContextFactory - configuring object org.daisy.pipeline.persistence.jobs.PersistentJobContext@7e01f7dc
2013-12-02 10:22:00,779 [INFO ] o.d.p.persistence.jobs.PersistentJob - Changing Status:ERROR
2013-12-02 10:22:00,779 [DEBUG] o.d.p.persistence.jobs.PersistentJob - Updating object
2013-12-02 10:22:00,780 [DEBUG] o.d.p.p.jobs.PersistentJobContext - load script XProcScript[name=HTML to EPUB3]
2013-12-02 10:22:00,780 [DEBUG] o.d.p.p.jobs.PersistentJobContext - load script XProcScript[name=HTML to EPUB3]
2013-12-02 10:22:00,780 [DEBUG] o.d.p.p.jobs.PersistentJobContext - Post loading jobcontext
2013-12-02 10:22:00,781 [DEBUG] o.d.pipeline.job.JobContextFactory - configuring object org.daisy.pipeline.persistence.jobs.PersistentJobContext@6e5eb9f0
2013-12-02 10:22:00,781 [DEBUG] o.d.p.p.jobs.PersistentJobContext - load script XProcScript[name=HTML to EPUB3]
bertfrees commented 10 years ago

Thanks Jostein. Looking into it.

bertfrees commented 10 years ago

zedai-to-pef doesn't fail anymore

https://github.com/daisy-consortium/pipeline-mod-braille/commit/fd62368599f8c8a69bb6ff093b808c0f6324b42f

josteinaj commented 10 years ago

I can confirm that zedai-to-pef now works.

A new error message appears for dtbook-to-pef though: Unexpected step name: px:dtbook-to-zedai-convert

josteinaj commented 10 years ago

Works :)

only dtbook-to-html and html-to-epub3 remaining...

josteinaj commented 10 years ago

dtbook-to-html works now.

html-to-epub3 I don't know how to fix.

rdeltour commented 10 years ago

Thanks @josteinaj I'll have a look at html-to-epub3.

josteinaj commented 10 years ago

XMLDTDScannerImpl and NullPointerException might indicate a missing DTD. I was using the daisy 202 sample, using the ncc.html for metadata input and the content.html for the content.

rdeltour commented 10 years ago

XMLDTDScannerImpl and NullPointerException might indicate a missing DTD. I was using the daisy 202 sample, using the ncc.html for metadata input and the content.html for the content.

Aha, yeah it may be just that. Thanks.