Scaling image failed

Bonjour à tous,

J'ai un problème lorsque je souhaite générer une publication pdf contenant une formule mathématique générer avec LateX.

Cela fonctionne sans problème sur un serveur 4.1 mais pas sur mon nouveau serveur 4.2
J’ai bien installé tous les paquets LaTeX requis.

Voici l’erreur complète :

Traces de ‘Publication PDF’ pour l’item ‘/_Les comètes (module Opale exemple)/publications/papier.publi’

— User details —
Générateur: gen_print - Publication PDF
Item racine: /_Les comètes (module Opale exemple)/publications/papier.publi

  • Echec à la transformation de la ressource ‘src=src:/_Les comètes (module Opale exemple)/ressources/latex/math.mtex;transform=latex2img&resolution=96&scale=1&transform=img2img&sizeRules=Dim(Sc(ratio’1’srcDpi’96’)Bounds(unit’cm’maxW’15’maxH’22’))&outType=PNG&’ dans .
    • Echec à la transformation ‘transform=latex2img&resolution=96&scale=1&transform=img2img&outType=PNG&sizeRules=Dim(Sc(ratio’1’srcDpi’96’)Bounds(unit’cm’maxW’15’maxH’22’))’ sur l’item
      • Scaling image failed.
        • ImageMagick process failed : 1 convert: improper image header /var/lib/scenariserver4.2/tmp/working/cache/JDCO9DAGL23P13EI13OI548TLJ/JDCO9D/AGL23P/13EI13/OI547T/117/cach8118451721757198219.png' @ error/png.c/ReadPNGImage/3930. convert: no images definedPNG:/var/lib/scenariserver4.2/tmp/working/cache/JDCO9DAGL23P13EI13OI548TLJ/JDCO9D/AGL23P/13EI13/OI547T/117/cach3101091658895130427.png’ @ error/convert.c/ConvertImageCommand/3210.

— Admin details —

