fatty- / daisy-pipeline

Automatically exported from code.google.com/p/daisy-pipeline
0 stars 0 forks source link

After conversion error, API call for job "result" returns 500 server error #369

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Reproduce the error in issue 368.
2. Check the job results. It is marked as DONE
3. Ask for the job results. Through the cli, this might be:
cli/dp2 results --file /some/place b5e57076-9c24-4d80-88b1-bdc3d30f28a0

What is the expected output? What do you see instead?
The server returns a 500 internal error. The job log looks something like this:
2013-10-04 13:30:08,744 [ERROR] com.xmlcalabash.library.XSLT - 
bundle://18.0:1/xml/xslt/html-chunker.xsl:22:err:XPTY0004:A sequence of more 
than one item is not allowed as the second argument of concat() (2, 3)
2013-10-04 13:30:08,748 [ERROR] com.xmlcalabash.library.XSLT - A sequence of 
more than one item is not allowed as the second argument of concat() (2, 3)
2013-10-04 13:30:08,751 [ERROR] com.xmlcalabash.library.XSLT - A sequence of 
more than one item is not allowed as the second argument of concat() (2, 3)
2013-10-04 13:30:08,754 [DEBUG] org.daisy.pipeline.push.Poster - Status changed 
1b556daf-22d3-488c-8ec4-dae1861242f2->DONE
2013-10-04 13:30:09,605 [ERROR] o.d.p.w.xml.XmlValidator - element "results" 
incomplete; missing required element "result"(1, 637)
2013-10-04 13:30:09,606 [ERROR] o.d.p.w.xml.JobXmlWriter - INVALID XML:
<job href="http://localhost:8182/ws/jobs/1b556daf-22d3-488c-8ec4-dae1861242f2" 
id="1b556daf-22d3-488c-8ec4-dae1861242f2" status="DONE" 
xmlns="http://www.daisy.org/ns/pipeline/data">
<script href="http://localhost:8182/ws/scripts/dtbook-to-epub3" 
id="dtbook-to-epub3">
<nicename>DTBook to EPUB3</nicename>
<description>Converts multiple dtbooks to epub3 format</description>
</script>
<log 
href="http://localhost:8182/ws/jobs/1b556daf-22d3-488c-8ec4-dae1861242f2/log"/>
<results 
href="http://localhost:8182/ws/jobs/1b556daf-22d3-488c-8ec4-dae1861242f2/result"
 mime-type="application/zip"/>
</job>

What version of the product are you using? On what operating system?
v1.6-beta on Ubuntu Linux

Please provide any additional information below.

Original issue reported on code.google.com by john.bru...@gmail.com on 4 Oct 2013 at 9:53