Hi,
I’ve followed the instruction to generate French finding aids as instructed here : https://wiki.accesstomemory.org/Community/Community_resources/Customization#French_XSLTs_for_finding_aid_generation including
$ php symfony cc
$ sudo systemctl restart nginx
$ sudo systemctl restart php7.0-fpm
$ sudo systemctl restart atom-worker
Here’s the error log I’ve received :
[info] [2019-03-22 14:51:53] Job 154609 "arFindingAidJob": Job started.
[info] [2019-03-22 14:51:53] Job 154609 "arFindingAidJob": Generating finding aid (fonds-union-des-mutuelles-vie-francaises-damerique)...
[info] [2019-03-22 14:51:54] Job 154609 "arFindingAidJob": Running: java -jar '/usr/share/nginx/atom/lib/task/pdf/saxon9he.jar' -s:'/tmp/php6FNFf3' -xsl:'/usr/share/nginx/atom/lib/task/pdf/ead-pdf-inventory-summary.xsl' -o:'/tmp/phpWAiaFs' 2>&1
[info] [2019-03-22 14:51:57] Job 154609 "arFindingAidJob": Running: fop -r -q -fo '/tmp/phpWAiaFs' -pdf '/usr/share/nginx/atom/downloads/fonds-union-des-mutuelles-vie-francaises-damerique.pdf' 2>&1
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": Converting the EAD FO to PDF has failed.
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): [warning] /usr/bin/fop: No java runtime was found
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): [ERROR] FOUserAgent - Image not found. URI: images/pdf-logo.png. (See position 78:68)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): [ERROR] FOUserAgent - Image not found. URI: images/pdf-logo.png. (No context info available)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): [INFO] FOUserAgent - Rendered page #1.
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): [WARN] FOUserAgent - Property ID "d2e27" (found on "fo:block") previously used; ID values must be unique within a document! Any reference to it will be considered a reference to the first occurrence in the document. (See position 374:34)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): [WARN] FOUserAgent - "fo:table-body" is missing child elements. Required content model: marker* (table-row+|table-cell+) (See position 464:51)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): [ERROR] FOP - Exception <org.apache.fop.apps.FOPException
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): java.lang.NullPointerException>org.apache.fop.apps.FOPException
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): java.lang.NullPointerException
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:288)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.fop.cli.Main.startFOP(Main.java:186)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.fop.cli.Main.main(Main.java:217)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): Caused by: java.lang.NullPointerException
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.fop.fo.FObjMixed.sendCharacters(FObjMixed.java:151)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.fop.fo.FObjMixed.endOfNode(FObjMixed.java:84)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.fop.fo.flow.Block.endOfNode(Block.java:150)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:360)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:285)
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP): ... 3 more
[info] [2019-03-22 14:51:59] Job 154609 "arFindingAidJob": ERROR(FOP):
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): ---------
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP):
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): java.lang.NullPointerException
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.fop.fo.FObjMixed.sendCharacters(FObjMixed.java:151)
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.fop.fo.FObjMixed.endOfNode(FObjMixed.java:84)
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.fop.fo.flow.Block.endOfNode(Block.java:150)
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:360)
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190)
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102)
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source)
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:285)
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
[info] [2019-03-22 14:52:00] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.fop.cli.Main.startFOP(Main.java:186)
[info] [2019-03-22 14:52:01] Job 154609 "arFindingAidJob": ERROR(FOP): at org.apache.fop.cli.Main.main(Main.java:217)
[info] [2019-03-22 14:52:01] Job 154609 "arFindingAidJob": ERROR(FOP):
[info] [2019-03-22 14:52:01] Job 154609 "arFindingAidJob": Job finished.
With the English xslts, everything works just fine :
[info] [2019-03-21 16:18:11] Job 154604 "arFindingAidJob": Job started.
[info] [2019-03-21 16:18:11] Job 154604 "arFindingAidJob": Generating finding aid (fonds-comite-ministeriel-des-manuels-et-des-programmes-detudes-pour-les-ecoles-bilingues-de-lontario)...
[info] [2019-03-21 16:18:12] Job 154604 "arFindingAidJob": Running: java -jar '/usr/share/nginx/atom/lib/task/pdf/saxon9he.jar' -s:'/tmp/phpg8I0Rt' -xsl:'/usr/share/nginx/atom/lib/task/pdf/ead-pdf-inventory-summary.xsl' -o:'/tmp/phpg9Bu9V' 2>&1
[info] [2019-03-21 16:18:16] Job 154604 "arFindingAidJob": Running: fop -r -q -fo '/tmp/phpg9Bu9V' -pdf '/usr/share/nginx/atom/downloads/fonds-comite-ministeriel-des-manuels-et-des-programmes-detudes-pour-les-ecoles-bilingues-de-lontario.pdf' 2>&1
[info] [2019-03-21 16:18:19] Job 154604 "arFindingAidJob": Finding aid generated successfully: /usr/share/nginx/atom/downloads/fonds-comite-ministeriel-des-manuels-et-des-programmes-detudes-pour-les-ecoles-bilingues-de-lontario.pdf
[info] [2019-03-21 16:18:19] Job 154604 "arFindingAidJob": Job finished.
As far as I remember, when I tried to install the French xslts on the vagrant box, it works just fine as well.
Thank you in advance for your help.
Best regards,
Ghislain Thibault X4014
Archiviste informatique documentaire, CRCCF
--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/YTBPR01MB27036293C70012A586341DA6C7430%40YTBPR01MB2703.CANPRD01.PROD.OUTLOOK.COM.
For more options, visit https://groups.google.com/d/optout.