<?xml version="1.0" encoding="UTF-8"?>
eu.scenari.src.transform.TransformContentException: ImageMagick process failed : 1 convert: improper image header `/var/lib/scenariserver4.2/tmp/working/cache/JDCO9DAGL23P13EI13OI548TLJ/JDCO9D/AGL23P/13EI13/OI547T/117/cach8118451721757198219.png' @ error/png.c/ReadPNGImage/3930. convert: no images defined `PNG:/var/lib/scenariserver4.2/tmp/working/cache/JDCO9DAGL23P13EI13OI548TLJ/JDCO9D/AGL23P/13EI13/OI547T/117/cach3101091658895130427.png' @ error/convert.c/ConvertImageCommand/3210.
at eu.scenari.transform.img.TfmImgScale.xConvertTransform(TfmImgScale.java:222)
at eu.scenari.transform.img.TfmImgScale.transform(TfmImgScale.java:165)
at com.scenari.m.bdp.item.fs.XItemCacheData.transformAsStream(XItemCacheData.java:476)
at com.scenari.m.bdp.item.fs.XItemCacheData.transformAsStream(XItemCacheData.java:414)
at com.scenari.m.bdp.item.fs.WspSrcNodeItem.transform(WspSrcNodeItem.java:883)
at com.scenari.src.feature.transform.SrcFeatureTransform.transformContent(SrcFeatureTransform.java:98)
at com.scenari.m.ge.generator.web.WebGenerator.xCopySrcPath2DestUriNoDst(WebGenerator.java:585)
at com.scenari.m.ge.generator.web.WebGenerator.copyXxxPath2DestUri(WebGenerator.java:401)
at com.scenari.m.ge.agent.AgentNavigableBase.computeAsData(AgentNavigableBase.java:303)
at com.scenari.m.ge.agent.AgentNavigableBase.computeAsString(AgentNavigableBase.java:365)
at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
at com.scenari.xsldom.xpath.XPath.execute(XPath.java:443)
at com.scenari.xsldom.xalan.templates.AVTPartXPath.evaluate(AVTPartXPath.java:179)
at com.scenari.xsldom.xalan.templates.AVT.evaluate(AVT.java:440)
at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:522)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.templates.ElemIf.execute(ElemIf.java:188)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:1385)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:784)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:411)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:725)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.xExecuteXsl(WDonneeXslOnSrcDynamique.java:131)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.writeValue(WDonneeXslOnSrcDynamique.java:104)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.getString(WDonneeXslOnSrcDynamique.java:91)
at eu.scenari.core.agt.agent.value.AgtValue.computeAsString(AgtValue.java:184)
at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
at com.scenari.xsldom.xpath.XPath.execute(XPath.java:443)
at com.scenari.xsldom.xalan.templates.ElemValueOf.execute(ElemValueOf.java:273)
at com.scenari.xsldom.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:464)
at com.scenari.xsldom.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:205)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.templates.ElemIf.execute(ElemIf.java:188)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:1385)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:784)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:411)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:725)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.xExecuteXsl(WDonneeXslOnSrcDynamique.java:131)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.writeValue(WDonneeXslOnSrcDynamique.java:104)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.getString(WDonneeXslOnSrcDynamique.java:91)
at eu.scenari.core.agt.agent.value.AgtValue.computeAsString(AgtValue.java:184)
at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
at com.scenari.xsldom.xpath.XPath.execute(XPath.java:443)
at com.scenari.xsldom.xalan.templates.ElemValueOf.execute(ElemValueOf.java:273)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:1385)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:784)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:411)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:725)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.xExecuteXsl(WDonneeXslOnSrcDynamique.java:131)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.writeValue(WDonneeXslOnSrcDynamique.java:104)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.getString(WDonneeXslOnSrcDynamique.java:91)
at eu.scenari.core.agt.agent.value.AgtValue.computeAsString(AgtValue.java:184)
at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
at com.scenari.xsldom.xpath.XPath.execute(XPath.java:443)
at com.scenari.xsldom.xalan.templates.ElemValueOf.execute(ElemValueOf.java:273)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:1385)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:784)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:411)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:725)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.xExecuteXsl(WDonneeXslOnSrcDynamique.java:131)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.writeValue(WDonneeXslOnSrcDynamique.java:104)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.getString(WDonneeXslOnSrcDynamique.java:91)
at eu.scenari.core.agt.agent.value.AgtValue.computeAsString(AgtValue.java:184)
at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
at com.scenari.xsldom.xpath.XPath.execute(XPath.java:443)
at com.scenari.xsldom.xalan.templates.ElemValueOf.execute(ElemValueOf.java:273)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.templates.ElemChoose.execute(ElemChoose.java:172)
at com.scenari.xsldom.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:464)
at com.scenari.xsldom.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:205)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.templates.ElemIf.execute(ElemIf.java:188)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:1385)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:784)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:411)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:725)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.xExecuteXsl(WDonneeXslOnSrcDynamique.java:131)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.writeValue(WDonneeXslOnSrcDynamique.java:104)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.getString(WDonneeXslOnSrcDynamique.java:91)
at eu.scenari.core.agt.agent.value.AgtValue.computeAsString(AgtValue.java:184)
at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
at com.scenari.xsldom.xpath.XPath.execute(XPath.java:443)
at com.scenari.xsldom.xalan.templates.ElemValueOf.execute(ElemValueOf.java:273)
at com.scenari.xsldom.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:464)
at com.scenari.xsldom.xalan.templates.ElemForEach.execute(ElemForEach.java:253)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.templates.ElemIf.execute(ElemIf.java:188)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:1385)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:784)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:411)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:725)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.xExecuteXsl(WDonneeXslOnSrcDynamique.java:131)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.writeValue(WDonneeXslOnSrcDynamique.java:104)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.getString(WDonneeXslOnSrcDynamique.java:91)
at eu.scenari.core.agt.agent.value.AgtValue.computeAsString(AgtValue.java:184)
at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
at com.scenari.m.co.donnee.WDonneeXPath.xGetValue(WDonneeXPath.java:238)
at com.scenari.m.co.donnee.WDonneeXPathDynamique.getString(WDonneeXPathDynamique.java:70)
at eu.scenari.core.agt.agent.value.AgtValue.computeAsString(AgtValue.java:184)
at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
at com.scenari.xsldom.xpath.XPath.execute(XPath.java:443)
at com.scenari.xsldom.xalan.templates.ElemValueOf.execute(ElemValueOf.java:273)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:1385)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:784)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:411)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:725)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.xExecuteXsl(WDonneeXslOnSrcDynamique.java:131)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.writeValue(WDonneeXslOnSrcDynamique.java:104)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.getString(WDonneeXslOnSrcDynamique.java:91)
at eu.scenari.core.agt.agent.value.AgtValue.computeAsString(AgtValue.java:184)
at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
at com.scenari.xsldom.xpath.XPath.execute(XPath.java:443)
at com.scenari.xsldom.xalan.templates.ElemValueOf.execute(ElemValueOf.java:273)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:1385)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:784)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:411)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:725)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.xExecuteXsl(WDonneeXslOnSrcDynamique.java:131)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.writeValue(WDonneeXslOnSrcDynamique.java:104)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.getString(WDonneeXslOnSrcDynamique.java:91)
at eu.scenari.core.agt.agent.value.AgtValue.computeAsString(AgtValue.java:184)
at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
at com.scenari.xsldom.xpath.XPath.execute(XPath.java:443)
at com.scenari.xsldom.xalan.templates.ElemValueOf.execute(ElemValueOf.java:273)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.templates.ElemIf.execute(ElemIf.java:188)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:1385)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:784)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:411)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:725)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.xExecuteXsl(WDonneeXslOnSrcDynamique.java:131)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.writeValue(WDonneeXslOnSrcDynamique.java:104)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.getString(WDonneeXslOnSrcDynamique.java:91)
at eu.scenari.core.agt.agent.value.AgtValue.computeAsString(AgtValue.java:184)
at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
at com.scenari.xsldom.xpath.XPath.execute(XPath.java:443)
at com.scenari.xsldom.xalan.templates.ElemValueOf.execute(ElemValueOf.java:273)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.templates.ElemChoose.execute(ElemChoose.java:172)
at com.scenari.xsldom.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:464)
at com.scenari.xsldom.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:205)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.templates.ElemIf.execute(ElemIf.java:188)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:1385)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:784)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:411)
at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:725)
at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.xExecuteXsl(WDonneeXslOnSrcDynamique.java:131)
....

