[Archivesspace_Users_Group] Error when creating PDF Finding Aid Export

Seth Shaw seth.shaw at unlv.edu
Fri Mar 29 13:42:20 EDT 2019


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> 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
>
>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> 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/20190329/ae265406/attachment.html>


More information about the Archivesspace_Users_Group mailing list