Bug #13247

Finding aid generation sometimes fails reading DTD file

Added by José Raddaoui Marín about 1 month ago.

Status:NewStart date:01/19/2020
Priority:MediumDue date:
Assignee:-% Done:

0%

Category:Finding aids
Target version:-
Google Code Legacy ID: Tested version:2.5, 2.6
Sponsored:No Requires documentation:

Description

I'm not sure if this random issue accessing the DTD file is only a temporary problem or if it will happen in other environments but, in some cases, the finding aid generation fails with the following error:

[info] [2020-01-19 08:49:19] Job 2003879 "arFindingAidJob": Running: java -jar '/atom/src/lib/task/pdf/saxon9he.jar' -s:'/tmp/phpnipmmK' -xsl:'/atom/src/lib/task/pdf/ead-pdf-inventory-summary.xsl' -o:'/tmp/phpEgKMPd' 2>&1
[info] [2020-01-19 08:51:30] Job 2003879 "arFindingAidJob": Transforming the EAD with Saxon has failed.
[info] [2020-01-19 08:51:30] Job 2003879 "arFindingAidJob": ERROR(SAXON): Error
[info] [2020-01-19 08:51:31] Job 2003879 "arFindingAidJob": ERROR(SAXON):   I/O error reported by XML parser processing file:/tmp/phpnipmmK: Operation timed out
[info] [2020-01-19 08:51:31] Job 2003879 "arFindingAidJob": ERROR(SAXON):   (Connection timed out)
[info] [2020-01-19 08:51:31] Job 2003879 "arFindingAidJob": ERROR(SAXON): Transformation failed: Run-time errors were reported
[info] [2020-01-19 08:51:31] Job 2003879 "arFindingAidJob": Job finished.

Running that command manually with the verbose option, the timeout can happen in two different places or not happen at all, and the issue seems to be related to the DTD file. As a workaround, removing the DOCTYPE declaration from the EAD export avoids the timeout in all cases.


Related issues

Related to Access to Memory (AtoM) - Feature #10591: Update finding aid XSLTs with formatting improvements Verified 11/21/2016
Related to Access to Memory (AtoM) - Bug #13197: Generate finding aid results in elasticsearch error "Docu... New 10/02/2019

History

#1 Updated by José Raddaoui Marín about 1 month ago

  • Related to Feature #10591: Update finding aid XSLTs with formatting improvements added

#3 Updated by Dan Gillean about 1 month ago

  • Related to Bug #13197: Generate finding aid results in elasticsearch error "DocumentMissingException" added

Also available in: Atom PDF