— Js stack —
cbLoadLog@chrome://scenariwsp/content/widgets/genBox/genBox.xbl.xml:795:11
CallbackWrapper.prototype.handleEvent@chrome://scenariwsp/content/commons/servers/HttpDataProvider.jsm:410:17

— App context —
timestamp: 14/11/2016 14:33:58
userAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 ch.4.2/4.2.101
coreVersion: 4.2.101
brandShortName: SCENARIchain
appVersion: 4.2.101
appBuildId: 2016062817
appDevelopmentStage: final

Un grand merci à ceux qui peuvent m’aider :slight_smile:

Bonjour,

je rencontre le même problème avec SCENARIchain 4.2.1.04 muni du modèle Opale 3.6.102 :

Traces de 'Publication Texte OpenDocument' pour l'item '/CoursAlgo/CoursAlgo_papier.publi'

--- User details ---
Générateur: gen_paper - Publication Texte OpenDocument
Item racine: /CoursAlgo/CoursAlgo_papier.publi
* Echec à la transformation de la ressource 'src=src:/CoursAlgo/B-Algorithmique/PGCD.mtex;mutabledst=tmp/Pictures/agtNd3evC4vb3dGCBmPA3Ujvc_PGCD.mtex;copy=res;transform=latex2img&resolution=300&scale=1.2&transform=img2img&sizeRules=Dim(Sc(ratio'1'srcDpi'300')Bounds(unit'cm'maxW'15'maxH'22'))&outType=PNG&' dans <dialog cdAction="Exe" param="null" class="HDialogPages"><agent uri="@\CoursAlgo\CoursAlgo_papier.publi;/writeOdFile" class="HAgentPages"><agtType code="writeOdFile" xpathRoot="" src="/~param/OpaleExtScenario3-6/gen/paper/bs.doss/_root.xml" class="HComposantTypePages"/><agtBag agtBagId="\CoursAlgo\CoursAlgo_papier.publi;" /></agent></dialog>.
  - Echec à la transformation 'transform=latex2img&resolution=300&scale=1.2&transform=img2img&outType=PNG&sizeRules=Dim(Sc(ratio'1'srcDpi'300')Bounds(unit'cm'maxW'15'maxH'22'))' sur l'item <itemCache uri="/CoursAlgo/B-Algorithmique/PGCD.mtex"/>
    - Scaling image failed.
      - ImageMagick process failed : 1 convert: ImproperImageHeader `/Users/martus/Library/Caches/SCchain4.2/Profiles/3wyr4en1.default/srv/emdFix/cache/Insa/CoursAlgo/B-Algorithmique/PGCD.mtex/cach8893841037027112245.png' @ error/png.c/ReadPNGImage/3743. convert: NoImagesDefined `PNG:/Users/martus/Library/Caches/SCchain4.2/Profiles/3wyr4en1.default/srv/emdFix/cache/Insa/CoursAlgo/B-Algorithmique/PGCD.mtex/cach1154623700519044517.png' @ error/convert.c/ConvertImageCommand/3044.   


--- Admin details ---
<?xml version="1.0" encoding="UTF-8"?>
<trace>
	<start t="28/08/17 19:29:12"/>
	<l t="Warning" d="28/08/17 19:29:19">
		<message type="Warning" ts="1503941359631" appCtx="chain" thread="chain-executor-16" desc="Echec à la transformation de la ressource 'src=src:/CoursAlgo/B-Algorithmique/PGCD.mtex;mutabledst=tmp/Pictures/agtNd3evC4vb3dGCBmPA3Ujvc_PGCD.mtex;copy=res;transform=latex2img&amp;resolution=300&amp;scale=1.2&amp;transform=img2img&amp;sizeRules=Dim(Sc(ratio'1'srcDpi'300')Bounds(unit'cm'maxW'15'maxH'22'))&amp;outType=PNG&amp;' dans &lt;dialog cdAction=&quot;Exe&quot; param=&quot;null&quot; class=&quot;HDialogPages&quot;&gt;&lt;agent uri=&quot;@\CoursAlgo\CoursAlgo_papier.publi;/writeOdFile&quot; class=&quot;HAgentPages&quot;&gt;&lt;agtType code=&quot;writeOdFile&quot; xpathRoot=&quot;&quot; src=&quot;/~param/OpaleExtScenario3-6/gen/paper/bs.doss/_root.xml&quot; class=&quot;HComposantTypePages&quot;/&gt;&lt;agtBag agtBagId=&quot;\CoursAlgo\CoursAlgo_papier.publi;&quot; /&gt;&lt;/agent&gt;&lt;/dialog&gt;.">
			<message type="Error" ts="1503941359630" appCtx="chain" thread="chain-executor-16" desc="Echec à la transformation 'transform=latex2img&amp;resolution=300&amp;scale=1.2&amp;transform=img2img&amp;outType=PNG&amp;sizeRules=Dim(Sc(ratio'1'srcDpi'300')Bounds(unit'cm'maxW'15'maxH'22'))' sur l'item &lt;itemCache uri=&quot;/CoursAlgo/B-Algorithmique/PGCD.mtex&quot;/&gt;">
				<message type="Error" ts="1503941359629" appCtx="chain" thread="chain-executor-16" desc="Scaling image failed.">
					<message type="Exception" ts="1503941359629" appCtx="chain" thread="chain-executor-16" desc="ImageMagick process failed : 1 convert: ImproperImageHeader `/Users/martus/Library/Caches/SCchain4.2/Profiles/3wyr4en1.default/srv/emdFix/cache/Insa/CoursAlgo/B-Algorithmique/PGCD.mtex/cach8893841037027112245.png' @ error/png.c/ReadPNGImage/3743. convert: NoImagesDefined `PNG:/Users/martus/Library/Caches/SCchain4.2/Profiles/3wyr4en1.default/srv/emdFix/cache/Insa/CoursAlgo/B-Algorithmique/PGCD.mtex/cach1154623700519044517.png' @ error/convert.c/ConvertImageCommand/3044.   ">
						<details>eu.scenari.src.transform.TransformContentException: ImageMagick process failed : 1
