[Archivesspace_Users_Group] Print to PDF jobs consistantly fail...
Steven Majewski
sdm7g at virginia.edu
Wed May 20 12:42:17 EDT 2015
‘Print Resource to PDF’ is failing because the exported XML that is being used to generate
the PDF is invalid. You should export the XML and look at that. ( Line numbers are in the
error messages below. Or you can run it thru a validator like xmllint or load it into
Oxygen or other XML aware editor. ) When you find the error in the XML, you should be able
to trace it back to which resource in ArchivesSpace is the source of the problem.
If nothing looks obviously wrong, you might be running into the issue in this thread:
http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/2015-February/001174.html
— Steve Majewski
> On May 20, 2015, at 11:56 AM, Rossetti, Dominic <drossetti at colum.edu> wrote:
>
> Hello all,
>
> We’ve noticed since we’ve upgraded to v1.2.0 that a few of our collections fail every time we try to use the “Print Resource to PDF” option in the software. Below are a couple examples of the logs generated after the failed jobs. Any help resolving this would be appreciated.
>
> Log Example #1:
> Generating PDF for William Russo Collection
> org.xml.sax.SAXParseException; lineNumber: 69; columnNumber: 112392; The end-tag for element type "p" must end with a '>' delimiter.
> net.sf.saxon.s9api.DocumentBuilder.build(net/sf/saxon/s9api/DocumentBuilder.java:380)
> RUBY.parse(C:/archivesspace/gems/gems/saxon-xslt-0.5.1-java/lib/saxon/xml.rb:25)
> RUBY.XML(C:/archivesspace/gems/gems/saxon-xslt-0.5.1-java/lib/saxon/processor.rb:50)
> RUBY.XML(C:/archivesspace/gems/gems/saxon-xslt-0.5.1-java/lib/saxon/xml.rb:11)
> RUBY.to_fo(C:/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:35)
> RUBY.to_pdf(C:/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:41)
> RUBY.run(C:/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(C:/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24)
> RequestContext.open(C:/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24)
> RequestContext.open(C:/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:23)
> RequestContext.open(C:/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:23)
> RUBY.run(C:/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(C:/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(C:/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(C:/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:128)
>
>
> Log Example #2:
> Generating PDF for Chicago Anti-Apartheid Movement Collection, 1977-2005
> org.xml.sax.SAXParseException; lineNumber: 69; columnNumber: 11; The element type "p" must be terminated by the matching end-tag "
> ".
> net.sf.saxon.s9api.DocumentBuilder.build(net/sf/saxon/s9api/DocumentBuilder.java:380)
> RUBY.parse(C:/archivesspace/gems/gems/saxon-xslt-0.5.1-java/lib/saxon/xml.rb:25)
> RUBY.XML(C:/archivesspace/gems/gems/saxon-xslt-0.5.1-java/lib/saxon/processor.rb:50)
> RUBY.XML(C:/archivesspace/gems/gems/saxon-xslt-0.5.1-java/lib/saxon/xml.rb:11)
> RUBY.to_fo(C:/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:35)
> RUBY.to_pdf(C:/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:41)
> RUBY.run(C:/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(C:/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24)
> RequestContext.open(C:/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24)
> RequestContext.open(C:/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:23)
> RequestContext.open(C:/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:23)
> RUBY.run(C:/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(C:/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(C:/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(C:/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:128)
>
>
>
> Dominic Rossetti
> Digital Collections Specialist – College Archives
> Columbia College Chicago
> 312.369.8789
> colum.edu/archives <http://colum.edu/archives>
>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org <mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group <http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150520/51276b7c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4943 bytes
Desc: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150520/51276b7c/attachment.bin>
More information about the Archivesspace_Users_Group
mailing list