Also, once you download the EAD, the parse error tells you on what line the error occurred; "189" in this case. The problem may not be *right there* but that will give you a starting point for your search.
On Thu, Jun 17, 2021 at 1:52 PM Valerie Addonizio <[email protected]> wrote: > I second the tip about exporting to EAD as a inroad to the PDF failure. > The EAD export itself *may* fail, but the logging may be more specific. > > > > *From:* [email protected] < > [email protected]> *On Behalf Of *Blake > Carver > *Sent:* Thursday, June 17, 2021 4:50 PM > *To:* Archivesspace Users Group < > [email protected]> > *Subject:* Re: [Archivesspace_Users_Group] Generate PDF Background job > error > > > > "Open quote is expected for attribute "href" associated with an element > type "a"." > > > > There's some bad HTML in there. I usually export it to EAD and then just > search for "href" and look for the bad tags, hopefully it's not a record > with 1000 hrefs in there > ------------------------------ > > *From:* [email protected] < > [email protected]> on behalf of > Zachary L Pelli <[email protected]> > *Sent:* Thursday, June 17, 2021 4:45 PM > *To:* ArchivesSpace List ([email protected]) > <[email protected]> > *Subject:* [Archivesspace_Users_Group] Generate PDF Background job error > > > > Hello all, > > > > We encountered the error below when running the "Generate PDF" job on a > particular resource. Short of looking through every single record in the > resource for the missing ", is there a way to quickly track down the error? > > > > Generating PDF for xxxxxxxxxxxxxxxxxxxxx > > -------------------------------------------------- > > Warning: this resource has not been published > > -------------------------------------------------- > > org.xml.sax.SAXParseException; lineNumber: 189; columnNumber: 110330; Open > quote is expected for attribute "href" associated with an element type > "a". > > > 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(/var/local/archivesspace/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/document_builder.rb:225) > > > RUBY.to_fo(/var/local/archivesspace/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:42) > > > RUBY.to_pdf(/var/local/archivesspace/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58) > > > RUBY.run(/var/local/archivesspace/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/job_runners/print_to_pdf_runner.rb:51) > > > var.local.archivesspace.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(/var/local/archivesspace/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24) > > > RUBY.run(/var/local/archivesspace/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) > > > var.local.archivesspace.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(var/local/archivesspace/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//var/local/archivesspace/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:126) > > > var.local.archivesspace.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(/var/local/archivesspace/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(/var/local/archivesspace/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:748) > > > > > > Regards, > > > > Zach Pelli > > Seton Hall University Libraries > _______________________________________________ > Archivesspace_Users_Group mailing list > [email protected] > http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group >
_______________________________________________ Archivesspace_Users_Group mailing list [email protected] http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
