You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2019-12-05 14:55:24,978 [ERROR] o.d.p.b.c.s.i.TextTransformDefinition - pf:text-transform failed
java.lang.RuntimeException: null
at org.liblouis.TranslationResult.<init>(TranslationResult.java:29) ~[na:na]
at org.liblouis.Translator.translate(Translator.java:95) ~[na:na]
at org.daisy.pipeline.braille.liblouis.impl.LiblouisTranslatorJnaImplProvider$LiblouisTranslatorImpl.transform(LiblouisTranslatorJnaImplProvider.java:1188) ~[na:na]
at org.daisy.pipeline.braille.liblouis.impl.LiblouisTranslatorJnaImplProvider$LiblouisTranslatorImpl.transform(LiblouisTranslatorJnaImplProvider.java:995) ~[na:na]
at org.daisy.pipeline.braille.liblouis.impl.LiblouisTranslatorJnaImplProvider$LiblouisTranslatorImpl.transform(LiblouisTranslatorJnaImplProvider.java:927) ~[na:na]
at org.daisy.pipeline.braille.liblouis.impl.LiblouisTranslatorJnaImplProvider$LiblouisTranslatorImpl.access$600(LiblouisTranslatorJnaImplProvider.java:263) ~[na:na]
at org.daisy.pipeline.braille.liblouis.impl.LiblouisTranslatorJnaImplProvider$LiblouisTranslatorImpl$2.transform(LiblouisTranslatorJnaImplProvider.java:329) ~[na:na]
at no.nlb.pipeline.braille.impl.NLBTranslator$Provider$HandleComputerAndUncontracted$1.transform(NLBTranslator.java:408) ~[na:na]
at no.nlb.pipeline.braille.impl.NLBTranslator$Provider$HandleComputerAndUncontracted$1.transform(NLBTranslator.java:349) ~[na:na]
at no.nlb.pipeline.braille.impl.NLBTranslator$Provider$TransformImpl$1.transform(NLBTranslator.java:218) ~[na:na]
at no.nlb.pipeline.braille.impl.NLBTranslator$Provider$TransformImpl$1.transform(NLBTranslator.java:212) ~[na:na]
at org.daisy.pipeline.braille.common.saxon.impl.TextTransformDefinition$1.call(TextTransformDefinition.java:128) ~[na:na]
at net.sf.saxon.functions.IntegratedFunctionCall.iterate(IntegratedFunctionCall.java:268) ~[na:na]
at net.sf.saxon.expr.instruct.Choose.iterate(Choose.java:944) ~[na:na]
at net.sf.saxon.value.MemoClosure.iterate(MemoClosure.java:112) ~[na:na]
(…)
at com.xmlcalabash.runtime.XCompoundStep.run(XCompoundStep.java:262) ~[na:na]
at com.xmlcalabash.runtime.XTry.run(XTry.java:98) ~[na:na]
at com.xmlcalabash.runtime.XPipeline.doRun(XPipeline.java:236) ~[na:na]
at com.xmlcalabash.runtime.XPipeline.run(XPipeline.java:136) ~[na:na]
at org.daisy.common.xproc.calabash.impl.CalabashXProcPipeline.run(CalabashXProcPipeline.java:242) ~[na:na]
at org.daisy.pipeline.job.Job.run(Job.java:216) ~[na:na]
at org.daisy.pipeline.job.impl.DefaultJobExecutionService$1.run(DefaultJobExecutionService.java:115) ~[na:na]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_222]
By the way what is the correct translation of this example? I suspect that "⠨⠦⠗⠎⠼⠬⠙⠊⠑⠙" is wrong, it would be more logical if the "⠼" came after the "⠬". @josteinaj@KariRudjord Can you please check?
Could the ordering of the number sign vs end of </sup> be the same as the ordering of </strong></em> vs </strong></em>? (can't find the github issue for it)
When there's no whitespace after
</sup>
, we get a RuntimeException. Seems to be from liblouis (CC @bertfrees @egli).To reproduce:
Run through "HTML to PEF (NLB)"
Exception
Full log: job-5056.log
</sup>
and try again, and it will succeed.The text was updated successfully, but these errors were encountered: