[Archivesspace_Users_Group] Error when creating PDF Finding Aid Export

Busch, Ed buschedw at msu.edu
Fri Mar 29 13:55:33 EDT 2019


Yep, that was it. I thought they were okay within the <emph>. Thanks!

From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> On Behalf Of Seth Shaw
Sent: Friday, March 29, 2019 1:42 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Error when creating PDF Finding Aid Export

Your guess that "Michigan Women: First & Founders" is causing the failure is probably correct. ArchivesSpace won't encode those ampersands for you. We explicitly train our staff to replace ampersands with `&` but we still occasionally see these errors pop up when someone copy/pastes text and misses one (mostly in citation URLs in notes). Just search for the offending phrase and update the corresponding value.

On Fri, Mar 29, 2019 at 10:37 AM Busch, Ed <buschedw at msu.edu<mailto:buschedw at msu.edu>> wrote:
We are doing Print Resource to PDF for a Resource that fails during the background job execution. The errors that appear are below.
Any suggestions on pinpointing what is causing the problem? I’m wondering if it’s this component line
Betty MacDowell Resource Files for Publication: <emph render="italic">Michigan Women: First & Founders</emph> as it’s the first use of & that isn’t &amp. Grasping at straws.

Thanks!

Ed

Generating PDF for Michigan Women's Studies Association records
org.xml.sax.SAXParseException; lineNumber: 84; columnNumber: 49129; The entity name must immediately follow the '&' in the entity reference.
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/JavaMethod.java:314)
RUBY.parse(/usr/local/archivesspace/gems/gems/saxon-xslt-0.8.2.1-java/lib/saxon/xml.rb:28)
RUBY.XML(/usr/local/archivesspace/gems/gems/saxon-xslt-0.8.2.1-java/lib/saxon/processor.rb:58)
RUBY.XML(/usr/local/archivesspace/gems/gems/saxon-xslt-0.8.2.1-java/lib/saxon/xml.rb:10)
RUBY.to_fo(/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8099-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:32)
RUBY.to_pdf(/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8099-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:38)
RUBY.block in run(/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8099-backend.war-_-any-/webapp/WEB-INF/app/lib/job_runners/print_to_pdf_runner.rb:45)
usr.local.archivesspace.data.tmp.jetty_minus_0_dot_0_dot_0_dot_0_minus_8099_minus_backend_dot_war_minus___minus_any_minus_.webapp.WEB_minus_INF.app.lib.request_context.open(/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8099-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24)
RUBY.run(/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8099-backend.war-_-any-/webapp/WEB-INF/app/lib/job_runners/print_to_pdf_runner.rb:14)
usr.local.archivesspace.data.tmp.jetty_minus_0_dot_0_dot_0_dot_0_minus_8099_minus_backend_dot_war_minus___minus_any_minus_.webapp.WEB_minus_INF.app.lib.background_job_queue.invokeOther45:run(usr/local/archivesspace/data/tmp/jetty_minus_0_dot_0_dot_0_dot_0_minus_8099_minus_backend_dot_war_minus___minus_any_minus_/webapp/WEB_minus_INF/app/lib//usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8099-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:126)
usr.local.archivesspace.data.tmp.jetty_minus_0_dot_0_dot_0_dot_0_minus_8099_minus_backend_dot_war_minus___minus_any_minus_.webapp.WEB_minus_INF.app.lib.background_job_queue.run_pending_job(/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8099-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:126)
RUBY.block in start_background_thread(/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8099-backend.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)



Ed Busch, MLIS
Acting Director
Electronic Records Archivist
Michigan State University Archives
Conrad Hall
943 Conrad Road, Room 101
East Lansing, MI 48824
517-884-6438
buschedw at msu.edu<mailto:buschedw at msu.edu>

_______________________________________________
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<https://urldefense.proofpoint.com/v2/url?u=http-3A__lyralists.lyrasis.org_mailman_listinfo_archivesspace-5Fusers-5Fgroup&d=DwMFaQ&c=nE__W8dFE-shTxStwXtp0A&r=nzQRpzss_AwHOHAKVWRsNQ&m=2tsRyzcDDNWMxoDshgkjBkb_E3Pc5oOZfVREN_d11ZA&s=lfharXKBDawN-i2tXxT8ul1CCznAaUTAve7yg7o_NUA&e=>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20190329/cda4963e/attachment.html>


More information about the Archivesspace_Users_Group mailing list