[Archivesspace_Users_Group] ArchivesSpace failing to export resource to PDF

Custer, Mark mark.custer at yale.edu
Tue Jun 26 09:58:07 EDT 2018


Thomas,


If you could send me a copy of the EAD file, I can take a look this afternoon (I'm working on a new process to create PDF files in ASpace using the new EAD3 export option, but I have the current ASpace PDF files handy for testing).


The issue is definitely that the current EAD to PDF process is creating an invalid XSL-FO file, which Apache FOP cannot then render properly as a PDF file, as Trevor mentioned.  Without seeing the EAD file, though, it's impossible to tell if there's an issue in the EAD or the XSL file that's being used to create the temporary XSL-FO file.


Mark



________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Adams, Thomas <tadams at cshl.edu>
Sent: Monday, June 25, 2018 6:14:09 PM
To: Archivesspace Users Group (Archivesspace_Users_Group at lyralists.lyrasis.org)
Subject: [Archivesspace_Users_Group] ArchivesSpace failing to export resource to PDF


>From the staff interface in ArchivesSpace 2.3.2, I am attempting to “Export | Print resource to PDF”. The batch submission get things started fine, but the job ends up with a failure status when it completes.



I see the following error message:



# more /home/archivesspace/archivesspace-v2.3.2/archivesspace/data/shared/job_files/print_to_pdf_job_236/output.log

Generating PDF for Oral History

org.apache.fop.fo.ValidationException: "fo:list-block" is missing child elements. Required content model: marker* (list-item)+ (See position 1794:68)

org.apache.xalan.transformer.TransformerIdentityImpl.transform(org/apache/xalan/transformer/TransformerIdentityImpl.java:502)

java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498)

….



Trevor Thornton gave the following suggestion to the ASpace mailing list (back in 2017-03-21) to a similar error message:

       Looks like there is a list in a note somewhere that has no list items -

      that what this seems to be saying:



      org.apache.fop.fo.ValidationException: "fo:list-block" is missing child

     elements. Required content model: marker* (list-item)+ (See position 508:68)



      I would try to export the resource as an EAD, and if that works you might

     more easily search through the XML to find the problem.



I  was able to “Export | Download EAD”,  that resource as suggested, but there were only three <list type=”ordered”> tags in the EAD and all of them had <head> and <item> as children.



I also looked on the ArchivesSpace server and was not able to find a temporary file created at that time, that might have position 1794:68 (line#:char).



Any suggestions on what to try next?



Thanks



-Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20180626/b3fa1ccc/attachment.html>


More information about the Archivesspace_Users_Group mailing list