[Archivesspace_Users_Group] Failed Print to PDF job

Lora Davis ljdavis at colgate.edu
Tue Aug 4 10:49:40 EDT 2015


Glad I checked my email before submitting the exact same concern to the
group.  We're hosted so I can't do much digging, but I tried to generate a
PDF from the same (large, tons of series) problem resource record on a
virtual machine running ArchivesSpace v1.1.0-rc8 (so, pre-batch job
handling of print to PDF) and got the same error.  So, I suspect there is
an issue with the resource record itself playing nicely with the XSL-FO,
but don't know how to go about troubleshooting it (and, frankly, haven't
had the time).  EAD exports just fine so I just published a quick shell of
a guide to meet the needs of the user requesting the PDF, but obviously
want to get to the bottom of this as well.

FYI: Full error log pasted below

Lora

Generating PDF for Ernest K. Gann papers
org.apache.fop.fo.ValidationException: "fo:inline" is not a valid child of
"fo:bookmark-title"! (See position 45:-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:606)
RUBY.to_pdf(/home/colgate/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:45)
RUBY.run(/home/colgate/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/print_to_pdf_runner.rb:46)
RequestContext.open(/home/colgate/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24)
RequestContext.open(/home/colgate/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24)
RequestContext.open(/home/colgate/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:23)
RequestContext.open(/home/colgate/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:23)
RUBY.run(/home/colgate/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(/home/colgate/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(/home/colgate/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(/home/colgate/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)

On Mon, Aug 3, 2015 at 10:55 AM, Christina Barber <cbarber at amherst.edu>
wrote:

> Hi all,
>
>
>
> I have had several Print to PDF jobs fail recently and am receiving errors
> messages like this:
>
>
>
> org.apache.fop.fo.ValidationException: "fo:block" is not a valid child of
> "fo:bookmark-title"! (See position 65:-1)
>
> org.apache.fop.fo.ValidationException: "fo:inline" is not a valid child of
> "fo:bookmark-title"! (See position 125:-1)
>
>
>
> Can anyone offer insight into what these fop errors might mean or how they
> can be corrected?  Also, any thoughts on how to determine the position of
> the errors (“See position 65:-1).
>
>
>
> Thank you,
>
> Chris
>
>
>
> Christina E. Barber
>
> Deputy Archivist
>
> Amherst College
>
> cbarber at amherst.edu
>
>
>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>
>


-- 
Lora J. Davis
Collections Archivist
Colgate University Libraries
13 Oak Drive
Hamilton, NY 13346
Tel:  (315) 228-6376
Fax: (315) 228-7934
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150804/435d5a8c/attachment.html>


More information about the Archivesspace_Users_Group mailing list