convert: ImproperImageHeader `/Users/martus/Library/Caches/SCchain4.2/Profiles/3wyr4en1.default/srv/emdFix/cache/Insa/CoursAlgo/B-Algorithmique/PGCD.mtex/cach8893841037027112245.png' @ error/png.c/ReadPNGImage/3743.
convert: NoImagesDefined `PNG:/Users/martus/Library/Caches/SCchain4.2/Profiles/3wyr4en1.default/srv/emdFix/cache/Insa/CoursAlgo/B-Algorithmique/PGCD.mtex/cach1154623700519044517.png' @ error/convert.c/ConvertImageCommand/3044.



	at eu.scenari.transform.img.TfmImgScale.xConvertTransform(TfmImgScale.java:230)
	at eu.scenari.transform.img.TfmImgScale.transform(TfmImgScale.java:173)
	at com.scenari.m.bdp.item.fs.XItemCacheData.transformAsStream(XItemCacheData.java:476)
	at com.scenari.m.bdp.item.fs.XItemCacheData.transformAsStream(XItemCacheData.java:414)
	at com.scenari.m.bdp.item.fs.WspSrcNodeItem.transform(WspSrcNodeItem.java:888)
	at com.scenari.src.feature.transform.SrcFeatureTransform.transformContent(SrcFeatureTransform.java:100)
	at com.scenari.m.ge.generator.ant.AntGenerator.copyXxxPath2DestUri(AntGenerator.java:357)
	at com.scenari.m.ge.agent.AgentNavigableBase.computeAsData(AgentNavigableBase.java:316)
	at com.scenari.m.ge.agent.AgentNavigableBase.computeAsString(AgentNavigableBase.java:367)
	at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
	at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
	at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
	at com.scenari.m.co.donnee.WDonneeXPathOnSrcDynamique.getString(WDonneeXPathOnSrcDynamique.java:91)
	at eu.scenari.core.agt.agent.value.AgtValue.computeAsString(AgtValue.java:184)
	at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
	at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
	at com.scenari.xsldom.xpath.functions.FuncConcat.execute(FuncConcat.java:122)
	at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
	at com.scenari.xsldom.xpath.XPath.execute(XPath.java:443)
	at com.scenari.xsldom.xalan.templates.ElemValueOf.execute(ElemValueOf.java:273)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transformToString(TransformerImpl.java:1248)
	at com.scenari.xsldom.xalan.templates.ElemAttribute.constructNode(ElemAttribute.java:246)
	at com.scenari.xsldom.xalan.templates.ElemElement.execute(ElemElement.java:338)
	at com.scenari.xsldom.xalan.templates.ElemAttribute.execute(ElemAttribute.java:172)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemChoose.execute(ElemChoose.java:172)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:1385)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:784)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:411)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:725)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.xExecuteXsl(WDonneeXslOnSrcDynamique.java:131)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.writeValue(WDonneeXslOnSrcDynamique.java:104)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.getString(WDonneeXslOnSrcDynamique.java:91)
	at eu.scenari.core.agt.agent.value.AgtValue.computeAsString(AgtValue.java:184)
	at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
	at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
	at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
	at com.scenari.xsldom.xpath.XPath.execute(XPath.java:443)
	at com.scenari.xsldom.xalan.templates.ElemValueOf.execute(ElemValueOf.java:273)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemChoose.execute(ElemChoose.java:172)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:1385)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:784)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:411)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:725)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.xExecuteXsl(WDonneeXslOnSrcDynamique.java:131)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.writeValue(WDonneeXslOnSrcDynamique.java:104)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.getString(WDonneeXslOnSrcDynamique.java:91)
	at eu.scenari.core.agt.agent.value.AgtValue.computeAsString(AgtValue.java:184)
	at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
	at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
	at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
	at com.scenari.xsldom.xpath.XPath.execute(XPath.java:443)
	at com.scenari.xsldom.xalan.templates.ElemValueOf.execute(ElemValueOf.java:273)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transformToRTF(TransformerImpl.java:1167)
	at com.scenari.xsldom.xalan.templates.ElemVariable.getValue(ElemVariable.java:306)
	at com.scenari.xsldom.xalan.templates.ElemVariable.execute(ElemVariable.java:279)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:1385)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:784)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:411)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:725)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.xExecuteXsl(WDonneeXslOnSrcDynamique.java:131)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.writeValue(WDonneeXslOnSrcDynamique.java:104)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.getString(WDonneeXslOnSrcDynamique.java:91)
	at eu.scenari.core.agt.agent.value.AgtValue.computeAsString(AgtValue.java:184)
	at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
	at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
	at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
	at com.scenari.xsldom.xpath.XPath.execute(XPath.java:443)
	at com.scenari.xsldom.xalan.templates.ElemValueOf.execute(ElemValueOf.java:273)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemChoose.execute(ElemChoose.java:180)
	at com.scenari.xsldom.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:464)
	at com.scenari.xsldom.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:205)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemChoose.execute(ElemChoose.java:172)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:1385)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:784)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:411)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:725)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.xExecuteXsl(WDonneeXslOnSrcDynamique.java:131)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.writeValue(WDonneeXslOnSrcDynamique.java:104)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.getString(WDonneeXslOnSrcDynamique.java:91)
	at eu.scenari.core.agt.agent.value.AgtValue.computeAsString(AgtValue.java:184)
	at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
	at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
	at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
	at com.scenari.xsldom.xpath.XPath.execute(XPath.java:443)
	at com.scenari.xsldom.xalan.templates.ElemValueOf.execute(ElemValueOf.java:273)
	at com.scenari.xsldom.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:464)
	at com.scenari.xsldom.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:205)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemChoose.execute(ElemChoose.java:172)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:1385)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:784)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:411)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:725)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.xExecuteXsl(WDonneeXslOnSrcDynamique.java:131)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.writeValue(WDonneeXslOnSrcDynamique.java:104)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.getString(WDonneeXslOnSrcDynamique.java:91)
	at eu.scenari.core.agt.agent.value.AgtValue.computeAsString(AgtValue.java:184)
	at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
	at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
	at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
	at com.scenari.xsldom.xpath.XPath.execute(XPath.java:443)
	at com.scenari.xsldom.xalan.templates.ElemValueOf.execute(ElemValueOf.java:273)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemChoose.execute(ElemChoose.java:172)
	at com.scenari.xsldom.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:464)
	at com.scenari.xsldom.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:205)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemChoose.execute(ElemChoose.java:172)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:1385)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:784)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:411)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:725)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.xExecuteXsl(WDonneeXslOnSrcDynamique.java:131)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.writeValue(WDonneeXslOnSrcDynamique.java:104)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.getString(WDonneeXslOnSrcDynamique.java:91)
	at eu.scenari.core.agt.agent.value.AgtValue.computeAsString(AgtValue.java:184)
	at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
	at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
	at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
	at com.scenari.xsldom.xpath.XPath.execute(XPath.java:443)
	at com.scenari.xsldom.xalan.templates.ElemValueOf.execute(ElemValueOf.java:273)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemChoose.execute(ElemChoose.java:180)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemChoose.execute(ElemChoose.java:172)
	at com.scenari.xsldom.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:464)
	at com.scenari.xsldom.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:205)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemChoose.execute(ElemChoose.java:172)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:1385)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:784)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:411)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:725)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.xExecuteXsl(WDonneeXslOnSrcDynamique.java:131)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.writeValue(WDonneeXslOnSrcDynamique.java:104)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.getString(WDonneeXslOnSrcDynamique.java:91)
	at eu.scenari.core.agt.agent.value.AgtValue.computeAsString(AgtValue.java:184)
	at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
	at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
	at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
	at com.scenari.xsldom.xpath.XPath.execute(XPath.java:443)
	at com.scenari.xsldom.xalan.templates.ElemValueOf.execute(ElemValueOf.java:273)
	at com.scenari.xsldom.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:464)
	at com.scenari.xsldom.xalan.templates.ElemForEach.execute(ElemForEach.java:253)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemChoose.execute(ElemChoose.java:172)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:1385)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:784)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:411)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:725)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.xExecuteXsl(WDonneeXslOnSrcDynamique.java:131)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.writeValue(WDonneeXslOnSrcDynamique.java:104)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.getString(WDonneeXslOnSrcDynamique.java:91)
	at eu.scenari.core.agt.agent.value.AgtValue.computeAsString(AgtValue.java:184)
	at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
	at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
	at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
	at com.scenari.xsldom.xpath.XPath.execute(XPath.java:443)
	at com.scenari.xsldom.xalan.templates.ElemValueOf.execute(ElemValueOf.java:273)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:535)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1480)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:1385)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:784)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:411)
	at com.scenari.xsldom.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:725)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.xExecuteXsl(WDonneeXslOnSrcDynamique.java:131)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.writeValue(WDonneeXslOnSrcDynamique.java:104)
	at com.scenari.m.co.donnee.WDonneeXslOnSrcDynamique.getString(WDonneeXslOnSrcDynamique.java:91)
	at eu.scenari.core.agt.agent.value.AgtValue.xComputeCache(AgtValue.java:203)
	at eu.scenari.core.agt.agent.value.AgtValue.computeAsString(AgtValue.java:171)
	at com.scenari.m.co.xpath.dom.ZXPathComputeStrAgent.xExecute(ZXPathComputeStrAgent.java:101)
	at com.scenari.m.co.xpath.dom.ZXPath.execute(ZXPath.java:99)
	at com.scenari.xsldom.xpath.XPath.execute(XPath.java:396)
	at com.scenari.m.co.donnee.WDonneeXPath.xGetValue(WDonneeXPath.java:238)
	at com.scenari.m.co.donnee.WDonneeXPathDynamique.getString(WDonneeXPathDynamique.java:70)
	at eu.scenari.core.agt.agent.value.DataValue.xApplyXsl(DataValue.java:199)
	at eu.scenari.core.agt.agent.value.DataValue.writeValue(DataValue.java:187)
	at com.scenari.m.co.donnee.composition.XResultatAgent.wWrite(XResultatAgent.java:130)
	at com.scenari.m.co.donnee.composition.XContainer.wWrite(XContainer.java:265)
	at com.scenari.m.co.donnee.composition.WDonneeComposition.writeValue(WDonneeComposition.java:160)
	at eu.scenari.modeling.odstyle.OdBlenderPage.producePage(OdBlenderPage.java:1067)
	at com.scenari.m.ge.generator.base.GeneratorBase.producePage(GeneratorBase.java:1241)
	at com.scenari.m.ge.generator.base.GeneratorStatic.wTreatStackPages(GeneratorStatic.java:969)
	at com.scenari.m.ge.ant.BuildPageTask.execute(BuildPageTask.java:80)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
	at com.scenari.m.ge.generator.ant.AntGenerator.xGenerate(AntGenerator.java:440)
	at com.scenari.m.ge.generator.base.GeneratorStatic.generate(GeneratorStatic.java:647)
	at eu.scenari.wsp.module.gen.ThreadGen.call(ThreadGen.java:170)
	at eu.scenari.wsp.module.gen.ThreadGen.run(ThreadGen.java:157)
	at eu.scenari.core.universe.Universe$1.run(Universe.java:393)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
