[Archivesspace_Users_Group] Error generating PDF export for a finding aid.
Dan Michelson
dmichelson at smith.edu
Tue Mar 15 08:43:57 EDT 2022
Hi Kirill,
The relevant line in your error message is this:
> org.xml.sax.SAXParseException; lineNumber: 139; columnNumber: 16002; The
> reference to entity "G" must end with the ';' delimiter.
>
I have not seen that specific error before, but I find it's often easiest
to export the resource as EAD and look at the XML for the issue.
Also, the staff interface and PUI use different PDF exporters. Sometimes
you can generate a PDF from one and not the other.
All the best,
Dan
P. S. Minor qualification to Jim's note about ampersands. In our
experience, ampersands work fine if there are spaces after them. It's
ampersands immediately followed by a character that throws errors.
On Tue, Mar 15, 2022 at 8:34 AM James E. Cross <jcross at clemson.edu> wrote:
> I am wondering if this is the “&” problem. A PDF cannot be generated if
> there is an “&” anywhere in the description. We ran into that problem here
> at Clemson.
>
>
>
> Jim Cross
>
> Manuscripts Archivist
>
>
>
>
>
>
>
> *James Edward Cross, C.A.* CLEMSON UNIVERSITY
>
> Manuscripts Archivist
>
> Special Collections and Archives
>
> Clemson University Libraries
>
> Box 343001
>
> Clemson, SC 29634-3001
>
> Phone: (864) 656-5182
>
> Website: http://library.clemson.edu/depts/specialcollections/
>
> Pronouns: he/him/his
>
> Traditional Cherokee Lands | Site of Fort Hill Plantation
>
> *Please do not feel obligated to respond to this message outside of your
> normal working hours.*
>
>
>
>
>
> *From:* archivesspace_users_group-bounces at lyralists.lyrasis.org <
> archivesspace_users_group-bounces at lyralists.lyrasis.org> *On Behalf Of *Kirill
> Batyuk
> *Sent:* Tuesday, March 15, 2022 8:25 AM
> *To:* archivesspace_users_group at lyralists.lyrasis.org
> *Subject:* [Archivesspace_Users_Group] Error generating PDF export for a
> finding aid.
>
>
>
> Hi,
>
>
>
> Our Archivist is running into a problem with generating PDF for a finding
> aid. The job fails with the following log:
>
>
>
> Generating PDF for Titanic Discovery collection
>
> org.xml.sax.SAXParseException; lineNumber: 139; columnNumber: 16002; The
> reference to entity "G" must end with the ';' delimiter.
>
>
> net.sf.saxon.s9api.DocumentBuilder.build(net/sf/saxon/s9api/DocumentBuilder.java:360)
>
> java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498)
>
>
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:456)
>
>
> org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:317)
>
>
> RUBY.build(/data/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/document_builder.rb:225)
>
>
> RUBY.to_fo(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:42)
>
>
> RUBY.to_pdf(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58)
>
>
> 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:50)
>
>
> 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.request_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:13)
>
>
> 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.background_job_queue.invokeOther31: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.background_job_queue.run_pending_job(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:126)
>
>
> RUBY.start_background_thread(/data/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:169)
>
> org.jruby.RubyProc.call(org/jruby/RubyProc.java:318)
>
> java.lang.Thread.run(java/lang/Thread.java:750)
>
>
>
>
>
> Any idea how to resolve this problem?
>
>
>
> Thank you,
>
>
>
> Kirill Batyuk
>
> Systems Librarian
>
> MBLWHOI Library
>
> Data Library and Archives
>
> Woods Hole Oceanographic Institution
>
> 508-289-2850
>
> kbatyuk at whoi.edu
>
> mblwhoilibrary.org
> <https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__http%3A%2Fmblwhoilibrary.org%2F__%3B!!NkSChLMW7qAT!qzl-Bw_htCSDBNQJszDywSpH7dOtkXO9Vs5MFihCtlGhhw559rfEgq-mCQ8O4cqor2tQ47n6Alhw%24&data=02%7C01%7Ckbatyuk%40whoi.edu%7C22c0a3f635574b32bbc708d869775c57%7Cd44c5cc6d18c46cc8abd4fdf5b6e5944%7C0%7C0%7C637375308676908325&sdata=JUxSBfV4tndevzK45XLBwhtOIu6glwiUh4J15EFAEiA%3D&reserved=0>
> --- whoi.edu
> <https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwhoi.edu%2F&data=02%7C01%7Ckbatyuk%40whoi.edu%7C22c0a3f635574b32bbc708d869775c57%7Cd44c5cc6d18c46cc8abd4fdf5b6e5944%7C0%7C0%7C637375308676918319&sdata=RKd1NDGHHeIeKE7Fnf%2BT0hgmxfQymHBSR2TdbmL%2Bvqg%3D&reserved=0>
>
> ORCID
> <https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__http%3A%2Forcid.org%2F0000-0003-0240-2209__%3B!!NkSChLMW7qAT!qzl-Bw_htCSDBNQJszDywSpH7dOtkXO9Vs5MFihCtlGhhw559rfEgq-mCQ8O4cqor2tQ46IK8ae6%24&data=02%7C01%7Ckbatyuk%40whoi.edu%7C22c0a3f635574b32bbc708d869775c57%7Cd44c5cc6d18c46cc8abd4fdf5b6e5944%7C0%7C0%7C637375308676918319&sdata=dpSW2YomKCqBKXj4aGam%2BrIpKqFhF2%2FV9hxt9Nu6wGI%3D&reserved=0>
>
>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>
--
Dan Michelson
Collections Archivist
Smith College Special Collections
For current library access and services details, see Library Services
During COVID-19
<https://libraries.smith.edu/library-services-during-covid-19>.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20220315/fe87cc29/attachment.html>
More information about the Archivesspace_Users_Group
mailing list