[Archivesspace_Users_Group] PDF Generation Error

Kirill Batyuk kbatyuk at whoi.edu
Tue Feb 25 12:50:29 EST 2020


Hello,

 

I was trying to generate Export -> Print to PDF for one of our resources and
it fails with the following error:

 

 Generating PDF for Kenneth O. Emery papers  

org.xml.sax.SAXParseException; lineNumber: 70; columnNumber: 15; The element
type "img" must be terminated by the matching end-tag "</img>".

net.sf.saxon.s9api.DocumentBuilder.build(net/sf/saxon/s9api/DocumentBuilder.
java:379)

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

org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby
/javasupport/JavaMethod.java:453)

org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMeth
od.java:314)

RUBY.parse(/data/archivesspace/gems/gems/saxon-xslt-0.8.2.1-java/lib/saxon/x
ml.rb:28)

RUBY.XML(/data/archivesspace/gems/gems/saxon-xslt-0.8.2.1-java/lib/saxon/pro
cessor.rb:58)

RUBY.XML(/data/archivesspace/gems/gems/saxon-xslt-0.8.2.1-java/lib/saxon/xml
.rb:10)

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

RUBY.to_pdf(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-an
y-/webapp/WEB-INF/app/lib/AS_fop.rb:43)

RUBY.block in
run(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webap
p/WEB-INF/app/lib/job_runners/print_to_pdf_runner.rb:51)

data.archivesspace.data.tmp.jetty_minus_0_dot_0_dot_0_dot_0_minus_8089_minus
_backend_dot_war_minus___minus_any_minus_.webapp.WEB_minus_INF.app.lib.reque
st_context.open(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-
_-any-/webapp/WEB-INF/app/lib/request_context.rb:24)

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

data.archivesspace.data.tmp.jetty_minus_0_dot_0_dot_0_dot_0_minus_8089_minus
_backend_dot_war_minus___minus_any_minus_.webapp.WEB_minus_INF.app.lib.backg
round_job_queue.invokeOther45:run(data/archivesspace/data/tmp/jetty_minus_0_
dot_0_dot_0_dot_0_minus_8089_minus_backend_dot_war_minus___minus_any_minus_/
webapp/WEB_minus_INF/app/lib//data/archivesspace/data/tmp/jetty-0.0.0.0-8089
-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:126)

data.archivesspace.data.tmp.jetty_minus_0_dot_0_dot_0_dot_0_minus_8089_minus
_backend_dot_war_minus___minus_any_minus_.webapp.WEB_minus_INF.app.lib.backg
round_job_queue.run_pending_job(/data/archivesspace/data/tmp/jetty-0.0.0.0-8
089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:126)

RUBY.block in
start_background_thread(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-back
end.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:169)

org.jruby.RubyProc.call(org/jruby/RubyProc.java:289)

org.jruby.RubyProc.call(org/jruby/RubyProc.java:246)

java.lang.Thread.run(java/lang/Thread.java:748)

 

Have anyone encountered this, and if so, how do I go about fixing it?

We are on ArchivesSpace v.2.7.0

Thank you,

 

Kirill Batyuk

Systems Librarian

MBLWHOI Library

Data Library and Archives

Woods Hole Oceanographic Institution

508-289-2850

kbatyuk at whoi.edu <mailto:kbatyuk at whoi.edu> 

mblwhoilibrary.org <http://mblwhoilibrary.org/>  --- whoi.edu

ORCID <http://orcid.org/0000-0003-0240-2209> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200225/a316c5c5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5533 bytes
Desc: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200225/a316c5c5/attachment.bin>


More information about the Archivesspace_Users_Group mailing list