</details>
					</message>
				</message>
			</message>
		</message>
	</l>
	<end t="28/08/17 19:29:39"/>
</trace>

--- Js stack ---
cbLoadLog@chrome://scenariwsp/content/widgets/genBox/genBox.xbl.xml:805:11
CallbackWrapper.prototype.handleEvent@chrome://scenariwsp/content/commons/servers/HttpDataProvider.jsm:410:17


--- App context ---
timestamp: 29/8/2017 08:42:02
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:42.0) Gecko/20100101 SCchain4.2/4.2.104
coreVersion: 4.2.104
brandShortName: SCENARIchain
appVersion: 4.2.104
appBuildId: 201706281113
appDevelopmentStage: final

Je précise concernant les fichiers mentionnés comme produisant une erreur par “convert” :

  • “ImproperImageHeader” : le fichier mentionné est vide (taille 0 octet)
  • “NoImagesDefined” : le fichier mentionné n’existe pas

Merci d’avance pour votre aide.

Cordialement,
Martial.

Bonjour,

Est-ce qu’un autre contenu avec des formules latex plus simple
fonctionne bien ?

Si il échoue aussi vous avez probablement un problème de configuration
de latex ou ImageMagick dans votre système (Mac OS ?).

Sinon, il est possible que la conversion de votre item
/CoursAlgo/B-Algorithmique/PGCD.mtex par Latex échoue, produisant une
image vide ce qui entraine l’échec de la transformation par ImageMagick.

Bonjour,

