[Archivesspace_Users_Group] Error with Export to PDF following Migration from AT

Custer, Mark mark.custer at yale.edu
Wed Jun 22 16:43:32 EDT 2016


Lora is right.  I didn’t write the style sheets, but I have experience with XSL-FO, so I’ll take a look at this tonight.  It should only require a minor change.  I’ll write back with an update tomorrow, unless someone else beats me to a fix for this.

Mark



From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Lora Davis
Sent: Wednesday, 22 June, 2016 4:27 PM
To: Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] Error with Export to PDF following Migration from AT

Any chance there’s inline coding present in any of the fields that would be output to the table of contents of the PDF?  (Most common scenario would be italicized proper titles present in the titles.)

If so, see:  https://archivesspace.atlassian.net/browse/AR-1312<https://urldefense.proofpoint.com/v2/url?u=https-3A__archivesspace.atlassian.net_browse_AR-2D1312&d=CwMGaQ&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=s7ciGQfUJeaV_ryx908hbeXDoU9aqDwDN0Z0VbfsJ3Y&m=1Ou8gWzR_OKQvdpkucDtbJc3Uh8WcCgjRogS5uV-bOM&s=EvwPj89fgz3q_A2BkhctMv_cIC3YLKrrMDsKcXZH6TI&e=> which I reported back in August.

Best,

Lora

From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Chelsea Lobdell
Sent: Wednesday, June 22, 2016 3:59 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Subject: [Archivesspace_Users_Group] Error with Export to PDF following Migration from AT

Hi,
I just recently migrated all our data from AT to AS. The migration was successful and the data looks good for the most part. Our college archivist did notice an error when trying to export records to a PDF. Some records export successfully while others encounter the following error:

Generating PDF for Howard Haines Brinton and Anna Shipley Cox Brinton papers

org.apache.fop.fo.ValidationException: "fo:inline" is not a valid child of "fo:bookmark-title"! (See position 129:-1)

net.sf.saxon.event.ContentHandlerProxy.handleSAXException(net/sf/saxon/event/ContentHandlerProxy.java:542)

net.sf.saxon.event.ContentHandlerProxy.startContent(net/sf/saxon/event/ContentHandlerProxy.java:386)

net.sf.saxon.event.NamespaceReducer.startContent(net/sf/saxon/event/NamespaceReducer.java:199)

net.sf.saxon.event.ReceivingContentHandler.startElement(net/sf/saxon/event/ReceivingContentHandler.java:351)

net.sf.saxon.event.Sender.sendSAXSource(net/sf/saxon/event/Sender.java:428)

net.sf.saxon.event.Sender.send(net/sf/saxon/event/Sender.java:170)

net.sf.saxon.IdentityTransformer.transform(net/sf/saxon/IdentityTransformer.java:46)

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

RUBY.to_pdf(/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44)

RUBY.run(/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/print_to_pdf_runner.rb:46)

RequestContext.open(/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24)

RequestContext.open(/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24)

RequestContext.open(/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:23)

RequestContext.open(/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:23)

RUBY.run(/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/print_to_pdf_runner.rb:23)

BackgroundJobQueue.run_pending_job(/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:100)

BackgroundJobQueue.run_pending_job(/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:100)

RUBY.start_background_thread(/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:128)

java.lang.Thread.run(java/lang/Thread.java:745)
I could discern no major differences in the data between successfully exporting records and records that failed the export. Has anyone encountered this error before? Any advice would be greatly appreciated!
- Chelsea
---------------
Chelsea Lobdell
Library Web Developer/ Swarthmore College
clobdel1 at swarthmore.edu<mailto:clobdel1 at swarthmore.edu> / (610)690-6818
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20160622/ea31f663/attachment.html>


More information about the Archivesspace_Users_Group mailing list