J’ai en effet d’autres formules LaTeX, mais seulement internes (et pas d’autre sous forme de ressource .mtex) qui fonctionnent elles sans problème. Je n’ai sinon pas d’erreur sur les générations Web, diaporama ou PDF concernant la ressource PGCD.mtex dont le source est le suivant :

	\begin{array}{ll}
		PGCD(a,0) = a & \\
		PGCD(a,b) = PGCD(b,r) & \mbox{ où} r \mbox{est le reste de la division entière de} a \mbox{par} b
	\end{array}

Sinon, je précise que je suis sur Mac OS X.11.6 et que la publication “Texte OpenDocument légère” rencontre également la même erreur.

Bonne nouvelle cependant, en supprimant la tabulation qui semblait être en trop au début de chaque ligne de cette ressource .mtex (provenant peut-être de la migration depuis Opale 3.5 ?), l’erreur n’apparait plus :

\begin{array}{ll}
	PGCD(a,0) = a & \\
	PGCD(a,b) = PGCD(b,r) & \mbox{ où} r \mbox{est le reste de la division entière de} a \mbox{par} b
\end{array}

Néanmoins, dans la publication ODT obtenue, si la ressource .mtex apparait bien transformée, les formules LaTeX internes n’apparaissent elles pas (sans erreur signalée, idem pour la publication “Texte OpenDocument légère”). Pour essayer d’en savoir plus, j’ai relancé Scenari après suppression du répertoire paper généré, mais j’obtiens maintenant une autre erreur qui me semble étrange (je n’ai pas changé dans les préférences l’emplacement de LibreOffice) :

Traces de 'Publication Texte OpenDocument' pour l'item '/CoursAlgo/CoursAlgo_papier.publi'

--- User details ---
Générateur: gen_paper - Publication Texte OpenDocument
Item racine: /CoursAlgo/CoursAlgo_papier.publi
* OpenDocument editor defined by System property. 'com.sun.star.lib.loader.unopath' in: /Applications/Bureautique/LibreOffice.app/Contents/MacOS
* /Applications/Bureautique/LibreOffice.app/Contents/MacOS/versionrc (No such file or directory)
* For input string: "?"
* Starting OpenDocument editor in pipe mode.


--- Admin details ---
<?xml version="1.0" encoding="UTF-8"?>
<trace>
	<start t="29/08/17 12:32:50"/>
	<l t="Info" d="29/08/17 12:33:10">
		<message type="Info" ts="1504002790269" appCtx="chain" thread="chain-executor-1" desc="OpenDocument editor defined by System property. 'com.sun.star.lib.loader.unopath' in: /Applications/Bureautique/LibreOffice.app/Contents/MacOS"/>
	</l>
	<l t="Exception" d="29/08/17 12:33:10">
		<message type="Exception" ts="1504002790738" appCtx="chain" thread="chain-executor-1" desc="/Applications/Bureautique/LibreOffice.app/Contents/MacOS/versionrc (No such file or directory)">
			<details>java.io.FileNotFoundException: /Applications/Bureautique/LibreOffice.app/Contents/MacOS/versionrc (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:146)
	at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:101)
	at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
	at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
	at java.net.URL.openStream(URL.java:1037)
	at eu.scenari.transform.od.TfmOpenDocument.getOoVersion(TfmOpenDocument.java:227)
	at eu.scenari.transform.od.TfmOpenDocument.getOoVersionMaj(TfmOpenDocument.java:266)
	at eu.scenari.transform.od.impl.OoConnection.xInitServer(OoConnection.java:496)
	at eu.scenari.transform.od.impl.OoConnection.xConnect(OoConnection.java:430)
	at eu.scenari.transform.od.impl.OoConnection.checkConnection(OoConnection.java:344)
	at eu.scenari.transform.od.impl.OoConnectionPool.getConnection(OoConnectionPool.java:180)
	at eu.scenari.transform.od.impl.TfmUpdate.transform(TfmUpdate.java:120)
	at eu.scenari.transform.od.TfmOpenDocument.transform(TfmOpenDocument.java:137)
	at com.scenari.m.co.ant.TransformTask.execute(TransformTask.java:96)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
	at com.scenari.m.ge.generator.ant.AntGenerator.xGenerate(AntGenerator.java:440)
	at com.scenari.m.ge.generator.base.GeneratorStatic.generate(GeneratorStatic.java:647)
	at eu.scenari.wsp.module.gen.ThreadGen.call(ThreadGen.java:170)
	at eu.scenari.wsp.module.gen.ThreadGen.run(ThreadGen.java:157)
	at eu.scenari.core.universe.Universe$1.run(Universe.java:393)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
</details>
		</message>
	</l>
	<l t="Exception" d="29/08/17 12:33:10">
		<message type="Exception" ts="1504002790793" appCtx="chain" thread="chain-executor-1" desc="For input string: &quot;?&quot;">
			<details>java.lang.NumberFormatException: For input string: "?"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.lang.Integer.parseInt(Integer.java:492)
	at java.lang.Integer.parseInt(Integer.java:527)
	at eu.scenari.transform.od.TfmOpenDocument.getOoVersionMaj(TfmOpenDocument.java:268)
	at eu.scenari.transform.od.impl.OoConnection.xInitServer(OoConnection.java:496)
	at eu.scenari.transform.od.impl.OoConnection.xConnect(OoConnection.java:430)
	at eu.scenari.transform.od.impl.OoConnection.checkConnection(OoConnection.java:344)
	at eu.scenari.transform.od.impl.OoConnectionPool.getConnection(OoConnectionPool.java:180)
	at eu.scenari.transform.od.impl.TfmUpdate.transform(TfmUpdate.java:120)
	at eu.scenari.transform.od.TfmOpenDocument.transform(TfmOpenDocument.java:137)
	at com.scenari.m.co.ant.TransformTask.execute(TransformTask.java:96)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
	at com.scenari.m.ge.generator.ant.AntGenerator.xGenerate(AntGenerator.java:440)
	at com.scenari.m.ge.generator.base.GeneratorStatic.generate(GeneratorStatic.java:647)
	at eu.scenari.wsp.module.gen.ThreadGen.call(ThreadGen.java:170)
	at eu.scenari.wsp.module.gen.ThreadGen.run(ThreadGen.java:157)
	at eu.scenari.core.universe.Universe$1.run(Universe.java:393)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
</details>
		</message>
	</l>
	<l t="Info" d="29/08/17 12:33:10">
		<message type="Info" ts="1504002790793" appCtx="chain" thread="chain-executor-1" desc="Starting OpenDocument editor in pipe mode."/>
	</l>
	<end t="29/08/17 12:35:54"/>
</trace>

--- Js stack ---
cbLoadLog@chrome://scenariwsp/content/widgets/genBox/genBox.xbl.xml:805:11
CallbackWrapper.prototype.handleEvent@chrome://scenariwsp/content/commons/servers/HttpDataProvider.jsm:410:17


--- App context ---
timestamp: 29/8/2017 12:45:34
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:42.0) Gecko/20100101 SCchain4.2/4.2.104
coreVersion: 4.2.104
brandShortName: SCENARIchain
appVersion: 4.2.104
appBuildId: 201706281113
appDevelopmentStage: final 

L’erreur est d’autant plus étrange que le fichier /Applications/Bureautique/LibreOffice.app/Contents/Resources/versionrc existe bien :

MacMartus:Scenari martus$ more /Applications/Bureautique/LibreOffice.app/Contents/Resources/versionrc 
[Version]
AllLanguages=en-US
BuildVersion=
buildid=066b007f5ebcc236395c7d282ba488bca6720265
ExtensionUpdateURL=http://updateexte.libreoffice.org/ExtensionUpdateService/check.Update
ReferenceOOoMajorMinor=4.1
UpdateID=LibreOffice_4_en-US
UpdateURL=http://update.libreoffice.org/check.php?pkgfmt=dmg
UpdateUserAgent=<PRODUCT> (${buildid}; ${_OS}; ${_ARCH}; <OPTIONAL_OS_HW_DATA>)
Vendor=The Document Foundation

Cordialement,
Martial.

Bonjour,

Un mot pour indiquer qu’après quelques tâtonnements, la suppression du cache de l’atelier et du répertoire généré a permis de résoudre le dernier problème mentionné, et qu’après cela, les générations ODT fonctionnent à nouveau correctement, avec toutes les équations LaTeX correctement générées.

Cordialement,
Martial.

Bonjour,

Merci pour ces remontées d’info.

A part une instabilité système / disque ou une restriction d’accès en lecture inhabituelle, je ne vois pas d’explication à votre dernière anomalie (FileNotFoundException: /Applications/Bureautique/LibreOffice.app/Contents/MacOS/versionrc alors que le fichier). L’anomalie suivante (java.lang.NumberFormatException) est une conséquence de la 1ère sans incidence.

Concernant PGCD.mtex, ce type d’items n’étant pas en xml, il n’a pu subir de migration lors du passage en Opale 3.6. Là encore, pas d’explications sur la présence de ces tabulations, excepté une fausse manip dans un éditeur de texte.

Pour les images inline qui ne se publiaient pas (jusqu’à la purge du cache), pourriez-vous m’envoyer par mail un ODT généré avec ces erreurs (si vous l’avez gardé) ? Je voudrais savoir si une image vide existait dans l’ODT ou si il n’y avait pas d’image du tout. Une transformation latex en échec n’aurait pas dû être mémorisée dans le cache, nous avons peut-être un bug à ce niveau.

Bonjour,

Entendu pour la première erreur étrange.

Concernant les images inline (provenant d’équation LaTeX) qui ne se publient pas, vous trouverez ici le ODT généré avec erreur : https://framadrive.org/s/xPENeGrxepjoVLV : des formules y sont notamment manquantes p. 23 et p. 24, que vous trouvez en revanche dans cette publication PDF : https://moodle.insa-toulouse.fr/pluginfile.php/17573/mod_resource/content/17/CoursAlgo_v1.8.pdf > p. 14 et p. 16.

Cordialement,
Martial.