From buschedw at msu.edu Thu Apr 1 09:54:31 2021 From: buschedw at msu.edu (Busch, Ed) Date: Thu, 1 Apr 2021 13:54:31 +0000 Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? In-Reply-To: <92560AD7-2500-4146-B440-757CA8B586CC@virginia.edu> References: <6F37B284-C1AC-4608-9D57-6D51369EB47F@msu.edu> <6B2DA6D4-08A4-4E19-BC24-593A74FC0A11@msu.edu> <92560AD7-2500-4146-B440-757CA8B586CC@virginia.edu> Message-ID: <3004E6EE-8C83-4436-987D-40E5B8AB26AA@msu.edu> Thanks, Steve. Time to dig into this deeper. Some of my Preservica ones work fine. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of "Majewski, Steven Dennis (sdm7g)" Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Wednesday, March 31, 2021 at 4:06 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? It definitely doesn?t like those Preservica URLs. The staff PDF production goes thru 3 steps, and you can do them separately and manually to debug. [1] export EAD XML [2] Run XSLT processor on EAD with /stylesheets/as-ead-pdf.xsl xsl-fo stylesheet $ saxon -xsl:archivesspace/stylesheets/as-ead-pdf.xsl -s:UA.15.9_20210331_175003_UTC__ead.xml -o:fop.fo [3] Run FOP processor on output of xsl-fo stylesheet. $ fop fop.fo -pdf fop.pdf After an error on logo image (because I?m not in the right directory and didn?t pass a param so it can find it) And a bunch of warning in info messages that can be ignored, I get a whole series of errors like this: SEVERE: Error while rendering page 19 java.lang.IllegalStateException: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:688) at org.apache.fop.pdf.PDFFactory.getTargetUri(PDFFactory.java:646) at org.apache.fop.pdf.PDFFactory.getExternalAction(PDFFactory.java:585) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.getAction(PDFDocumentNavigationHandler.java:173) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.renderLink(PDFDocumentNavigationHandler.java:107) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597) at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:316) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:243) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:287) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:192) at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:634) at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:512) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:564) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:509) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:504) at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:339) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:458) at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:139) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:362) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190) at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:293) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116) at org.apache.fop.cli.Main.startFOP(Main.java:183) at org.apache.fop.cli.Main.main(Main.java:214) Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at java.base/java.net.URI$Parser.fail(URI.java:2963) at java.base/java.net.URI$Parser.checkChars(URI.java:3134) at java.base/java.net.URI$Parser.checkChar(URI.java:3144) at java.base/java.net.URI$Parser.parse(URI.java:3159) at java.base/java.net.URI.(URI.java:855) at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:686) ... 39 more And searching for ?Preservica Internal? in the EAD, I see that some of those URLs are text strings: --

These are photographs taken at the College of Arts and Letters Alumni Homecoming Tailgate tent.These are part of a larger group of College of Arts and Letters photographs that have an identifier beginning with A.2013.0031.

Preservica Internal URL

https://us.preservica.com/explorer/explorer.html#prop:4&0a205486-db11-445e-a49f-7c0c55ef8c63

-- And others (which are the source of the problem) are DAO href attribute values that are character escaped tags. Not sure how you?ve got this encoded in ArchivesSpace for it to export like this, but those are the values that need to be fixed. --

ArtPrize Submissions: 2020-12-07

-- ? Steve Majewski On Mar 31, 2021, at 2:24 PM, Busch, Ed > wrote: Just curious, in the Preservica added Notes in their Subnote Text content do you have them begin with
&fb978c72-bce5-4d04-b69b-762891c683b4 Just wild guessing right now. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Benedett, Barbara" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 1:59 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, I just tested one of ours that has the Preservica-generated External document note and it was successful. I'll try a few others and see if I can recreate your issue. Barbara J. Benedett, CA, DAS Digital Archivist | Rock Resource Center 1720 Locust Street, Philadelphia, PA 19103 (215) 717-3139 Phone | (215) 893-9065 Fax | barbara.benedett at curtis.edu ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Busch, Ed > Sent: Wednesday, March 31, 2021 1:51 PM To: archivesspace_users_group at lyralists.lyrasis.org > Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? When I do Generate PDF for a particular Resource, the job fails. This resource has added Preservica content in External Documents, Notes and added DOs. I?m suspecting something in one of those fields is causing the problem. I?ve attached the EAD export. Here?s the error list: Generating PDF for College of Arts and Letters records Internal error evaluating template rule at line 123 in module file:/archivesspace/stylesheets/as-ead-pdf.xsl net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(net/sf/saxon/expr/instruct/TemplateRule.java:371) net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533) net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746) net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441) java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498) org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426) org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293) org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514) org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755) org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200) org.jruby.RubyKernel$INVOKER$s$send.call(org/jruby/RubyKernel$INVOKER$s$send.gen) RUBY.invocation_lambda(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270) org.jruby.RubyProc.call(org/jruby/RubyProc.java:291) org.jruby.RubyProc$INVOKER$i$call.call(org/jruby/RubyProc$INVOKER$i$call.gen) RUBY.to_destination(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73) RUBY.to_fo(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44) RUBY.to_pdf(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58) RUBY.run(/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) 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(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24) RUBY.run(/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) 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(archivesspace/data/tmp/jetty_minus_0_dot_0_dot_0_dot_0_minus_8 Any suggestions? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his _______________________________________________ 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: From benn.joseph at northwestern.edu Thu Apr 1 11:35:15 2021 From: benn.joseph at northwestern.edu (Benn Joseph) Date: Thu, 1 Apr 2021 15:35:15 +0000 Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? In-Reply-To: <3004E6EE-8C83-4436-987D-40E5B8AB26AA@msu.edu> References: <6F37B284-C1AC-4608-9D57-6D51369EB47F@msu.edu> <6B2DA6D4-08A4-4E19-BC24-593A74FC0A11@msu.edu> <92560AD7-2500-4146-B440-757CA8B586CC@virginia.edu> <3004E6EE-8C83-4436-987D-40E5B8AB26AA@msu.edu> Message-ID: Hey Ed?can you share the EAD export for one that isn?t working? --Benn From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Busch, Ed Sent: Thursday, April 01, 2021 8:55 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks, Steve. Time to dig into this deeper. Some of my Preservica ones work fine. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Majewski, Steven Dennis (sdm7g)" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 4:06 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? It definitely doesn?t like those Preservica URLs. The staff PDF production goes thru 3 steps, and you can do them separately and manually to debug. [1] export EAD XML [2] Run XSLT processor on EAD with /stylesheets/as-ead-pdf.xsl xsl-fo stylesheet $ saxon -xsl:archivesspace/stylesheets/as-ead-pdf.xsl -s:UA.15.9_20210331_175003_UTC__ead.xml -o:fop.fo [3] Run FOP processor on output of xsl-fo stylesheet. $ fop fop.fo -pdf fop.pdf After an error on logo image (because I?m not in the right directory and didn?t pass a param so it can find it) And a bunch of warning in info messages that can be ignored, I get a whole series of errors like this: SEVERE: Error while rendering page 19 java.lang.IllegalStateException: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:688) at org.apache.fop.pdf.PDFFactory.getTargetUri(PDFFactory.java:646) at org.apache.fop.pdf.PDFFactory.getExternalAction(PDFFactory.java:585) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.getAction(PDFDocumentNavigationHandler.java:173) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.renderLink(PDFDocumentNavigationHandler.java:107) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597) at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:316) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:243) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:287) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:192) at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:634) at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:512) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:564) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:509) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:504) at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:339) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:458) at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:139) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:362) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190) at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:293) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116) at org.apache.fop.cli.Main.startFOP(Main.java:183) at org.apache.fop.cli.Main.main(Main.java:214) Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at java.base/java.net.URI$Parser.fail(URI.java:2963) at java.base/java.net.URI$Parser.checkChars(URI.java:3134) at java.base/java.net.URI$Parser.checkChar(URI.java:3144) at java.base/java.net.URI$Parser.parse(URI.java:3159) at java.base/java.net.URI.(URI.java:855) at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:686) ... 39 more And searching for ?Preservica Internal? in the EAD, I see that some of those URLs are text strings: --

These are photographs taken at the College of Arts and Letters Alumni Homecoming Tailgate tent.These are part of a larger group of College of Arts and Letters photographs that have an identifier beginning with A.2013.0031.

Preservica Internal URL

https://us.preservica.com/explorer/explorer.html#prop:4&0a205486-db11-445e-a49f-7c0c55ef8c63

-- And others (which are the source of the problem) are DAO href attribute values that are character escaped
tags. Not sure how you?ve got this encoded in ArchivesSpace for it to export like this, but those are the values that need to be fixed. --

ArtPrize Submissions: 2020-12-07

-- ? Steve Majewski On Mar 31, 2021, at 2:24 PM, Busch, Ed > wrote: Just curious, in the Preservica added Notes in their Subnote Text content do you have them begin with
&fb978c72-bce5-4d04-b69b-762891c683b4 Just wild guessing right now. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Benedett, Barbara" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 1:59 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, I just tested one of ours that has the Preservica-generated External document note and it was successful. I'll try a few others and see if I can recreate your issue. Barbara J. Benedett, CA, DAS Digital Archivist | Rock Resource Center 1720 Locust Street, Philadelphia, PA 19103 (215) 717-3139 Phone | (215) 893-9065 Fax | barbara.benedett at curtis.edu ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Busch, Ed > Sent: Wednesday, March 31, 2021 1:51 PM To: archivesspace_users_group at lyralists.lyrasis.org > Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? When I do Generate PDF for a particular Resource, the job fails. This resource has added Preservica content in External Documents, Notes and added DOs. I?m suspecting something in one of those fields is causing the problem. I?ve attached the EAD export. Here?s the error list: Generating PDF for College of Arts and Letters records Internal error evaluating template rule at line 123 in module file:/archivesspace/stylesheets/as-ead-pdf.xsl net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(net/sf/saxon/expr/instruct/TemplateRule.java:371) net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533) net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746) net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441) java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498) org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426) org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293) org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514) org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755) org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200) org.jruby.RubyKernel$INVOKER$s$send.call(org/jruby/RubyKernel$INVOKER$s$send.gen) RUBY.invocation_lambda(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270) org.jruby.RubyProc.call(org/jruby/RubyProc.java:291) org.jruby.RubyProc$INVOKER$i$call.call(org/jruby/RubyProc$INVOKER$i$call.gen) RUBY.to_destination(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73) RUBY.to_fo(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44) RUBY.to_pdf(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58) RUBY.run(/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) 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(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24) RUBY.run(/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) 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(archivesspace/data/tmp/jetty_minus_0_dot_0_dot_0_dot_0_minus_8 Any suggestions? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his _______________________________________________ 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: From buschedw at msu.edu Thu Apr 1 11:43:18 2021 From: buschedw at msu.edu (Busch, Ed) Date: Thu, 1 Apr 2021 15:43:18 +0000 Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? In-Reply-To: References: <6F37B284-C1AC-4608-9D57-6D51369EB47F@msu.edu> <6B2DA6D4-08A4-4E19-BC24-593A74FC0A11@msu.edu> <92560AD7-2500-4146-B440-757CA8B586CC@virginia.edu> <3004E6EE-8C83-4436-987D-40E5B8AB26AA@msu.edu> Message-ID: <27BC4BBF-3B6F-4054-8692-27CA367809D7@msu.edu> Sure. I just put a ticket in with my local IT for some help. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Benn Joseph Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 11:35 AM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hey Ed?can you share the EAD export for one that isn?t working? --Benn From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Busch, Ed Sent: Thursday, April 01, 2021 8:55 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks, Steve. Time to dig into this deeper. Some of my Preservica ones work fine. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Majewski, Steven Dennis (sdm7g)" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 4:06 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? It definitely doesn?t like those Preservica URLs. The staff PDF production goes thru 3 steps, and you can do them separately and manually to debug. [1] export EAD XML [2] Run XSLT processor on EAD with /stylesheets/as-ead-pdf.xsl xsl-fo stylesheet $ saxon -xsl:archivesspace/stylesheets/as-ead-pdf.xsl -s:UA.15.9_20210331_175003_UTC__ead.xml -o:fop.fo [3] Run FOP processor on output of xsl-fo stylesheet. $ fop fop.fo -pdf fop.pdf After an error on logo image (because I?m not in the right directory and didn?t pass a param so it can find it) And a bunch of warning in info messages that can be ignored, I get a whole series of errors like this: SEVERE: Error while rendering page 19 java.lang.IllegalStateException: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:688) at org.apache.fop.pdf.PDFFactory.getTargetUri(PDFFactory.java:646) at org.apache.fop.pdf.PDFFactory.getExternalAction(PDFFactory.java:585) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.getAction(PDFDocumentNavigationHandler.java:173) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.renderLink(PDFDocumentNavigationHandler.java:107) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597) at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:316) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:243) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:287) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:192) at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:634) at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:512) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:564) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:509) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:504) at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:339) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:458) at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:139) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:362) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190) at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:293) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116) at org.apache.fop.cli.Main.startFOP(Main.java:183) at org.apache.fop.cli.Main.main(Main.java:214) Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at java.base/java.net.URI$Parser.fail(URI.java:2963) at java.base/java.net.URI$Parser.checkChars(URI.java:3134) at java.base/java.net.URI$Parser.checkChar(URI.java:3144) at java.base/java.net.URI$Parser.parse(URI.java:3159) at java.base/java.net.URI.(URI.java:855) at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:686) ... 39 more And searching for ?Preservica Internal? in the EAD, I see that some of those URLs are text strings: --

These are photographs taken at the College of Arts and Letters Alumni Homecoming Tailgate tent.These are part of a larger group of College of Arts and Letters photographs that have an identifier beginning with A.2013.0031.

Preservica Internal URL

https://us.preservica.com/explorer/explorer.html#prop:4&0a205486-db11-445e-a49f-7c0c55ef8c63

-- And others (which are the source of the problem) are DAO href attribute values that are character escaped
tags. Not sure how you?ve got this encoded in ArchivesSpace for it to export like this, but those are the values that need to be fixed. --

ArtPrize Submissions: 2020-12-07

-- ? Steve Majewski On Mar 31, 2021, at 2:24 PM, Busch, Ed > wrote: Just curious, in the Preservica added Notes in their Subnote Text content do you have them begin with
&fb978c72-bce5-4d04-b69b-762891c683b4 Just wild guessing right now. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Benedett, Barbara" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 1:59 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, I just tested one of ours that has the Preservica-generated External document note and it was successful. I'll try a few others and see if I can recreate your issue. Barbara J. Benedett, CA, DAS Digital Archivist | Rock Resource Center 1720 Locust Street, Philadelphia, PA 19103 (215) 717-3139 Phone | (215) 893-9065 Fax | barbara.benedett at curtis.edu ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Busch, Ed > Sent: Wednesday, March 31, 2021 1:51 PM To: archivesspace_users_group at lyralists.lyrasis.org > Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? When I do Generate PDF for a particular Resource, the job fails. This resource has added Preservica content in External Documents, Notes and added DOs. I?m suspecting something in one of those fields is causing the problem. I?ve attached the EAD export. Here?s the error list: Generating PDF for College of Arts and Letters records Internal error evaluating template rule at line 123 in module file:/archivesspace/stylesheets/as-ead-pdf.xsl net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(net/sf/saxon/expr/instruct/TemplateRule.java:371) net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533) net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746) net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441) java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498) org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426) org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293) org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514) org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755) org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200) org.jruby.RubyKernel$INVOKER$s$send.call(org/jruby/RubyKernel$INVOKER$s$send.gen) RUBY.invocation_lambda(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270) org.jruby.RubyProc.call(org/jruby/RubyProc.java:291) org.jruby.RubyProc$INVOKER$i$call.call(org/jruby/RubyProc$INVOKER$i$call.gen) RUBY.to_destination(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73) RUBY.to_fo(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44) RUBY.to_pdf(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58) RUBY.run(/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) 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(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24) RUBY.run(/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) 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(archivesspace/data/tmp/jetty_minus_0_dot_0_dot_0_dot_0_minus_8 Any suggestions? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his _______________________________________________ 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: UA.15.9_20210401_145232_UTC__ead.xml Type: application/xml Size: 207764 bytes Desc: UA.15.9_20210401_145232_UTC__ead.xml URL: From mark.custer at yale.edu Thu Apr 1 12:35:39 2021 From: mark.custer at yale.edu (Custer, Mark) Date: Thu, 1 Apr 2021 16:35:39 +0000 Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? In-Reply-To: <27BC4BBF-3B6F-4054-8692-27CA367809D7@msu.edu> References: <6F37B284-C1AC-4608-9D57-6D51369EB47F@msu.edu> <6B2DA6D4-08A4-4E19-BC24-593A74FC0A11@msu.edu> <92560AD7-2500-4146-B440-757CA8B586CC@virginia.edu> <3004E6EE-8C83-4436-987D-40E5B8AB26AA@msu.edu> <27BC4BBF-3B6F-4054-8692-27CA367809D7@msu.edu> Message-ID: It looks like Steve?s diagnosis below is spot on. Those links have HTML in them, but you just want the links, so that?s why things aren?t working. Ed, if you have access to run SQL queries against your ArchivesSpace database, I?d start there. Just look for HTML tags in your file version URIs (e.g. any file uris with ?a href?, etc.). Anything that shows up there would need to be fixed, since you just want the HTTP/S links there, not any HTML. I?d be curious how the HTML got in there, and whether or not a resynch with Preservica would fix that?? The HTML tags are also being added to some (but not all) of those ?other finding aid? notes. Those anchor tags will invalidate the EAD if the notes are published since EAD doesn?t contain any HTML elements. But that won?t stop the PDF process from working, at least. Anyhow, not a long-term solution, but if you can add an XSLT transformation process into your pipeline right before the ASpace PDF transformation process is called, then you could use something like the below to get the PDFs to be able to generate: From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Busch, Ed Sent: Thursday, 01 April, 2021 11:43 AM To: Archivesspace Users Group ; Benn Joseph Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Sure. I just put a ticket in with my local IT for some help. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of Benn Joseph > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Thursday, April 1, 2021 at 11:35 AM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hey Ed?can you share the EAD export for one that isn?t working? --Benn From: archivesspace_users_group-bounces at lyralists.lyrasis.org > On Behalf Of Busch, Ed Sent: Thursday, April 01, 2021 8:55 AM To: Archivesspace Users Group > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks, Steve. Time to dig into this deeper. Some of my Preservica ones work fine. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Majewski, Steven Dennis (sdm7g)" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 4:06 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? It definitely doesn?t like those Preservica URLs. The staff PDF production goes thru 3 steps, and you can do them separately and manually to debug. [1] export EAD XML [2] Run XSLT processor on EAD with /stylesheets/as-ead-pdf.xsl xsl-fo stylesheet $ saxon -xsl:archivesspace/stylesheets/as-ead-pdf.xsl -s:UA.15.9_20210331_175003_UTC__ead.xml -o:fop.fo [3] Run FOP processor on output of xsl-fo stylesheet. $ fop fop.fo -pdf fop.pdf After an error on logo image (because I?m not in the right directory and didn?t pass a param so it can find it) And a bunch of warning in info messages that can be ignored, I get a whole series of errors like this: SEVERE: Error while rendering page 19 java.lang.IllegalStateException: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:688) at org.apache.fop.pdf.PDFFactory.getTargetUri(PDFFactory.java:646) at org.apache.fop.pdf.PDFFactory.getExternalAction(PDFFactory.java:585) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.getAction(PDFDocumentNavigationHandler.java:173) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.renderLink(PDFDocumentNavigationHandler.java:107) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597) at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:316) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:243) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:287) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:192) at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:634) at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:512) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:564) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:509) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:504) at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:339) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:458) at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:139) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:362) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190) at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:293) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116) at org.apache.fop.cli.Main.startFOP(Main.java:183) at org.apache.fop.cli.Main.main(Main.java:214) Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at java.base/java.net.URI$Parser.fail(URI.java:2963) at java.base/java.net.URI$Parser.checkChars(URI.java:3134) at java.base/java.net.URI$Parser.checkChar(URI.java:3144) at java.base/java.net.URI$Parser.parse(URI.java:3159) at java.base/java.net.URI.(URI.java:855) at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:686) ... 39 more And searching for ?Preservica Internal? in the EAD, I see that some of those URLs are text strings: --

These are photographs taken at the College of Arts and Letters Alumni Homecoming Tailgate tent.These are part of a larger group of College of Arts and Letters photographs that have an identifier beginning with A.2013.0031.

Preservica Internal URL

https://us.preservica.com/explorer/explorer.html#prop:4&0a205486-db11-445e-a49f-7c0c55ef8c63

-- And others (which are the source of the problem) are DAO href attribute values that are character escaped
tags. Not sure how you?ve got this encoded in ArchivesSpace for it to export like this, but those are the values that need to be fixed. --

ArtPrize Submissions: 2020-12-07

https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|de6cbfd3-5bdf-41d1-a313-e323698859f2/">Preservica Access</a>" xlink:role="Electronic Record Access System" xlink:type="locator"/> -- ? Steve Majewski On Mar 31, 2021, at 2:24 PM, Busch, Ed > wrote: Just curious, in the Preservica added Notes in their Subnote Text content do you have them begin with
&fb978c72-bce5-4d04-b69b-762891c683b4 Just wild guessing right now. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Benedett, Barbara" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 1:59 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, I just tested one of ours that has the Preservica-generated External document note and it was successful. I'll try a few others and see if I can recreate your issue. Barbara J. Benedett, CA, DAS Digital Archivist | Rock Resource Center 1720 Locust Street, Philadelphia, PA 19103 (215) 717-3139 Phone | (215) 893-9065 Fax | barbara.benedett at curtis.edu ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Busch, Ed > Sent: Wednesday, March 31, 2021 1:51 PM To: archivesspace_users_group at lyralists.lyrasis.org > Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? When I do Generate PDF for a particular Resource, the job fails. This resource has added Preservica content in External Documents, Notes and added DOs. I?m suspecting something in one of those fields is causing the problem. I?ve attached the EAD export. Here?s the error list: Generating PDF for College of Arts and Letters records Internal error evaluating template rule at line 123 in module file:/archivesspace/stylesheets/as-ead-pdf.xsl net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(net/sf/saxon/expr/instruct/TemplateRule.java:371) net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533) net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746) net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441) java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498) org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426) org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293) org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514) org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755) org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200) org.jruby.RubyKernel$INVOKER$s$send.call(org/jruby/RubyKernel$INVOKER$s$send.gen) RUBY.invocation_lambda(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270) org.jruby.RubyProc.call(org/jruby/RubyProc.java:291) org.jruby.RubyProc$INVOKER$i$call.call(org/jruby/RubyProc$INVOKER$i$call.gen) RUBY.to_destination(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73) RUBY.to_fo(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44) RUBY.to_pdf(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58) RUBY.run(/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) 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(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24) RUBY.run(/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) 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(archivesspace/data/tmp/jetty_minus_0_dot_0_dot_0_dot_0_minus_8 Any suggestions? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his _______________________________________________ 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: From brian.harrington at lyrasis.org Thu Apr 1 12:37:12 2021 From: brian.harrington at lyrasis.org (Brian Harrington) Date: Thu, 1 Apr 2021 16:37:12 +0000 Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? In-Reply-To: <27BC4BBF-3B6F-4054-8692-27CA367809D7@msu.edu> References: <6F37B284-C1AC-4608-9D57-6D51369EB47F@msu.edu> <6B2DA6D4-08A4-4E19-BC24-593A74FC0A11@msu.edu> <92560AD7-2500-4146-B440-757CA8B586CC@virginia.edu> <3004E6EE-8C83-4436-987D-40E5B8AB26AA@msu.edu> <27BC4BBF-3B6F-4054-8692-27CA367809D7@msu.edu> Message-ID: Hi Ed, It looks like the problem is with s (or anything else) that have an @href attribute that has anything other than the bare URL in it. For example, this one: The as-ead-pdf.xsl copies the contents of the @href directly into the @external-destination of an fo:basic-link element, and then the FOP processor is choking on it. And as a data point for everyone, this should have just started breaking in 2.8.1. The included FOP was upgraded to the current version in that release (blame me!) and that appears to have better validation of URIs. It looks like older versions simply included in the PDF. I hope this helps. Brian From: on behalf of "Busch, Ed" Reply-To: Archivesspace Users Group Date: Thursday, April 1, 2021 at 11:43 AM To: Archivesspace Users Group , Benn Joseph Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Sure. I just put a ticket in with my local IT for some help. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Benn Joseph Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 11:35 AM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hey Ed?can you share the EAD export for one that isn?t working? --Benn From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Busch, Ed Sent: Thursday, April 01, 2021 8:55 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks, Steve. Time to dig into this deeper. Some of my Preservica ones work fine. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Majewski, Steven Dennis (sdm7g)" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 4:06 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? It definitely doesn?t like those Preservica URLs. The staff PDF production goes thru 3 steps, and you can do them separately and manually to debug. [1] export EAD XML [2] Run XSLT processor on EAD with /stylesheets/as-ead-pdf.xsl xsl-fo stylesheet $ saxon -xsl:archivesspace/stylesheets/as-ead-pdf.xsl -s:UA.15.9_20210331_175003_UTC__ead.xml -o:fop.fo [3] Run FOP processor on output of xsl-fo stylesheet. $ fop fop.fo -pdf fop.pdf After an error on logo image (because I?m not in the right directory and didn?t pass a param so it can find it) And a bunch of warning in info messages that can be ignored, I get a whole series of errors like this: SEVERE: Error while rendering page 19 java.lang.IllegalStateException: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:688) at org.apache.fop.pdf.PDFFactory.getTargetUri(PDFFactory.java:646) at org.apache.fop.pdf.PDFFactory.getExternalAction(PDFFactory.java:585) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.getAction(PDFDocumentNavigationHandler.java:173) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.renderLink(PDFDocumentNavigationHandler.java:107) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597) at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:316) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:243) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:287) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:192) at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:634) at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:512) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:564) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:509) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:504) at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:339) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:458) at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:139) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:362) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190) at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:293) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116) at org.apache.fop.cli.Main.startFOP(Main.java:183) at org.apache.fop.cli.Main.main(Main.java:214) Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at java.base/java.net.URI$Parser.fail(URI.java:2963) at java.base/java.net.URI$Parser.checkChars(URI.java:3134) at java.base/java.net.URI$Parser.checkChar(URI.java:3144) at java.base/java.net.URI$Parser.parse(URI.java:3159) at java.base/java.net.URI.(URI.java:855) at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:686) ... 39 more And searching for ?Preservica Internal? in the EAD, I see that some of those URLs are text strings: --

These are photographs taken at the College of Arts and Letters Alumni Homecoming Tailgate tent.These are part of a larger group of College of Arts and Letters photographs that have an identifier beginning with A.2013.0031.

Preservica Internal URL

https://us.preservica.com/explorer/explorer.html#prop:4&0a205486-db11-445e-a49f-7c0c55ef8c63

-- And others (which are the source of the problem) are DAO href attribute values that are character escaped
tags. Not sure how you?ve got this encoded in ArchivesSpace for it to export like this, but those are the values that need to be fixed. --

ArtPrize Submissions: 2020-12-07

-- ? Steve Majewski On Mar 31, 2021, at 2:24 PM, Busch, Ed > wrote: Just curious, in the Preservica added Notes in their Subnote Text content do you have them begin with
&fb978c72-bce5-4d04-b69b-762891c683b4 Just wild guessing right now. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Benedett, Barbara" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 1:59 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, I just tested one of ours that has the Preservica-generated External document note and it was successful. I'll try a few others and see if I can recreate your issue. Barbara J. Benedett, CA, DAS Digital Archivist | Rock Resource Center 1720 Locust Street, Philadelphia, PA 19103 (215) 717-3139 Phone | (215) 893-9065 Fax | barbara.benedett at curtis.edu ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Busch, Ed > Sent: Wednesday, March 31, 2021 1:51 PM To: archivesspace_users_group at lyralists.lyrasis.org > Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? When I do Generate PDF for a particular Resource, the job fails. This resource has added Preservica content in External Documents, Notes and added DOs. I?m suspecting something in one of those fields is causing the problem. I?ve attached the EAD export. Here?s the error list: Generating PDF for College of Arts and Letters records Internal error evaluating template rule at line 123 in module file:/archivesspace/stylesheets/as-ead-pdf.xsl net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(net/sf/saxon/expr/instruct/TemplateRule.java:371) net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533) net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746) net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441) java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498) org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426) org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293) org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514) org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755) org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200) org.jruby.RubyKernel$INVOKER$s$send.call(org/jruby/RubyKernel$INVOKER$s$send.gen) RUBY.invocation_lambda(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270) org.jruby.RubyProc.call(org/jruby/RubyProc.java:291) org.jruby.RubyProc$INVOKER$i$call.call(org/jruby/RubyProc$INVOKER$i$call.gen) RUBY.to_destination(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73) RUBY.to_fo(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44) RUBY.to_pdf(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58) RUBY.run(/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) 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(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24) RUBY.run(/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) 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(archivesspace/data/tmp/jetty_minus_0_dot_0_dot_0_dot_0_minus_8 Any suggestions? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his _______________________________________________ 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: From brian.harrington at lyrasis.org Thu Apr 1 12:40:23 2021 From: brian.harrington at lyrasis.org (Brian Harrington) Date: Thu, 1 Apr 2021 16:40:23 +0000 Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? In-Reply-To: References: <6F37B284-C1AC-4608-9D57-6D51369EB47F@msu.edu> <6B2DA6D4-08A4-4E19-BC24-593A74FC0A11@msu.edu> <92560AD7-2500-4146-B440-757CA8B586CC@virginia.edu> <3004E6EE-8C83-4436-987D-40E5B8AB26AA@msu.edu> <27BC4BBF-3B6F-4054-8692-27CA367809D7@msu.edu> Message-ID: And looking more closely, I see that Steve already identified the problematic links for you. Sorry about the duplication. Brian From: on behalf of Brian Harrington Reply-To: Archivesspace Users Group Date: Thursday, April 1, 2021 at 12:37 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, It looks like the problem is with s (or anything else) that have an @href attribute that has anything other than the bare URL in it. For example, this one: The as-ead-pdf.xsl copies the contents of the @href directly into the @external-destination of an fo:basic-link element, and then the FOP processor is choking on it. And as a data point for everyone, this should have just started breaking in 2.8.1. The included FOP was upgraded to the current version in that release (blame me!) and that appears to have better validation of URIs. It looks like older versions simply included in the PDF. I hope this helps. Brian From: on behalf of "Busch, Ed" Reply-To: Archivesspace Users Group Date: Thursday, April 1, 2021 at 11:43 AM To: Archivesspace Users Group , Benn Joseph Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Sure. I just put a ticket in with my local IT for some help. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Benn Joseph Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 11:35 AM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hey Ed?can you share the EAD export for one that isn?t working? --Benn From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Busch, Ed Sent: Thursday, April 01, 2021 8:55 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks, Steve. Time to dig into this deeper. Some of my Preservica ones work fine. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Majewski, Steven Dennis (sdm7g)" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 4:06 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? It definitely doesn?t like those Preservica URLs. The staff PDF production goes thru 3 steps, and you can do them separately and manually to debug. [1] export EAD XML [2] Run XSLT processor on EAD with /stylesheets/as-ead-pdf.xsl xsl-fo stylesheet $ saxon -xsl:archivesspace/stylesheets/as-ead-pdf.xsl -s:UA.15.9_20210331_175003_UTC__ead.xml -o:fop.fo [3] Run FOP processor on output of xsl-fo stylesheet. $ fop fop.fo -pdf fop.pdf After an error on logo image (because I?m not in the right directory and didn?t pass a param so it can find it) And a bunch of warning in info messages that can be ignored, I get a whole series of errors like this: SEVERE: Error while rendering page 19 java.lang.IllegalStateException: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:688) at org.apache.fop.pdf.PDFFactory.getTargetUri(PDFFactory.java:646) at org.apache.fop.pdf.PDFFactory.getExternalAction(PDFFactory.java:585) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.getAction(PDFDocumentNavigationHandler.java:173) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.renderLink(PDFDocumentNavigationHandler.java:107) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597) at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:316) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:243) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:287) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:192) at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:634) at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:512) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:564) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:509) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:504) at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:339) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:458) at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:139) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:362) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190) at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:293) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116) at org.apache.fop.cli.Main.startFOP(Main.java:183) at org.apache.fop.cli.Main.main(Main.java:214) Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at java.base/java.net.URI$Parser.fail(URI.java:2963) at java.base/java.net.URI$Parser.checkChars(URI.java:3134) at java.base/java.net.URI$Parser.checkChar(URI.java:3144) at java.base/java.net.URI$Parser.parse(URI.java:3159) at java.base/java.net.URI.(URI.java:855) at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:686) ... 39 more And searching for ?Preservica Internal? in the EAD, I see that some of those URLs are text strings: --

These are photographs taken at the College of Arts and Letters Alumni Homecoming Tailgate tent.These are part of a larger group of College of Arts and Letters photographs that have an identifier beginning with A.2013.0031.

Preservica Internal URL

https://us.preservica.com/explorer/explorer.html#prop:4&0a205486-db11-445e-a49f-7c0c55ef8c63

-- And others (which are the source of the problem) are DAO href attribute values that are character escaped
tags. Not sure how you?ve got this encoded in ArchivesSpace for it to export like this, but those are the values that need to be fixed. --

ArtPrize Submissions: 2020-12-07

-- ? Steve Majewski On Mar 31, 2021, at 2:24 PM, Busch, Ed > wrote: Just curious, in the Preservica added Notes in their Subnote Text content do you have them begin with
&fb978c72-bce5-4d04-b69b-762891c683b4 Just wild guessing right now. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Benedett, Barbara" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 1:59 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, I just tested one of ours that has the Preservica-generated External document note and it was successful. I'll try a few others and see if I can recreate your issue. Barbara J. Benedett, CA, DAS Digital Archivist | Rock Resource Center 1720 Locust Street, Philadelphia, PA 19103 (215) 717-3139 Phone | (215) 893-9065 Fax | barbara.benedett at curtis.edu ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Busch, Ed > Sent: Wednesday, March 31, 2021 1:51 PM To: archivesspace_users_group at lyralists.lyrasis.org > Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? When I do Generate PDF for a particular Resource, the job fails. This resource has added Preservica content in External Documents, Notes and added DOs. I?m suspecting something in one of those fields is causing the problem. I?ve attached the EAD export. Here?s the error list: Generating PDF for College of Arts and Letters records Internal error evaluating template rule at line 123 in module file:/archivesspace/stylesheets/as-ead-pdf.xsl net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(net/sf/saxon/expr/instruct/TemplateRule.java:371) net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533) net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746) net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441) java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498) org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426) org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293) org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514) org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755) org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200) org.jruby.RubyKernel$INVOKER$s$send.call(org/jruby/RubyKernel$INVOKER$s$send.gen) RUBY.invocation_lambda(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270) org.jruby.RubyProc.call(org/jruby/RubyProc.java:291) org.jruby.RubyProc$INVOKER$i$call.call(org/jruby/RubyProc$INVOKER$i$call.gen) RUBY.to_destination(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73) RUBY.to_fo(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44) RUBY.to_pdf(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58) RUBY.run(/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) 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(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24) RUBY.run(/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) 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(archivesspace/data/tmp/jetty_minus_0_dot_0_dot_0_dot_0_minus_8 Any suggestions? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his _______________________________________________ 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: From Jessica.Crouch at lyrasis.org Thu Apr 1 12:55:49 2021 From: Jessica.Crouch at lyrasis.org (Jessica Crouch) Date: Thu, 1 Apr 2021 16:55:49 +0000 Subject: [Archivesspace_Users_Group] Training Announcement: ArchivesSpace Community-wide Training Program Message-ID: <7920314A-D23B-4CC3-BA1B-2E951295F36E@lyrasis.org> Dear ArchivesSpace Users, Beginning in April of 2021, the ArchivesSpace Trainers Corps will offer regularly scheduled virtual, community-wide training opportunities open to anyone using or interested in using ArchivesSpace. These virtual, community-wide trainings will be part of a 12-month pilot project by the Trainers Corps to assess community interest and training needs. Over the next year, the Trainers Corps will offer regularly scheduled trainings and office hours covering a variety of topics on all things ArchivesSpace. Registration for each training will be separate and registration will open closer to each training date. Information about this training program is available at https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/2331148319/ArchivesSpace+Community-Wide+Virtual+Training. All community-wide virtual trainings will be recorded. These recordings can be found via the Getting Started section of the ArchivesSpace website. During this pilot period, all trainings will be offered at no charge to the attendee. Anyone using or interested in ArchivesSpace may attend. Registration for each training or ?office hour? will be separate and registration for each will open closer to the scheduled date of the event. Registration will be limited to 100 individuals for all trainings and 500 individuals for all ?office hours.? When registration is opened for a training it will be announced via the ArchivesSpace member listservs first. For the first 48 hours, registration will be open only to individuals from ArchivesSpace member institutions. After 48 hours, any remaining registrations will be made available to all ArchivesSpace users and will be announced via the ArchivesSpace twitter and blog. In order to make training available to as many organizations and users as possible, registration will be limited to three (3) attendees per organization for virtual trainings. Registration for ?office hours? will not be limited by organization. Registration is currently open for the first ArchivesSpace Office Hour on April 19th at 2pm ET/11am PT. This office hour will offer a demonstration of how to create a thumbnail image of a digital object in the ArchivesSpace Public User Interface. Following the brief presentation, you will have the opportunity to ask questions about the topic. Once those run out we will answer questions submitted via the submission form and if time allows, questions on the fly. If you would like to suggest a topic for a future ?Office Hour,? you can do so at https://forms.gle/unz3GmAbWwvpHjSr7<%20https:/forms.gle/unz3GmAbWwvpHjSr7>. ArchivesSpace Trainers Corps ?Office Hour? Date: April 19, 2021 Time: 2:00pm ET / 11:00am PT Topic: How to create a thumbnail image of a digital object in the ArchivesSpace Public User Interface Question submission form: https://forms.gle/4kx1bntG7HUkMXdRA Registration: https://lyrasis.zoom.us/webinar/register/WN_5XgnGX1vTlqixabZwGKIVA If you have any questions, feel free to contact us at ArchivesSpaceHome at lyrasis.org. Jessica Dowd Crouch Community Engagement Coordinator for ArchivesSpace jessica.crouch at lyrasis.org [page1image482511520] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 29061 bytes Desc: image001.jpg URL: From buschedw at msu.edu Thu Apr 1 13:39:30 2021 From: buschedw at msu.edu (Busch, Ed) Date: Thu, 1 Apr 2021 17:39:30 +0000 Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? In-Reply-To: References: <6F37B284-C1AC-4608-9D57-6D51369EB47F@msu.edu> <6B2DA6D4-08A4-4E19-BC24-593A74FC0A11@msu.edu> <92560AD7-2500-4146-B440-757CA8B586CC@virginia.edu> <3004E6EE-8C83-4436-987D-40E5B8AB26AA@msu.edu> <27BC4BBF-3B6F-4054-8692-27CA367809D7@msu.edu> Message-ID: <95BD047E-3F56-4983-9E41-FB75DE063408@msu.edu> Thanks for the help Mark and Brian! Sorry, we?re getting a little deeper than I understand but am I right in the root issue you are describing is the embedded character codes like &, >, ", %3. If Preservica just put the real characters it would be fine? For example, https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ If this is changed to https://msu.access.preservica.com/archive/sdb:AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ would ASpace PDF exporter be happy? Or am I missing it still? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Brian Harrington Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 12:37 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, It looks like the problem is with s (or anything else) that have an @href attribute that has anything other than the bare URL in it. For example, this one: The as-ead-pdf.xsl copies the contents of the @href directly into the @external-destination of an fo:basic-link element, and then the FOP processor is choking on it. And as a data point for everyone, this should have just started breaking in 2.8.1. The included FOP was upgraded to the current version in that release (blame me!) and that appears to have better validation of URIs. It looks like older versions simply included in the PDF. I hope this helps. Brian From: on behalf of "Busch, Ed" Reply-To: Archivesspace Users Group Date: Thursday, April 1, 2021 at 11:43 AM To: Archivesspace Users Group , Benn Joseph Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Sure. I just put a ticket in with my local IT for some help. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Benn Joseph Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 11:35 AM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hey Ed?can you share the EAD export for one that isn?t working? --Benn From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Busch, Ed Sent: Thursday, April 01, 2021 8:55 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks, Steve. Time to dig into this deeper. Some of my Preservica ones work fine. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Majewski, Steven Dennis (sdm7g)" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 4:06 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? It definitely doesn?t like those Preservica URLs. The staff PDF production goes thru 3 steps, and you can do them separately and manually to debug. [1] export EAD XML [2] Run XSLT processor on EAD with /stylesheets/as-ead-pdf.xsl xsl-fo stylesheet $ saxon -xsl:archivesspace/stylesheets/as-ead-pdf.xsl -s:UA.15.9_20210331_175003_UTC__ead.xml -o:fop.fo [3] Run FOP processor on output of xsl-fo stylesheet. $ fop fop.fo -pdf fop.pdf After an error on logo image (because I?m not in the right directory and didn?t pass a param so it can find it) And a bunch of warning in info messages that can be ignored, I get a whole series of errors like this: SEVERE: Error while rendering page 19 java.lang.IllegalStateException: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:688) at org.apache.fop.pdf.PDFFactory.getTargetUri(PDFFactory.java:646) at org.apache.fop.pdf.PDFFactory.getExternalAction(PDFFactory.java:585) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.getAction(PDFDocumentNavigationHandler.java:173) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.renderLink(PDFDocumentNavigationHandler.java:107) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597) at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:316) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:243) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:287) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:192) at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:634) at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:512) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:564) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:509) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:504) at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:339) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:458) at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:139) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:362) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190) at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:293) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116) at org.apache.fop.cli.Main.startFOP(Main.java:183) at org.apache.fop.cli.Main.main(Main.java:214) Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at java.base/java.net.URI$Parser.fail(URI.java:2963) at java.base/java.net.URI$Parser.checkChars(URI.java:3134) at java.base/java.net.URI$Parser.checkChar(URI.java:3144) at java.base/java.net.URI$Parser.parse(URI.java:3159) at java.base/java.net.URI.(URI.java:855) at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:686) ... 39 more And searching for ?Preservica Internal? in the EAD, I see that some of those URLs are text strings: --

These are photographs taken at the College of Arts and Letters Alumni Homecoming Tailgate tent.These are part of a larger group of College of Arts and Letters photographs that have an identifier beginning with A.2013.0031.

Preservica Internal URL

https://us.preservica.com/explorer/explorer.html#prop:4&0a205486-db11-445e-a49f-7c0c55ef8c63

-- And others (which are the source of the problem) are DAO href attribute values that are character escaped
tags. Not sure how you?ve got this encoded in ArchivesSpace for it to export like this, but those are the values that need to be fixed. --

ArtPrize Submissions: 2020-12-07

-- ? Steve Majewski On Mar 31, 2021, at 2:24 PM, Busch, Ed > wrote: Just curious, in the Preservica added Notes in their Subnote Text content do you have them begin with
&fb978c72-bce5-4d04-b69b-762891c683b4 Just wild guessing right now. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Benedett, Barbara" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 1:59 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, I just tested one of ours that has the Preservica-generated External document note and it was successful. I'll try a few others and see if I can recreate your issue. Barbara J. Benedett, CA, DAS Digital Archivist | Rock Resource Center 1720 Locust Street, Philadelphia, PA 19103 (215) 717-3139 Phone | (215) 893-9065 Fax | barbara.benedett at curtis.edu ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Busch, Ed > Sent: Wednesday, March 31, 2021 1:51 PM To: archivesspace_users_group at lyralists.lyrasis.org > Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? When I do Generate PDF for a particular Resource, the job fails. This resource has added Preservica content in External Documents, Notes and added DOs. I?m suspecting something in one of those fields is causing the problem. I?ve attached the EAD export. Here?s the error list: Generating PDF for College of Arts and Letters records Internal error evaluating template rule at line 123 in module file:/archivesspace/stylesheets/as-ead-pdf.xsl net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(net/sf/saxon/expr/instruct/TemplateRule.java:371) net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533) net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746) net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441) java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498) org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426) org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293) org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514) org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755) org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200) org.jruby.RubyKernel$INVOKER$s$send.call(org/jruby/RubyKernel$INVOKER$s$send.gen) RUBY.invocation_lambda(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270) org.jruby.RubyProc.call(org/jruby/RubyProc.java:291) org.jruby.RubyProc$INVOKER$i$call.call(org/jruby/RubyProc$INVOKER$i$call.gen) RUBY.to_destination(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73) RUBY.to_fo(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44) RUBY.to_pdf(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58) RUBY.run(/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) 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(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24) RUBY.run(/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) 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(archivesspace/data/tmp/jetty_minus_0_dot_0_dot_0_dot_0_minus_8 Any suggestions? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his _______________________________________________ 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: From mark.custer at yale.edu Thu Apr 1 14:03:15 2021 From: mark.custer at yale.edu (Custer, Mark) Date: Thu, 1 Apr 2021 18:03:15 +0000 Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? In-Reply-To: <95BD047E-3F56-4983-9E41-FB75DE063408@msu.edu> References: <6F37B284-C1AC-4608-9D57-6D51369EB47F@msu.edu> <6B2DA6D4-08A4-4E19-BC24-593A74FC0A11@msu.edu> <92560AD7-2500-4146-B440-757CA8B586CC@virginia.edu> <3004E6EE-8C83-4436-987D-40E5B8AB26AA@msu.edu> <27BC4BBF-3B6F-4054-8692-27CA367809D7@msu.edu> , <95BD047E-3F56-4983-9E41-FB75DE063408@msu.edu> Message-ID: Ed, Not exactly. It's not a problem of any HTML encodings in the URL (e.g. %3A for a colon), which should be fine. However, if you go into edit those digital objects in the ASpace staff interface and open the File URI section, you should see something like: Preservica Internal Those File URI records should just contain the link and not any HTML tags. So, the link should only be what's between the double quotes, e.g.: https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ Once that's done (but there are a lot of links, so not something you'd want to do one by one), then you should be able to create PDFs again in the ASpace staff interface. Another option (though it wouldn't fix the contents of the link) might be to unpublish those File URIs. Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Busch, Ed Sent: Thursday, April 1, 2021 1:39 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks for the help Mark and Brian! Sorry, we?re getting a little deeper than I understand but am I right in the root issue you are describing is the embedded character codes like &, >, ", %3. If Preservica just put the real characters it would be fine? For example, https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ If this is changed to https://msu.access.preservica.com/archive/sdb:AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ would ASpace PDF exporter be happy? Or am I missing it still? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Brian Harrington Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 12:37 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, It looks like the problem is with s (or anything else) that have an @href attribute that has anything other than the bare URL in it. For example, this one: The as-ead-pdf.xsl copies the contents of the @href directly into the @external-destination of an fo:basic-link element, and then the FOP processor is choking on it. And as a data point for everyone, this should have just started breaking in 2.8.1. The included FOP was upgraded to the current version in that release (blame me!) and that appears to have better validation of URIs. It looks like older versions simply included in the PDF. I hope this helps. Brian From: on behalf of "Busch, Ed" Reply-To: Archivesspace Users Group Date: Thursday, April 1, 2021 at 11:43 AM To: Archivesspace Users Group , Benn Joseph Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Sure. I just put a ticket in with my local IT for some help. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Benn Joseph Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 11:35 AM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hey Ed?can you share the EAD export for one that isn?t working? --Benn From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Busch, Ed Sent: Thursday, April 01, 2021 8:55 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks, Steve. Time to dig into this deeper. Some of my Preservica ones work fine. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Majewski, Steven Dennis (sdm7g)" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 4:06 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? It definitely doesn?t like those Preservica URLs. The staff PDF production goes thru 3 steps, and you can do them separately and manually to debug. [1] export EAD XML [2] Run XSLT processor on EAD with /stylesheets/as-ead-pdf.xsl xsl-fo stylesheet $ saxon -xsl:archivesspace/stylesheets/as-ead-pdf.xsl -s:UA.15.9_20210331_175003_UTC__ead.xml -o:fop.fo [3] Run FOP processor on output of xsl-fo stylesheet. $ fop fop.fo -pdf fop.pdf After an error on logo image (because I?m not in the right directory and didn?t pass a param so it can find it) And a bunch of warning in info messages that can be ignored, I get a whole series of errors like this: SEVERE: Error while rendering page 19 java.lang.IllegalStateException: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:688) at org.apache.fop.pdf.PDFFactory.getTargetUri(PDFFactory.java:646) at org.apache.fop.pdf.PDFFactory.getExternalAction(PDFFactory.java:585) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.getAction(PDFDocumentNavigationHandler.java:173) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.renderLink(PDFDocumentNavigationHandler.java:107) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597) at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:316) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:243) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:287) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:192) at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:634) at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:512) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:564) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:509) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:504) at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:339) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:458) at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:139) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:362) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190) at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:293) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116) at org.apache.fop.cli.Main.startFOP(Main.java:183) at org.apache.fop.cli.Main.main(Main.java:214) Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at java.base/java.net.URI$Parser.fail(URI.java:2963) at java.base/java.net.URI$Parser.checkChars(URI.java:3134) at java.base/java.net.URI$Parser.checkChar(URI.java:3144) at java.base/java.net.URI$Parser.parse(URI.java:3159) at java.base/java.net.URI.(URI.java:855) at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:686) ... 39 more And searching for ?Preservica Internal? in the EAD, I see that some of those URLs are text strings: --

These are photographs taken at the College of Arts and Letters Alumni Homecoming Tailgate tent.These are part of a larger group of College of Arts and Letters photographs that have an identifier beginning with A.2013.0031.

Preservica Internal URL

https://us.preservica.com/explorer/explorer.html#prop:4&0a205486-db11-445e-a49f-7c0c55ef8c63

-- And others (which are the source of the problem) are DAO href attribute values that are character escaped tags. Not sure how you?ve got this encoded in ArchivesSpace for it to export like this, but those are the values that need to be fixed. --

ArtPrize Submissions: 2020-12-07

https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|de6cbfd3-5bdf-41d1-a313-e323698859f2/">Preservica Access</a>" xlink:role="Electronic Record Access System" xlink:type="locator"/> -- ? Steve Majewski On Mar 31, 2021, at 2:24 PM, Busch, Ed > wrote: Just curious, in the Preservica added Notes in their Subnote Text content do you have them begin with
&fb978c72-bce5-4d04-b69b-762891c683b4 Just wild guessing right now. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Benedett, Barbara" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 1:59 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, I just tested one of ours that has the Preservica-generated External document note and it was successful. I'll try a few others and see if I can recreate your issue. Barbara J. Benedett, CA, DAS Digital Archivist | Rock Resource Center 1720 Locust Street, Philadelphia, PA 19103 (215) 717-3139 Phone | (215) 893-9065 Fax | barbara.benedett at curtis.edu ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Busch, Ed > Sent: Wednesday, March 31, 2021 1:51 PM To: archivesspace_users_group at lyralists.lyrasis.org > Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? When I do Generate PDF for a particular Resource, the job fails. This resource has added Preservica content in External Documents, Notes and added DOs. I?m suspecting something in one of those fields is causing the problem. I?ve attached the EAD export. Here?s the error list: Generating PDF for College of Arts and Letters records Internal error evaluating template rule at line 123 in module file:/archivesspace/stylesheets/as-ead-pdf.xsl net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(net/sf/saxon/expr/instruct/TemplateRule.java:371) net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533) net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746) net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441) java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498) org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426) org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293) org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514) org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755) org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200) org.jruby.RubyKernel$INVOKER$s$send.call(org/jruby/RubyKernel$INVOKER$s$send.gen) RUBY.invocation_lambda(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270) org.jruby.RubyProc.call(org/jruby/RubyProc.java:291) org.jruby.RubyProc$INVOKER$i$call.call(org/jruby/RubyProc$INVOKER$i$call.gen) RUBY.to_destination(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73) RUBY.to_fo(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44) RUBY.to_pdf(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58) RUBY.run(/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) 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(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24) RUBY.run(/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) 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(archivesspace/data/tmp/jetty_minus_0_dot_0_dot_0_dot_0_minus_8 Any suggestions? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his _______________________________________________ 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: From buschedw at msu.edu Thu Apr 1 14:07:29 2021 From: buschedw at msu.edu (Busch, Ed) Date: Thu, 1 Apr 2021 18:07:29 +0000 Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? In-Reply-To: References: <6F37B284-C1AC-4608-9D57-6D51369EB47F@msu.edu> <6B2DA6D4-08A4-4E19-BC24-593A74FC0A11@msu.edu> <92560AD7-2500-4146-B440-757CA8B586CC@virginia.edu> <3004E6EE-8C83-4436-987D-40E5B8AB26AA@msu.edu> <27BC4BBF-3B6F-4054-8692-27CA367809D7@msu.edu> <95BD047E-3F56-4983-9E41-FB75DE063408@msu.edu> Message-ID: <9BA42BC8-0D5D-49CF-838F-1DAC11B2638A@msu.edu> AH, that?s better. Preservica was putting in the anchored links but I?ve got mine changed to do only the https only links now. SO I should be able to either anchor stuff or unpublish. I?ll try on a smaller one first. Once I figure this out, I can share on the Preservica side and let them know there was an update in ASpace. Thanks! Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Mark Custer Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 2:03 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Ed, Not exactly. It's not a problem of any HTML encodings in the URL (e.g. %3A for a colon), which should be fine. However, if you go into edit those digital objects in the ASpace staff interface and open the File URI section, you should see something like: Preservica Internal Those File URI records should just contain the link and not any HTML tags. So, the link should only be what's between the double quotes, e.g.: https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ Once that's done (but there are a lot of links, so not something you'd want to do one by one), then you should be able to create PDFs again in the ASpace staff interface. Another option (though it wouldn't fix the contents of the link) might be to unpublish those File URIs. Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Busch, Ed Sent: Thursday, April 1, 2021 1:39 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks for the help Mark and Brian! Sorry, we?re getting a little deeper than I understand but am I right in the root issue you are describing is the embedded character codes like &, >, ", %3. If Preservica just put the real characters it would be fine? For example, https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ If this is changed to https://msu.access.preservica.com/archive/sdb:AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ would ASpace PDF exporter be happy? Or am I missing it still? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Brian Harrington Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 12:37 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, It looks like the problem is with s (or anything else) that have an @href attribute that has anything other than the bare URL in it. For example, this one: The as-ead-pdf.xsl copies the contents of the @href directly into the @external-destination of an fo:basic-link element, and then the FOP processor is choking on it. And as a data point for everyone, this should have just started breaking in 2.8.1. The included FOP was upgraded to the current version in that release (blame me!) and that appears to have better validation of URIs. It looks like older versions simply included in the PDF. I hope this helps. Brian From: on behalf of "Busch, Ed" Reply-To: Archivesspace Users Group Date: Thursday, April 1, 2021 at 11:43 AM To: Archivesspace Users Group , Benn Joseph Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Sure. I just put a ticket in with my local IT for some help. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Benn Joseph Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 11:35 AM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hey Ed?can you share the EAD export for one that isn?t working? --Benn From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Busch, Ed Sent: Thursday, April 01, 2021 8:55 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks, Steve. Time to dig into this deeper. Some of my Preservica ones work fine. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Majewski, Steven Dennis (sdm7g)" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 4:06 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? It definitely doesn?t like those Preservica URLs. The staff PDF production goes thru 3 steps, and you can do them separately and manually to debug. [1] export EAD XML [2] Run XSLT processor on EAD with /stylesheets/as-ead-pdf.xsl xsl-fo stylesheet $ saxon -xsl:archivesspace/stylesheets/as-ead-pdf.xsl -s:UA.15.9_20210331_175003_UTC__ead.xml -o:fop.fo [3] Run FOP processor on output of xsl-fo stylesheet. $ fop fop.fo -pdf fop.pdf After an error on logo image (because I?m not in the right directory and didn?t pass a param so it can find it) And a bunch of warning in info messages that can be ignored, I get a whole series of errors like this: SEVERE: Error while rendering page 19 java.lang.IllegalStateException: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:688) at org.apache.fop.pdf.PDFFactory.getTargetUri(PDFFactory.java:646) at org.apache.fop.pdf.PDFFactory.getExternalAction(PDFFactory.java:585) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.getAction(PDFDocumentNavigationHandler.java:173) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.renderLink(PDFDocumentNavigationHandler.java:107) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597) at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:316) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:243) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:287) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:192) at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:634) at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:512) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:564) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:509) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:504) at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:339) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:458) at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:139) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:362) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190) at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:293) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116) at org.apache.fop.cli.Main.startFOP(Main.java:183) at org.apache.fop.cli.Main.main(Main.java:214) Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at java.base/java.net.URI$Parser.fail(URI.java:2963) at java.base/java.net.URI$Parser.checkChars(URI.java:3134) at java.base/java.net.URI$Parser.checkChar(URI.java:3144) at java.base/java.net.URI$Parser.parse(URI.java:3159) at java.base/java.net.URI.(URI.java:855) at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:686) ... 39 more And searching for ?Preservica Internal? in the EAD, I see that some of those URLs are text strings: --

These are photographs taken at the College of Arts and Letters Alumni Homecoming Tailgate tent.These are part of a larger group of College of Arts and Letters photographs that have an identifier beginning with A.2013.0031.

Preservica Internal URL

https://us.preservica.com/explorer/explorer.html#prop:4&0a205486-db11-445e-a49f-7c0c55ef8c63

-- And others (which are the source of the problem) are DAO href attribute values that are character escaped tags. Not sure how you?ve got this encoded in ArchivesSpace for it to export like this, but those are the values that need to be fixed. --

ArtPrize Submissions: 2020-12-07

https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|de6cbfd3-5bdf-41d1-a313-e323698859f2/">Preservica Access</a>" xlink:role="Electronic Record Access System" xlink:type="locator"/> -- ? Steve Majewski On Mar 31, 2021, at 2:24 PM, Busch, Ed > wrote: Just curious, in the Preservica added Notes in their Subnote Text content do you have them begin with
&fb978c72-bce5-4d04-b69b-762891c683b4 Just wild guessing right now. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Benedett, Barbara" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 1:59 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, I just tested one of ours that has the Preservica-generated External document note and it was successful. I'll try a few others and see if I can recreate your issue. Barbara J. Benedett, CA, DAS Digital Archivist | Rock Resource Center 1720 Locust Street, Philadelphia, PA 19103 (215) 717-3139 Phone | (215) 893-9065 Fax | barbara.benedett at curtis.edu ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Busch, Ed > Sent: Wednesday, March 31, 2021 1:51 PM To: archivesspace_users_group at lyralists.lyrasis.org > Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? When I do Generate PDF for a particular Resource, the job fails. This resource has added Preservica content in External Documents, Notes and added DOs. I?m suspecting something in one of those fields is causing the problem. I?ve attached the EAD export. Here?s the error list: Generating PDF for College of Arts and Letters records Internal error evaluating template rule at line 123 in module file:/archivesspace/stylesheets/as-ead-pdf.xsl net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(net/sf/saxon/expr/instruct/TemplateRule.java:371) net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533) net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746) net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441) java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498) org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426) org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293) org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514) org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755) org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200) org.jruby.RubyKernel$INVOKER$s$send.call(org/jruby/RubyKernel$INVOKER$s$send.gen) RUBY.invocation_lambda(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270) org.jruby.RubyProc.call(org/jruby/RubyProc.java:291) org.jruby.RubyProc$INVOKER$i$call.call(org/jruby/RubyProc$INVOKER$i$call.gen) RUBY.to_destination(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73) RUBY.to_fo(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44) RUBY.to_pdf(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58) RUBY.run(/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) 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(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24) RUBY.run(/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) 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(archivesspace/data/tmp/jetty_minus_0_dot_0_dot_0_dot_0_minus_8 Any suggestions? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his _______________________________________________ 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: From sdm7g at virginia.edu Thu Apr 1 14:10:25 2021 From: sdm7g at virginia.edu (Majewski, Steven Dennis (sdm7g)) Date: Thu, 1 Apr 2021 18:10:25 +0000 Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? In-Reply-To: <95BD047E-3F56-4983-9E41-FB75DE063408@msu.edu> References: <6F37B284-C1AC-4608-9D57-6D51369EB47F@msu.edu> <6B2DA6D4-08A4-4E19-BC24-593A74FC0A11@msu.edu> <92560AD7-2500-4146-B440-757CA8B586CC@virginia.edu> <3004E6EE-8C83-4436-987D-40E5B8AB26AA@msu.edu> <27BC4BBF-3B6F-4054-8692-27CA367809D7@msu.edu> <95BD047E-3F56-4983-9E41-FB75DE063408@msu.edu> Message-ID: I think the issue is not the escaped character codes but the fact the the href URLs for some of those daoloc-s start with ' On Apr 1, 2021, at 1:39 PM, Busch, Ed wrote: > > Thanks for the help Mark and Brian! > Sorry, we?re getting a little deeper than I understand but am I right in the root issue you are describing is the embedded character codes like &, >, ", %3. If Preservica just put the real characters it would be fine? > > For example, https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ > If this is changed to https://msu.access.preservica.com/archive/sdb:AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ would ASpace PDF exporter be happy? > > Or am I missing it still? > > Ed Busch, MLIS > Interim Head of University Archives and Historical Collections > Electronic Records Archivist > Conrad Hall, 943 Conrad Road, Room 101 > East Lansing, MI 48824 > 517-884-6438 > buschedw at msu.edu > he/him/his > > > From: on behalf of Brian Harrington > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Thursday, April 1, 2021 at 12:37 PM > To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? > > Hi Ed, > > It looks like the problem is with s (or anything else) that have an @href attribute that has anything other than the bare URL in it. For example, this one: > > xlink:role="Digital Preservation Staff System" xlink:type="locator"/> > > The as-ead-pdf.xsl copies the contents of the @href directly into the @external-destination of an fo:basic-link element, and then the FOP processor is choking on it. > > And as a data point for everyone, this should have just started breaking in 2.8.1. The included FOP was upgraded to the current version in that release (blame me!) and that appears to have better validation of URIs. It looks like older versions simply included in the PDF. > > I hope this helps. > > Brian > > > From: on behalf of "Busch, Ed" > Reply-To: Archivesspace Users Group > Date: Thursday, April 1, 2021 at 11:43 AM > To: Archivesspace Users Group , Benn Joseph > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? > > Sure. I just put a ticket in with my local IT for some help. > > Ed Busch, MLIS > Interim Head of University Archives and Historical Collections > Electronic Records Archivist > Conrad Hall, 943 Conrad Road, Room 101 > East Lansing, MI 48824 > 517-884-6438 > buschedw at msu.edu > he/him/his > > > From: on behalf of Benn Joseph > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Thursday, April 1, 2021 at 11:35 AM > To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? > > Hey Ed?can you share the EAD export for one that isn?t working? > --Benn > > From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Busch, Ed > Sent: Thursday, April 01, 2021 8:55 AM > To: Archivesspace Users Group > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? > > Thanks, Steve. Time to dig into this deeper. > Some of my Preservica ones work fine. > > Ed Busch, MLIS > Interim Head of University Archives and Historical Collections > Electronic Records Archivist > Conrad Hall, 943 Conrad Road, Room 101 > East Lansing, MI 48824 > 517-884-6438 > buschedw at msu.edu > he/him/his > > > From: > on behalf of "Majewski, Steven Dennis (sdm7g)" > > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org " > > Date: Wednesday, March 31, 2021 at 4:06 PM > To: "archivesspace_users_group at lyralists.lyrasis.org " > > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? > > It definitely doesn?t like those Preservica URLs. > > The staff PDF production goes thru 3 steps, and you can do them separately and manually to debug. > > [1] export EAD XML > [2] Run XSLT processor on EAD with /stylesheets/as-ead-pdf.xsl xsl-fo stylesheet > $ saxon -xsl:archivesspace/stylesheets/as-ead-pdf.xsl -s:UA.15.9_20210331_175003_UTC__ead.xml -o:fop.fo > [3] Run FOP processor on output of xsl-fo stylesheet. > $ fop fop.fo -pdf fop.pdf > > After an error on logo image (because I?m not in the right directory and didn?t pass a param so it can find it) > And a bunch of warning in info messages that can be ignored, I get a whole series of errors like this: > > SEVERE: Error while rendering page 19 > java.lang.IllegalStateException: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E > at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:688) > at org.apache.fop.pdf.PDFFactory.getTargetUri(PDFFactory.java:646) > at org.apache.fop.pdf.PDFFactory.getExternalAction(PDFFactory.java:585) > at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.getAction(PDFDocumentNavigationHandler.java:173) > at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.renderLink(PDFDocumentNavigationHandler.java:107) > at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597) > at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123) > at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:316) > at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:243) > at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:287) > at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:192) > at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:634) > at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:512) > at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:564) > at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:509) > at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:504) > at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:339) > at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:458) > at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) > at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) > at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) > at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:139) > at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:362) > at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190) > at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) > at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) > at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) > at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) > at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) > at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) > at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) > at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:293) > at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116) > at org.apache.fop.cli.Main.startFOP(Main.java:183) > at org.apache.fop.cli.Main.main(Main.java:214) > Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E > at java.base/java.net.URI$Parser.fail(URI.java:2963) > at java.base/java.net.URI$Parser.checkChars(URI.java:3134) > at java.base/java.net.URI$Parser.checkChar(URI.java:3144) > at java.base/java.net.URI$Parser.parse(URI.java:3159) > at java.base/java.net.URI.(URI.java:855) > at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:686) > ... 39 more > > > > And searching for ?Preservica Internal? in the EAD, I see that some of those URLs are text strings: > > -- >

These are photographs taken at the College of Arts and Letters Alumni Homecoming Tailgate tent.These are part of a larger group of College of Arts and Letters photographs that have an identifier beginning with A.2013.0031.

> > > Preservica Internal URL >

https://us.preservica.com/explorer/explorer.html#prop:4&0a205486-db11-445e-a49f-7c0c55ef8c63

>
> > -- > > And others (which are the source of the problem) are DAO href attribute values that are character escaped
tags. > > Not sure how you?ve got this encoded in ArchivesSpace for it to export like this, but those are the values that need to be fixed. > > -- > >

ArtPrize Submissions: 2020-12-07

>
> > > > > -- > > > ? Steve Majewski > > >> On Mar 31, 2021, at 2:24 PM, Busch, Ed > wrote: >> >> Just curious, in the Preservica added Notes in their Subnote Text content do you have them begin with
> Content >> https://us.preservica.com/explorer/explorer.html#prop:4 &fb978c72-bce5-4d04-b69b-762891c683b4 >> >> Just wild guessing right now. >> >> Ed Busch, MLIS >> Interim Head of University Archives and Historical Collections >> Electronic Records Archivist >> Conrad Hall, 943 Conrad Road, Room 101 >> East Lansing, MI 48824 >> 517-884-6438 >> buschedw at msu.edu >> he/him/his >> >> >> From: > on behalf of "Benedett, Barbara" > >> Reply-To: "archivesspace_users_group at lyralists.lyrasis.org " > >> Date: Wednesday, March 31, 2021 at 1:59 PM >> To: "archivesspace_users_group at lyralists.lyrasis.org " > >> Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? >> >> Hi Ed, >> I just tested one of ours that has the Preservica-generated External document note and it was successful. I'll try a few others and see if I can recreate your issue. >> >> Barbara J. Benedett, CA, DAS >> Digital Archivist | Rock Resource Center >> 1720 Locust Street, Philadelphia, PA 19103 >> (215) 717-3139 Phone | (215) 893-9065 Fax | barbara.benedett at curtis.edu >> >> >> >> From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Busch, Ed > >> Sent: Wednesday, March 31, 2021 1:51 PM >> To: archivesspace_users_group at lyralists.lyrasis.org > >> Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? >> >> When I do Generate PDF for a particular Resource, the job fails. This resource has added Preservica content in External Documents, Notes and added DOs. I?m suspecting something in one of those fields is causing the problem. I?ve attached the EAD export. Here?s the error list: >> >> Generating PDF for College of Arts and Letters records >> >> Internal error evaluating template rule at line 123 in module file:/archivesspace/stylesheets/as-ead-pdf.xsl >> >> net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(net/sf/saxon/expr/instruct/TemplateRule.java:371 ) >> >> net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533 ) >> >> net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746 ) >> >> net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441 ) >> >> java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498 ) >> >> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426 ) >> >> org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293 ) >> >> org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514 ) >> >> org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755 ) >> >> org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200 ) >> >> org.jruby.RubyKernel$INVOKER$s$send.call (org/jruby/RubyKernel$INVOKER$s$send.gen) >> >> RUBY.invocation_lambda(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270) >> >> org.jruby.RubyProc.call (org/jruby/RubyProc.java:291 ) >> >> org.jruby.RubyProc$INVOKER$i$call.call (org/jruby/RubyProc$INVOKER$i$call.gen) >> >> RUBY.to_destination(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73) >> >> RUBY.to_fo(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44) >> >> RUBY.to_pdf(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58) >> >> RUBY.run (/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) >> >> 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 (/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24) >> >> RUBY.run (/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) >> >> 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(archivesspace/data/tmp/jetty_minus_0_dot_0_dot_0_dot_0_minus_8 >> >> Any suggestions? >> >> Ed Busch, MLIS >> Interim Head of University Archives and Historical Collections >> Electronic Records Archivist >> Conrad Hall, 943 Conrad Road, Room 101 >> East Lansing, MI 48824 >> 517-884-6438 >> buschedw at msu.edu >> he/him/his >> >> _______________________________________________ >> Archivesspace_Users_Group mailing list >> Archivesspace_Users_Group at lyralists.lyrasis.org >> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group > > _______________________________________________ > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3342 bytes Desc: not available URL: From barbara.benedett at curtis.edu Thu Apr 1 14:11:20 2021 From: barbara.benedett at curtis.edu (Benedett, Barbara) Date: Thu, 1 Apr 2021 18:11:20 +0000 Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? In-Reply-To: <9BA42BC8-0D5D-49CF-838F-1DAC11B2638A@msu.edu> References: <6F37B284-C1AC-4608-9D57-6D51369EB47F@msu.edu> <6B2DA6D4-08A4-4E19-BC24-593A74FC0A11@msu.edu> <92560AD7-2500-4146-B440-757CA8B586CC@virginia.edu> <3004E6EE-8C83-4436-987D-40E5B8AB26AA@msu.edu> <27BC4BBF-3B6F-4054-8692-27CA367809D7@msu.edu> <95BD047E-3F56-4983-9E41-FB75DE063408@msu.edu> , <9BA42BC8-0D5D-49CF-838F-1DAC11B2638A@msu.edu> Message-ID: The update would explain why it was still working for me as we?re still on 2.8.0. This is timely though given our interest in leaning on Preservica to get rid of these tags in the DO records. Barbara J. Benedett, CA, DAS Digital Archivist | Rock Resource Center 1720 Locust Street, Philadelphia, PA 19103 (215) 717-3139 Phone | (215) 893-9065 Fax | barbara.benedett at curtis.edu she/her On Apr 1, 2021, at 2:08 PM, Busch, Ed wrote: ? AH, that?s better. Preservica was putting in the anchored links but I?ve got mine changed to do only the https only links now. SO I should be able to either anchor stuff or unpublish. I?ll try on a smaller one first. Once I figure this out, I can share on the Preservica side and let them know there was an update in ASpace. Thanks! Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Mark Custer Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 2:03 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Ed, Not exactly. It's not a problem of any HTML encodings in the URL (e.g. %3A for a colon), which should be fine. However, if you go into edit those digital objects in the ASpace staff interface and open the File URI section, you should see something like: Preservica Internal Those File URI records should just contain the link and not any HTML tags. So, the link should only be what's between the double quotes, e.g.: https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ Once that's done (but there are a lot of links, so not something you'd want to do one by one), then you should be able to create PDFs again in the ASpace staff interface. Another option (though it wouldn't fix the contents of the link) might be to unpublish those File URIs. Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Busch, Ed Sent: Thursday, April 1, 2021 1:39 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks for the help Mark and Brian! Sorry, we?re getting a little deeper than I understand but am I right in the root issue you are describing is the embedded character codes like &, >, ", %3. If Preservica just put the real characters it would be fine? For example, https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ If this is changed to https://msu.access.preservica.com/archive/sdb:AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ would ASpace PDF exporter be happy? Or am I missing it still? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Brian Harrington Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 12:37 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, It looks like the problem is with s (or anything else) that have an @href attribute that has anything other than the bare URL in it. For example, this one: The as-ead-pdf.xsl copies the contents of the @href directly into the @external-destination of an fo:basic-link element, and then the FOP processor is choking on it. And as a data point for everyone, this should have just started breaking in 2.8.1. The included FOP was upgraded to the current version in that release (blame me!) and that appears to have better validation of URIs. It looks like older versions simply included in the PDF. I hope this helps. Brian From: on behalf of "Busch, Ed" Reply-To: Archivesspace Users Group Date: Thursday, April 1, 2021 at 11:43 AM To: Archivesspace Users Group , Benn Joseph Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Sure. I just put a ticket in with my local IT for some help. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Benn Joseph Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 11:35 AM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hey Ed?can you share the EAD export for one that isn?t working? --Benn From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Busch, Ed Sent: Thursday, April 01, 2021 8:55 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks, Steve. Time to dig into this deeper. Some of my Preservica ones work fine. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Majewski, Steven Dennis (sdm7g)" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 4:06 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? It definitely doesn?t like those Preservica URLs. The staff PDF production goes thru 3 steps, and you can do them separately and manually to debug. [1] export EAD XML [2] Run XSLT processor on EAD with /stylesheets/as-ead-pdf.xsl xsl-fo stylesheet $ saxon -xsl:archivesspace/stylesheets/as-ead-pdf.xsl -s:UA.15.9_20210331_175003_UTC__ead.xml -o:fop.fo [3] Run FOP processor on output of xsl-fo stylesheet. $ fop fop.fo -pdf fop.pdf After an error on logo image (because I?m not in the right directory and didn?t pass a param so it can find it) And a bunch of warning in info messages that can be ignored, I get a whole series of errors like this: SEVERE: Error while rendering page 19 java.lang.IllegalStateException: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:688) at org.apache.fop.pdf.PDFFactory.getTargetUri(PDFFactory.java:646) at org.apache.fop.pdf.PDFFactory.getExternalAction(PDFFactory.java:585) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.getAction(PDFDocumentNavigationHandler.java:173) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.renderLink(PDFDocumentNavigationHandler.java:107) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597) at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:316) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:243) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:287) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:192) at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:634) at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:512) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:564) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:509) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:504) at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:339) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:458) at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:139) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:362) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190) at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:293) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116) at org.apache.fop.cli.Main.startFOP(Main.java:183) at org.apache.fop.cli.Main.main(Main.java:214) Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at java.base/java.net.URI$Parser.fail(URI.java:2963) at java.base/java.net.URI$Parser.checkChars(URI.java:3134) at java.base/java.net.URI$Parser.checkChar(URI.java:3144) at java.base/java.net.URI$Parser.parse(URI.java:3159) at java.base/java.net.URI.(URI.java:855) at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:686) ... 39 more And searching for ?Preservica Internal? in the EAD, I see that some of those URLs are text strings: --

These are photographs taken at the College of Arts and Letters Alumni Homecoming Tailgate tent.These are part of a larger group of College of Arts and Letters photographs that have an identifier beginning with A.2013.0031.

Preservica Internal URL

https://us.preservica.com/explorer/explorer.html#prop:4&0a205486-db11-445e-a49f-7c0c55ef8c63

-- And others (which are the source of the problem) are DAO href attribute values that are character escaped tags. Not sure how you?ve got this encoded in ArchivesSpace for it to export like this, but those are the values that need to be fixed. --

ArtPrize Submissions: 2020-12-07

https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|de6cbfd3-5bdf-41d1-a313-e323698859f2/">Preservica Access</a>" xlink:role="Electronic Record Access System" xlink:type="locator"/> -- ? Steve Majewski On Mar 31, 2021, at 2:24 PM, Busch, Ed > wrote: Just curious, in the Preservica added Notes in their Subnote Text content do you have them begin with
&fb978c72-bce5-4d04-b69b-762891c683b4 Just wild guessing right now. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Benedett, Barbara" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 1:59 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, I just tested one of ours that has the Preservica-generated External document note and it was successful. I'll try a few others and see if I can recreate your issue. Barbara J. Benedett, CA, DAS Digital Archivist | Rock Resource Center 1720 Locust Street, Philadelphia, PA 19103 (215) 717-3139 Phone | (215) 893-9065 Fax | barbara.benedett at curtis.edu ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Busch, Ed > Sent: Wednesday, March 31, 2021 1:51 PM To: archivesspace_users_group at lyralists.lyrasis.org > Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? When I do Generate PDF for a particular Resource, the job fails. This resource has added Preservica content in External Documents, Notes and added DOs. I?m suspecting something in one of those fields is causing the problem. I?ve attached the EAD export. Here?s the error list: Generating PDF for College of Arts and Letters records Internal error evaluating template rule at line 123 in module file:/archivesspace/stylesheets/as-ead-pdf.xsl net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(net/sf/saxon/expr/instruct/TemplateRule.java:371) net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533) net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746) net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441) java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498) org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426) org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293) org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514) org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755) org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200) org.jruby.RubyKernel$INVOKER$s$send.call(org/jruby/RubyKernel$INVOKER$s$send.gen) RUBY.invocation_lambda(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270) org.jruby.RubyProc.call(org/jruby/RubyProc.java:291) org.jruby.RubyProc$INVOKER$i$call.call(org/jruby/RubyProc$INVOKER$i$call.gen) RUBY.to_destination(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73) RUBY.to_fo(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44) RUBY.to_pdf(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58) RUBY.run(/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) 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(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24) RUBY.run(/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) 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(archivesspace/data/tmp/jetty_minus_0_dot_0_dot_0_dot_0_minus_8 Any suggestions? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org https://linkprotect.cudasvc.com/url?a=http%3a%2f%2flyralists.lyrasis.org%2fmailman%2flistinfo%2farchivesspace_users_group&c=E,1,39um_gWruhBigmVYbjqlZV8wfgbJYtLGK1M0vbaxvJx7mtjUratGq6H6g0K9bNUitIE0pEt4u18ybEuxKSNKqGOBF2u5RkwuStrVe4vZ2RESS-3CyUjm&typo=1 -------------- next part -------------- An HTML attachment was scrubbed... URL: From buschedw at msu.edu Thu Apr 1 14:14:02 2021 From: buschedw at msu.edu (Busch, Ed) Date: Thu, 1 Apr 2021 18:14:02 +0000 Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? In-Reply-To: <9BA42BC8-0D5D-49CF-838F-1DAC11B2638A@msu.edu> References: <6F37B284-C1AC-4608-9D57-6D51369EB47F@msu.edu> <6B2DA6D4-08A4-4E19-BC24-593A74FC0A11@msu.edu> <92560AD7-2500-4146-B440-757CA8B586CC@virginia.edu> <3004E6EE-8C83-4436-987D-40E5B8AB26AA@msu.edu> <27BC4BBF-3B6F-4054-8692-27CA367809D7@msu.edu> <95BD047E-3F56-4983-9E41-FB75DE063408@msu.edu> <9BA42BC8-0D5D-49CF-838F-1DAC11B2638A@msu.edu> Message-ID: <075CA138-E4FD-47AA-9DF2-CD796F273EBB@msu.edu> Success! I got the smaller Resource fixed. Thanks! Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: Ed Busch Date: Thursday, April 1, 2021 at 2:07 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? AH, that?s better. Preservica was putting in the anchored links but I?ve got mine changed to do only the https only links now. SO I should be able to either anchor stuff or unpublish. I?ll try on a smaller one first. Once I figure this out, I can share on the Preservica side and let them know there was an update in ASpace. Thanks! Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Mark Custer Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 2:03 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Ed, Not exactly. It's not a problem of any HTML encodings in the URL (e.g. %3A for a colon), which should be fine. However, if you go into edit those digital objects in the ASpace staff interface and open the File URI section, you should see something like: Preservica Internal Those File URI records should just contain the link and not any HTML tags. So, the link should only be what's between the double quotes, e.g.: https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ Once that's done (but there are a lot of links, so not something you'd want to do one by one), then you should be able to create PDFs again in the ASpace staff interface. Another option (though it wouldn't fix the contents of the link) might be to unpublish those File URIs. Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Busch, Ed Sent: Thursday, April 1, 2021 1:39 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks for the help Mark and Brian! Sorry, we?re getting a little deeper than I understand but am I right in the root issue you are describing is the embedded character codes like &, >, ", %3. If Preservica just put the real characters it would be fine? For example, https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ If this is changed to https://msu.access.preservica.com/archive/sdb:AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ would ASpace PDF exporter be happy? Or am I missing it still? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Brian Harrington Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 12:37 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, It looks like the problem is with s (or anything else) that have an @href attribute that has anything other than the bare URL in it. For example, this one: The as-ead-pdf.xsl copies the contents of the @href directly into the @external-destination of an fo:basic-link element, and then the FOP processor is choking on it. And as a data point for everyone, this should have just started breaking in 2.8.1. The included FOP was upgraded to the current version in that release (blame me!) and that appears to have better validation of URIs. It looks like older versions simply included in the PDF. I hope this helps. Brian From: on behalf of "Busch, Ed" Reply-To: Archivesspace Users Group Date: Thursday, April 1, 2021 at 11:43 AM To: Archivesspace Users Group , Benn Joseph Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Sure. I just put a ticket in with my local IT for some help. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Benn Joseph Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 11:35 AM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hey Ed?can you share the EAD export for one that isn?t working? --Benn From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Busch, Ed Sent: Thursday, April 01, 2021 8:55 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks, Steve. Time to dig into this deeper. Some of my Preservica ones work fine. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Majewski, Steven Dennis (sdm7g)" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 4:06 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? It definitely doesn?t like those Preservica URLs. The staff PDF production goes thru 3 steps, and you can do them separately and manually to debug. [1] export EAD XML [2] Run XSLT processor on EAD with /stylesheets/as-ead-pdf.xsl xsl-fo stylesheet $ saxon -xsl:archivesspace/stylesheets/as-ead-pdf.xsl -s:UA.15.9_20210331_175003_UTC__ead.xml -o:fop.fo [3] Run FOP processor on output of xsl-fo stylesheet. $ fop fop.fo -pdf fop.pdf After an error on logo image (because I?m not in the right directory and didn?t pass a param so it can find it) And a bunch of warning in info messages that can be ignored, I get a whole series of errors like this: SEVERE: Error while rendering page 19 java.lang.IllegalStateException: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:688) at org.apache.fop.pdf.PDFFactory.getTargetUri(PDFFactory.java:646) at org.apache.fop.pdf.PDFFactory.getExternalAction(PDFFactory.java:585) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.getAction(PDFDocumentNavigationHandler.java:173) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.renderLink(PDFDocumentNavigationHandler.java:107) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597) at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:316) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:243) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:287) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:192) at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:634) at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:512) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:564) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:509) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:504) at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:339) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:458) at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:139) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:362) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190) at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:293) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116) at org.apache.fop.cli.Main.startFOP(Main.java:183) at org.apache.fop.cli.Main.main(Main.java:214) Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at java.base/java.net.URI$Parser.fail(URI.java:2963) at java.base/java.net.URI$Parser.checkChars(URI.java:3134) at java.base/java.net.URI$Parser.checkChar(URI.java:3144) at java.base/java.net.URI$Parser.parse(URI.java:3159) at java.base/java.net.URI.(URI.java:855) at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:686) ... 39 more And searching for ?Preservica Internal? in the EAD, I see that some of those URLs are text strings: --

These are photographs taken at the College of Arts and Letters Alumni Homecoming Tailgate tent.These are part of a larger group of College of Arts and Letters photographs that have an identifier beginning with A.2013.0031.

Preservica Internal URL

https://us.preservica.com/explorer/explorer.html#prop:4&0a205486-db11-445e-a49f-7c0c55ef8c63

-- And others (which are the source of the problem) are DAO href attribute values that are character escaped tags. Not sure how you?ve got this encoded in ArchivesSpace for it to export like this, but those are the values that need to be fixed. --

ArtPrize Submissions: 2020-12-07

https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|de6cbfd3-5bdf-41d1-a313-e323698859f2/">Preservica Access</a>" xlink:role="Electronic Record Access System" xlink:type="locator"/> -- ? Steve Majewski On Mar 31, 2021, at 2:24 PM, Busch, Ed > wrote: Just curious, in the Preservica added Notes in their Subnote Text content do you have them begin with
&fb978c72-bce5-4d04-b69b-762891c683b4 Just wild guessing right now. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Benedett, Barbara" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 1:59 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, I just tested one of ours that has the Preservica-generated External document note and it was successful. I'll try a few others and see if I can recreate your issue. Barbara J. Benedett, CA, DAS Digital Archivist | Rock Resource Center 1720 Locust Street, Philadelphia, PA 19103 (215) 717-3139 Phone | (215) 893-9065 Fax | barbara.benedett at curtis.edu ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Busch, Ed > Sent: Wednesday, March 31, 2021 1:51 PM To: archivesspace_users_group at lyralists.lyrasis.org > Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? When I do Generate PDF for a particular Resource, the job fails. This resource has added Preservica content in External Documents, Notes and added DOs. I?m suspecting something in one of those fields is causing the problem. I?ve attached the EAD export. Here?s the error list: Generating PDF for College of Arts and Letters records Internal error evaluating template rule at line 123 in module file:/archivesspace/stylesheets/as-ead-pdf.xsl net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(net/sf/saxon/expr/instruct/TemplateRule.java:371) net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533) net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746) net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441) java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498) org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426) org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293) org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514) org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755) org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200) org.jruby.RubyKernel$INVOKER$s$send.call(org/jruby/RubyKernel$INVOKER$s$send.gen) RUBY.invocation_lambda(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270) org.jruby.RubyProc.call(org/jruby/RubyProc.java:291) org.jruby.RubyProc$INVOKER$i$call.call(org/jruby/RubyProc$INVOKER$i$call.gen) RUBY.to_destination(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73) RUBY.to_fo(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44) RUBY.to_pdf(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58) RUBY.run(/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) 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(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24) RUBY.run(/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) 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(archivesspace/data/tmp/jetty_minus_0_dot_0_dot_0_dot_0_minus_8 Any suggestions? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his _______________________________________________ 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: From Kate.F.Herbert at maine.gov Thu Apr 1 15:34:42 2021 From: Kate.F.Herbert at maine.gov (Herbert, Kate F) Date: Thu, 1 Apr 2021 19:34:42 +0000 Subject: [Archivesspace_Users_Group] Entering a Second Location through the API Message-ID: I am pretty new to the API and we are currently undergoing a move of our entire collection (just over 58,000 top containers) for a multiyear repair to our building. I am trying to find a way to put in the new locations but keep the old locations, as they will still be useful for reference points to our old finding aids. I know how to update a top container record in the API but I am can not seem to make it work with more than one location. Any ideas on how this could be done would be helpful. We have a hosted instance and no direct access to the back end. Thanks, Kate Herbert Digital Archivist Maine State Archives kate.f.herbert at maine.gov (she/her/hers) -------------- next part -------------- An HTML attachment was scrubbed... URL: From buschedw at msu.edu Fri Apr 2 11:25:24 2021 From: buschedw at msu.edu (Busch, Ed) Date: Fri, 2 Apr 2021 15:25:24 +0000 Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? In-Reply-To: References: <6F37B284-C1AC-4608-9D57-6D51369EB47F@msu.edu> <6B2DA6D4-08A4-4E19-BC24-593A74FC0A11@msu.edu> <92560AD7-2500-4146-B440-757CA8B586CC@virginia.edu> <3004E6EE-8C83-4436-987D-40E5B8AB26AA@msu.edu> <27BC4BBF-3B6F-4054-8692-27CA367809D7@msu.edu> <95BD047E-3F56-4983-9E41-FB75DE063408@msu.edu> Message-ID: <74DCF5B5-316F-4D4C-B0D5-134C2BA1FB77@msu.edu> Thanks! I ?ve got that fixed now and working on the others. I did note in the created pdfs by ArchivesSpace that the URL strings are not working ? you cannot click them or copy/paste successfully. It has to do with the lines wrapping so the links are incomplete. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of "Majewski, Steven Dennis (sdm7g)" Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 2:10 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? I think the issue is not the escaped character codes but the fact the the href URLs for some of those daoloc-s start with '> wrote: Thanks for the help Mark and Brian! Sorry, we?re getting a little deeper than I understand but am I right in the root issue you are describing is the embedded character codes like &, >, ", %3. If Preservica just put the real characters it would be fine? For example, https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ If this is changed to https://msu.access.preservica.com/archive/sdb:AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/would ASpace PDF exporter be happy? Or am I missing it still? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of Brian Harrington > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Thursday, April 1, 2021 at 12:37 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, It looks like the problem is with s (or anything else) that have an @href attribute that has anything other than the bare URL in it. For example, this one: The as-ead-pdf.xsl copies the contents of the @href directly into the @external-destination of an fo:basic-link element, and then the FOP processor is choking on it. And as a data point for everyone, this should have just started breaking in 2.8.1. The included FOP was upgraded to the current version in that release (blame me!) and that appears to have better validation of URIs. It looks like older versions simply included in the PDF. I hope this helps. Brian From: > on behalf of "Busch, Ed" > Reply-To: Archivesspace Users Group > Date: Thursday, April 1, 2021 at 11:43 AM To: Archivesspace Users Group >, Benn Joseph > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Sure. I just put a ticket in with my local IT for some help. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of Benn Joseph > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Thursday, April 1, 2021 at 11:35 AM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hey Ed?can you share the EAD export for one that isn?t working? --Benn From: archivesspace_users_group-bounces at lyralists.lyrasis.org > On Behalf Of Busch, Ed Sent: Thursday, April 01, 2021 8:55 AM To: Archivesspace Users Group > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks, Steve. Time to dig into this deeper. Some of my Preservica ones work fine. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Majewski, Steven Dennis (sdm7g)" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 4:06 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? It definitely doesn?t like those Preservica URLs. The staff PDF production goes thru 3 steps, and you can do them separately and manually to debug. [1] export EAD XML [2] Run XSLT processor on EAD with /stylesheets/as-ead-pdf.xsl xsl-fo stylesheet $ saxon -xsl:archivesspace/stylesheets/as-ead-pdf.xsl -s:UA.15.9_20210331_175003_UTC__ead.xml -o:fop.fo [3] Run FOP processor on output of xsl-fo stylesheet. $ fop fop.fo -pdf fop.pdf After an error on logo image (because I?m not in the right directory and didn?t pass a param so it can find it) And a bunch of warning in info messages that can be ignored, I get a whole series of errors like this: SEVERE: Error while rendering page 19 java.lang.IllegalStateException: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:688) at org.apache.fop.pdf.PDFFactory.getTargetUri(PDFFactory.java:646) at org.apache.fop.pdf.PDFFactory.getExternalAction(PDFFactory.java:585) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.getAction(PDFDocumentNavigationHandler.java:173) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.renderLink(PDFDocumentNavigationHandler.java:107) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597) at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:316) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:243) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:287) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:192) at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:634) at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:512) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:564) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:509) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:504) at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:339) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:458) at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:139) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:362) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190) at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:293) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116) at org.apache.fop.cli.Main.startFOP(Main.java:183) at org.apache.fop.cli.Main.main(Main.java:214) Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at java.base/java.net.URI$Parser.fail(URI.java:2963) at java.base/java.net.URI$Parser.checkChars(URI.java:3134) at java.base/java.net.URI$Parser.checkChar(URI.java:3144) at java.base/java.net.URI$Parser.parse(URI.java:3159) at java.base/java.net.URI.(URI.java:855) at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:686) ... 39 more And searching for ?Preservica Internal? in the EAD, I see that some of those URLs are text strings: --

These are photographs taken at the College of Arts and Letters Alumni Homecoming Tailgate tent.These are part of a larger group of College of Arts and Letters photographs that have an identifier beginning with A.2013.0031.

Preservica Internal URL

https://us.preservica.com/explorer/explorer.html#prop:4&0a205486-db11-445e-a49f-7c0c55ef8c63

-- And others (which are the source of the problem) are DAO href attribute values that are character escaped
tags. Not sure how you?ve got this encoded in ArchivesSpace for it to export like this, but those are the values that need to be fixed. --

ArtPrize Submissions: 2020-12-07

-- ? Steve Majewski On Mar 31, 2021, at 2:24 PM, Busch, Ed > wrote: Just curious, in the Preservica added Notes in their Subnote Text content do you have them begin with
&fb978c72-bce5-4d04-b69b-762891c683b4 Just wild guessing right now. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Benedett, Barbara" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 1:59 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, I just tested one of ours that has the Preservica-generated External document note and it was successful. I'll try a few others and see if I can recreate your issue. Barbara J. Benedett, CA, DAS Digital Archivist | Rock Resource Center 1720 Locust Street, Philadelphia, PA 19103 (215) 717-3139 Phone | (215) 893-9065 Fax | barbara.benedett at curtis.edu ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Busch, Ed > Sent: Wednesday, March 31, 2021 1:51 PM To: archivesspace_users_group at lyralists.lyrasis.org > Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? When I do Generate PDF for a particular Resource, the job fails. This resource has added Preservica content in External Documents, Notes and added DOs. I?m suspecting something in one of those fields is causing the problem. I?ve attached the EAD export. Here?s the error list: Generating PDF for College of Arts and Letters records Internal error evaluating template rule at line 123 in module file:/archivesspace/stylesheets/as-ead-pdf.xsl net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(net/sf/saxon/expr/instruct/TemplateRule.java:371) net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533) net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746) net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441) java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498) org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426) org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293) org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514) org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755) org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200) org.jruby.RubyKernel$INVOKER$s$send.call(org/jruby/RubyKernel$INVOKER$s$send.gen) RUBY.invocation_lambda(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270) org.jruby.RubyProc.call(org/jruby/RubyProc.java:291) org.jruby.RubyProc$INVOKER$i$call.call(org/jruby/RubyProc$INVOKER$i$call.gen) RUBY.to_destination(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73) RUBY.to_fo(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44) RUBY.to_pdf(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58) RUBY.run(/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) 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(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24) RUBY.run(/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) 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(archivesspace/data/tmp/jetty_minus_0_dot_0_dot_0_dot_0_minus_8 Any suggestions? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group _______________________________________________ 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: From vaddonizio at atlas-sys.com Fri Apr 2 11:52:59 2021 From: vaddonizio at atlas-sys.com (Valerie Addonizio) Date: Fri, 2 Apr 2021 15:52:59 +0000 Subject: [Archivesspace_Users_Group] Entering a Second Location through the API In-Reply-To: References: Message-ID: Kate, I can offer general advice. I recommend adding more than one location to a top container in the staff interface first, as a sample, and then getting out that record through the API to use as a template for understanding how this should look. You'll see that multiple locations are listed in the container_locations array, separated by a comma. Treat that array like a list, append the new location, and then post the top_container record back with the longer array. Below is a sample of a single top container with two Current locations. The only data required when you append to the array is: { "status": "current", <-- Or temporary "start_date": "2021-04-02",<-- Your choice "ref": "/locations/3" <-- where this is your new location } Sample GET showing multiple locations: { "lock_version": 9, "barcode": "10100151637763", "indicator": "1", "created_by": "admin", "last_modified_by": "admin", "create_time": "2021-03-31T20:59:17Z", "system_mtime": "2021-04-02T15:38:24Z", "user_mtime": "2021-04-02T15:38:24Z", "type": "box", "jsonmodel_type": "top_container", "active_restrictions": [], "container_locations": [ { "jsonmodel_type": "container_location", "status": "current", "start_date": "2021-04-02", "system_mtime": "2021-04-02 15:38:24 UTC", "user_mtime": "2021-04-02 15:38:24 UTC", "ref": "/locations/1" }, { "jsonmodel_type": "container_location", "status": "current", "start_date": "2021-04-02", "system_mtime": "2021-04-02 15:38:24 UTC", "user_mtime": "2021-04-02 15:38:24 UTC", "ref": "/locations/2" } ], "series": [], "collection": [ { "ref": "/repositories/101/accessions/1", "identifier": "mss--acc--1", "display_string": "Accession 01" } ], "uri": "/repositories/101/top_containers/624", "repository": { "ref": "/repositories/101" }, "restricted": false, "is_linked_to_published_record": false, "display_string": "Box 1: [Barcode: 10100151637763]", "long_display_string": "Box 1 [Barcode: 10100151637763], yuiu [fdfd: a], mss--acc--1, Accession 01" } From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Herbert, Kate F Sent: Thursday, April 1, 2021 3:35 PM To: archivesspace_users_group at lyralists.lyrasis.org Subject: [Archivesspace_Users_Group] Entering a Second Location through the API I am pretty new to the API and we are currently undergoing a move of our entire collection (just over 58,000 top containers) for a multiyear repair to our building. I am trying to find a way to put in the new locations but keep the old locations, as they will still be useful for reference points to our old finding aids. I know how to update a top container record in the API but I am can not seem to make it work with more than one location. Any ideas on how this could be done would be helpful. We have a hosted instance and no direct access to the back end. Thanks, Kate Herbert Digital Archivist Maine State Archives kate.f.herbert at maine.gov (she/her/hers) -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark.custer at yale.edu Fri Apr 2 12:52:36 2021 From: mark.custer at yale.edu (Custer, Mark) Date: Fri, 2 Apr 2021 16:52:36 +0000 Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? In-Reply-To: <74DCF5B5-316F-4D4C-B0D5-134C2BA1FB77@msu.edu> References: <6F37B284-C1AC-4608-9D57-6D51369EB47F@msu.edu> <6B2DA6D4-08A4-4E19-BC24-593A74FC0A11@msu.edu> <92560AD7-2500-4146-B440-757CA8B586CC@virginia.edu> <3004E6EE-8C83-4436-987D-40E5B8AB26AA@msu.edu> <27BC4BBF-3B6F-4054-8692-27CA367809D7@msu.edu> <95BD047E-3F56-4983-9E41-FB75DE063408@msu.edu> , <74DCF5B5-316F-4D4C-B0D5-134C2BA1FB77@msu.edu> Message-ID: Ed, The issue for those notes is that the links are not encoded as links, but instead encoded as plain text within the ArchivesSpace note. What follows is just a description of how things work now and how to get such a link within a note to work, not? the way that things should work ? When converted into a PDF, the PDF reader that you're using is trying to be helpful to turn that plain text into a link, but when there is a line wrap, it fails to do get it right To get those links to work in the PDFs, then the text could be wrapped in an "extref" EAD tag, which is something that the ArchivesSpace EAD-to-PDF transformation process will recognize and turn into a real link in the PDF. No need for the PDF reader to do any guessing, So, right now, let's say one of your "other finding aid" notes from Preservica looks like this in ArchivesSpace: https://msu.access.preservica.com/archive/sdb:collection|325a7035-69c9-4a50-967c-6702a15db759/ To get that to function as a link in the PDF, then the note would need to be encoded like so in ArchivesSpace: https://msu.access.preservica.com/archive/sdb:collection|325a7035-69c9-4a50-967c-6702a15db759/ Where anything highlighted in yellow is the link text, and anything highlighted in green is the actual link. I'm also attaching a picture, so you can see how that looks in ArchivesSpace. For EAD2002, technically that attribute would look like xlink:href="{link}", but ASpace will add that xlink: part during the export process, so need to have it there in notes field and complicate the note any further. Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Busch, Ed Sent: Friday, April 2, 2021 11:25 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks! I ?ve got that fixed now and working on the others. I did note in the created pdfs by ArchivesSpace that the URL strings are not working ? you cannot click them or copy/paste successfully. It has to do with the lines wrapping so the links are incomplete. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of "Majewski, Steven Dennis (sdm7g)" Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 2:10 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? I think the issue is not the escaped character codes but the fact the the href URLs for some of those daoloc-s start with '> wrote: Thanks for the help Mark and Brian! Sorry, we?re getting a little deeper than I understand but am I right in the root issue you are describing is the embedded character codes like &, >, ", %3. If Preservica just put the real characters it would be fine? For example, https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ If this is changed to https://msu.access.preservica.com/archive/sdb:AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/would ASpace PDF exporter be happy? Or am I missing it still? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of Brian Harrington > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Thursday, April 1, 2021 at 12:37 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, It looks like the problem is with s (or anything else) that have an @href attribute that has anything other than the bare URL in it. For example, this one: https://us.preservica.com/explorer/explorer.html#prop:7&6e734ad9-75bc-4f06-a5a0-7aa458e39746">Preservica Internal</a>" xlink:role="Digital Preservation Staff System" xlink:type="locator"/> The as-ead-pdf.xsl copies the contents of the @href directly into the @external-destination of an fo:basic-link element, and then the FOP processor is choking on it. And as a data point for everyone, this should have just started breaking in 2.8.1. The included FOP was upgraded to the current version in that release (blame me!) and that appears to have better validation of URIs. It looks like older versions simply included in the PDF. I hope this helps. Brian From: > on behalf of "Busch, Ed" > Reply-To: Archivesspace Users Group > Date: Thursday, April 1, 2021 at 11:43 AM To: Archivesspace Users Group >, Benn Joseph > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Sure. I just put a ticket in with my local IT for some help. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of Benn Joseph > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Thursday, April 1, 2021 at 11:35 AM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hey Ed?can you share the EAD export for one that isn?t working? --Benn From: archivesspace_users_group-bounces at lyralists.lyrasis.org > On Behalf Of Busch, Ed Sent: Thursday, April 01, 2021 8:55 AM To: Archivesspace Users Group > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks, Steve. Time to dig into this deeper. Some of my Preservica ones work fine. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Majewski, Steven Dennis (sdm7g)" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 4:06 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? It definitely doesn?t like those Preservica URLs. The staff PDF production goes thru 3 steps, and you can do them separately and manually to debug. [1] export EAD XML [2] Run XSLT processor on EAD with /stylesheets/as-ead-pdf.xsl xsl-fo stylesheet $ saxon -xsl:archivesspace/stylesheets/as-ead-pdf.xsl -s:UA.15.9_20210331_175003_UTC__ead.xml -o:fop.fo [3] Run FOP processor on output of xsl-fo stylesheet. $ fop fop.fo -pdf fop.pdf After an error on logo image (because I?m not in the right directory and didn?t pass a param so it can find it) And a bunch of warning in info messages that can be ignored, I get a whole series of errors like this: SEVERE: Error while rendering page 19 java.lang.IllegalStateException: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:688) at org.apache.fop.pdf.PDFFactory.getTargetUri(PDFFactory.java:646) at org.apache.fop.pdf.PDFFactory.getExternalAction(PDFFactory.java:585) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.getAction(PDFDocumentNavigationHandler.java:173) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.renderLink(PDFDocumentNavigationHandler.java:107) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597) at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:316) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:243) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:287) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:192) at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:634) at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:512) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:564) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:509) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:504) at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:339) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:458) at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:139) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:362) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190) at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:293) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116) at org.apache.fop.cli.Main.startFOP(Main.java:183) at org.apache.fop.cli.Main.main(Main.java:214) Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at java.base/java.net.URI$Parser.fail(URI.java:2963) at java.base/java.net.URI$Parser.checkChars(URI.java:3134) at java.base/java.net.URI$Parser.checkChar(URI.java:3144) at java.base/java.net.URI$Parser.parse(URI.java:3159) at java.base/java.net.URI.(URI.java:855) at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:686) ... 39 more And searching for ?Preservica Internal? in the EAD, I see that some of those URLs are text strings: --

These are photographs taken at the College of Arts and Letters Alumni Homecoming Tailgate tent.These are part of a larger group of College of Arts and Letters photographs that have an identifier beginning with A.2013.0031.

Preservica Internal URL

https://us.preservica.com/explorer/explorer.html#prop:4&0a205486-db11-445e-a49f-7c0c55ef8c63

-- And others (which are the source of the problem) are DAO href attribute values that are character escaped
tags. Not sure how you?ve got this encoded in ArchivesSpace for it to export like this, but those are the values that need to be fixed. --

ArtPrize Submissions: 2020-12-07

https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|de6cbfd3-5bdf-41d1-a313-e323698859f2/">Preservica Access</a>" xlink:role="Electronic Record Access System" xlink:type="locator"/> -- ? Steve Majewski On Mar 31, 2021, at 2:24 PM, Busch, Ed > wrote: Just curious, in the Preservica added Notes in their Subnote Text content do you have them begin with
&fb978c72-bce5-4d04-b69b-762891c683b4 Just wild guessing right now. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Benedett, Barbara" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 1:59 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, I just tested one of ours that has the Preservica-generated External document note and it was successful. I'll try a few others and see if I can recreate your issue. Barbara J. Benedett, CA, DAS Digital Archivist | Rock Resource Center 1720 Locust Street, Philadelphia, PA 19103 (215) 717-3139 Phone | (215) 893-9065 Fax | barbara.benedett at curtis.edu ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Busch, Ed > Sent: Wednesday, March 31, 2021 1:51 PM To: archivesspace_users_group at lyralists.lyrasis.org > Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? When I do Generate PDF for a particular Resource, the job fails. This resource has added Preservica content in External Documents, Notes and added DOs. I?m suspecting something in one of those fields is causing the problem. I?ve attached the EAD export. Here?s the error list: Generating PDF for College of Arts and Letters records Internal error evaluating template rule at line 123 in module file:/archivesspace/stylesheets/as-ead-pdf.xsl net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(net/sf/saxon/expr/instruct/TemplateRule.java:371) net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533) net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746) net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441) java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498) org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426) org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293) org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514) org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755) org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200) org.jruby.RubyKernel$INVOKER$s$send.call(org/jruby/RubyKernel$INVOKER$s$send.gen) RUBY.invocation_lambda(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270) org.jruby.RubyProc.call(org/jruby/RubyProc.java:291) org.jruby.RubyProc$INVOKER$i$call.call(org/jruby/RubyProc$INVOKER$i$call.gen) RUBY.to_destination(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73) RUBY.to_fo(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44) RUBY.to_pdf(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58) RUBY.run(/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) 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(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24) RUBY.run(/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) 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(archivesspace/data/tmp/jetty_minus_0_dot_0_dot_0_dot_0_minus_8 Any suggestions? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group _______________________________________________ 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2021-04-02 at 12.21.06 PM.png Type: image/png Size: 142419 bytes Desc: Screen Shot 2021-04-02 at 12.21.06 PM.png URL: From buschedw at msu.edu Fri Apr 2 14:03:59 2021 From: buschedw at msu.edu (Busch, Ed) Date: Fri, 2 Apr 2021 18:03:59 +0000 Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? In-Reply-To: References: <6F37B284-C1AC-4608-9D57-6D51369EB47F@msu.edu> <6B2DA6D4-08A4-4E19-BC24-593A74FC0A11@msu.edu> <92560AD7-2500-4146-B440-757CA8B586CC@virginia.edu> <3004E6EE-8C83-4436-987D-40E5B8AB26AA@msu.edu> <27BC4BBF-3B6F-4054-8692-27CA367809D7@msu.edu> <95BD047E-3F56-4983-9E41-FB75DE063408@msu.edu> <74DCF5B5-316F-4D4C-B0D5-134C2BA1FB77@msu.edu> Message-ID: Ah, makes sense. I?ll try the extref formatting and see what the implications of doing that. I suspect something else will then no longer function the way I?d like. ? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Mark Custer Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Friday, April 2, 2021 at 12:53 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Ed, The issue for those notes is that the links are not encoded as links, but instead encoded as plain text within the ArchivesSpace note. What follows is just a description of how things work now and how to get such a link within a note to work, not? the way that things should work ? When converted into a PDF, the PDF reader that you're using is trying to be helpful to turn that plain text into a link, but when there is a line wrap, it fails to do get it right To get those links to work in the PDFs, then the text could be wrapped in an "extref" EAD tag, which is something that the ArchivesSpace EAD-to-PDF transformation process will recognize and turn into a real link in the PDF. No need for the PDF reader to do any guessing, So, right now, let's say one of your "other finding aid" notes from Preservica looks like this in ArchivesSpace: https://msu.access.preservica.com/archive/sdb:collection|325a7035-69c9-4a50-967c-6702a15db759/ To get that to function as a link in the PDF, then the note would need to be encoded like so in ArchivesSpace: https://msu.access.preservica.com/archive/sdb:collection|325a7035-69c9-4a50-967c-6702a15db759/ Where anything highlighted in yellow is the link text, and anything highlighted in green is the actual link. I'm also attaching a picture, so you can see how that looks in ArchivesSpace. For EAD2002, technically that attribute would look like xlink:href="{link}", but ASpace will add that xlink: part during the export process, so need to have it there in notes field and complicate the note any further. Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Busch, Ed Sent: Friday, April 2, 2021 11:25 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks! I ?ve got that fixed now and working on the others. I did note in the created pdfs by ArchivesSpace that the URL strings are not working ? you cannot click them or copy/paste successfully. It has to do with the lines wrapping so the links are incomplete. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of "Majewski, Steven Dennis (sdm7g)" Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 2:10 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? I think the issue is not the escaped character codes but the fact the the href URLs for some of those daoloc-s start with '> wrote: Thanks for the help Mark and Brian! Sorry, we?re getting a little deeper than I understand but am I right in the root issue you are describing is the embedded character codes like &, >, ", %3. If Preservica just put the real characters it would be fine? For example, https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ If this is changed to https://msu.access.preservica.com/archive/sdb:AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/would ASpace PDF exporter be happy? Or am I missing it still? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of Brian Harrington > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Thursday, April 1, 2021 at 12:37 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, It looks like the problem is with s (or anything else) that have an @href attribute that has anything other than the bare URL in it. For example, this one: https://us.preservica.com/explorer/explorer.html#prop:7&6e734ad9-75bc-4f06-a5a0-7aa458e39746">Preservica Internal</a>" xlink:role="Digital Preservation Staff System" xlink:type="locator"/> The as-ead-pdf.xsl copies the contents of the @href directly into the @external-destination of an fo:basic-link element, and then the FOP processor is choking on it. And as a data point for everyone, this should have just started breaking in 2.8.1. The included FOP was upgraded to the current version in that release (blame me!) and that appears to have better validation of URIs. It looks like older versions simply included in the PDF. I hope this helps. Brian From: > on behalf of "Busch, Ed" > Reply-To: Archivesspace Users Group > Date: Thursday, April 1, 2021 at 11:43 AM To: Archivesspace Users Group >, Benn Joseph > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Sure. I just put a ticket in with my local IT for some help. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of Benn Joseph > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Thursday, April 1, 2021 at 11:35 AM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hey Ed?can you share the EAD export for one that isn?t working? --Benn From: archivesspace_users_group-bounces at lyralists.lyrasis.org > On Behalf Of Busch, Ed Sent: Thursday, April 01, 2021 8:55 AM To: Archivesspace Users Group > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks, Steve. Time to dig into this deeper. Some of my Preservica ones work fine. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Majewski, Steven Dennis (sdm7g)" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 4:06 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? It definitely doesn?t like those Preservica URLs. The staff PDF production goes thru 3 steps, and you can do them separately and manually to debug. [1] export EAD XML [2] Run XSLT processor on EAD with /stylesheets/as-ead-pdf.xsl xsl-fo stylesheet $ saxon -xsl:archivesspace/stylesheets/as-ead-pdf.xsl -s:UA.15.9_20210331_175003_UTC__ead.xml -o:fop.fo [3] Run FOP processor on output of xsl-fo stylesheet. $ fop fop.fo -pdf fop.pdf After an error on logo image (because I?m not in the right directory and didn?t pass a param so it can find it) And a bunch of warning in info messages that can be ignored, I get a whole series of errors like this: SEVERE: Error while rendering page 19 java.lang.IllegalStateException: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:688) at org.apache.fop.pdf.PDFFactory.getTargetUri(PDFFactory.java:646) at org.apache.fop.pdf.PDFFactory.getExternalAction(PDFFactory.java:585) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.getAction(PDFDocumentNavigationHandler.java:173) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.renderLink(PDFDocumentNavigationHandler.java:107) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597) at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:316) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:243) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:287) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:192) at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:634) at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:512) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:564) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:509) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:504) at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:339) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:458) at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:139) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:362) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190) at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:293) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116) at org.apache.fop.cli.Main.startFOP(Main.java:183) at org.apache.fop.cli.Main.main(Main.java:214) Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at java.base/java.net.URI$Parser.fail(URI.java:2963) at java.base/java.net.URI$Parser.checkChars(URI.java:3134) at java.base/java.net.URI$Parser.checkChar(URI.java:3144) at java.base/java.net.URI$Parser.parse(URI.java:3159) at java.base/java.net.URI.(URI.java:855) at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:686) ... 39 more And searching for ?Preservica Internal? in the EAD, I see that some of those URLs are text strings: --

These are photographs taken at the College of Arts and Letters Alumni Homecoming Tailgate tent.These are part of a larger group of College of Arts and Letters photographs that have an identifier beginning with A.2013.0031.

Preservica Internal URL

https://us.preservica.com/explorer/explorer.html#prop:4&0a205486-db11-445e-a49f-7c0c55ef8c63

-- And others (which are the source of the problem) are DAO href attribute values that are character escaped
tags. Not sure how you?ve got this encoded in ArchivesSpace for it to export like this, but those are the values that need to be fixed. --

ArtPrize Submissions: 2020-12-07

https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|de6cbfd3-5bdf-41d1-a313-e323698859f2/">Preservica Access</a>" xlink:role="Electronic Record Access System" xlink:type="locator"/> -- ? Steve Majewski On Mar 31, 2021, at 2:24 PM, Busch, Ed > wrote: Just curious, in the Preservica added Notes in their Subnote Text content do you have them begin with
&fb978c72-bce5-4d04-b69b-762891c683b4 Just wild guessing right now. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Benedett, Barbara" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 1:59 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, I just tested one of ours that has the Preservica-generated External document note and it was successful. I'll try a few others and see if I can recreate your issue. Barbara J. Benedett, CA, DAS Digital Archivist | Rock Resource Center 1720 Locust Street, Philadelphia, PA 19103 (215) 717-3139 Phone | (215) 893-9065 Fax | barbara.benedett at curtis.edu ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Busch, Ed > Sent: Wednesday, March 31, 2021 1:51 PM To: archivesspace_users_group at lyralists.lyrasis.org > Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? When I do Generate PDF for a particular Resource, the job fails. This resource has added Preservica content in External Documents, Notes and added DOs. I?m suspecting something in one of those fields is causing the problem. I?ve attached the EAD export. Here?s the error list: Generating PDF for College of Arts and Letters records Internal error evaluating template rule at line 123 in module file:/archivesspace/stylesheets/as-ead-pdf.xsl net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(net/sf/saxon/expr/instruct/TemplateRule.java:371) net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533) net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746) net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441) java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498) org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426) org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293) org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514) org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755) org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200) org.jruby.RubyKernel$INVOKER$s$send.call(org/jruby/RubyKernel$INVOKER$s$send.gen) RUBY.invocation_lambda(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270) org.jruby.RubyProc.call(org/jruby/RubyProc.java:291) org.jruby.RubyProc$INVOKER$i$call.call(org/jruby/RubyProc$INVOKER$i$call.gen) RUBY.to_destination(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73) RUBY.to_fo(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44) RUBY.to_pdf(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58) RUBY.run(/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) 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(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24) RUBY.run(/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) 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(archivesspace/data/tmp/jetty_minus_0_dot_0_dot_0_dot_0_minus_8 Any suggestions? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group _______________________________________________ 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: From buschedw at msu.edu Fri Apr 2 14:38:58 2021 From: buschedw at msu.edu (Busch, Ed) Date: Fri, 2 Apr 2021 18:38:58 +0000 Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? In-Reply-To: References: <6F37B284-C1AC-4608-9D57-6D51369EB47F@msu.edu> <6B2DA6D4-08A4-4E19-BC24-593A74FC0A11@msu.edu> <92560AD7-2500-4146-B440-757CA8B586CC@virginia.edu> <3004E6EE-8C83-4436-987D-40E5B8AB26AA@msu.edu> <27BC4BBF-3B6F-4054-8692-27CA367809D7@msu.edu> <95BD047E-3F56-4983-9E41-FB75DE063408@msu.edu> <74DCF5B5-316F-4D4C-B0D5-134C2BA1FB77@msu.edu> Message-ID: <57083198-4623-4192-856B-8C2E25623455@msu.edu> Interesting ? this seems to be a rabbit hole. I put https://msu.access.preservica.com/archive/sdb%3Acollection|19acb4cb-2791-4fd8-9a86-532c64aa795c/ And the link in the PDF translated as https://msu.access.preservica.com/archive/sdb%253Acollection%7C19acb4cb-2791-4fd8-9a86-532c64aa795c/ (which is a bad link) so a style fix is needed this way too. ? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Mark Custer Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Friday, April 2, 2021 at 12:53 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Ed, The issue for those notes is that the links are not encoded as links, but instead encoded as plain text within the ArchivesSpace note. What follows is just a description of how things work now and how to get such a link within a note to work, not? the way that things should work ? When converted into a PDF, the PDF reader that you're using is trying to be helpful to turn that plain text into a link, but when there is a line wrap, it fails to do get it right To get those links to work in the PDFs, then the text could be wrapped in an "extref" EAD tag, which is something that the ArchivesSpace EAD-to-PDF transformation process will recognize and turn into a real link in the PDF. No need for the PDF reader to do any guessing, So, right now, let's say one of your "other finding aid" notes from Preservica looks like this in ArchivesSpace: https://msu.access.preservica.com/archive/sdb:collection|325a7035-69c9-4a50-967c-6702a15db759/ To get that to function as a link in the PDF, then the note would need to be encoded like so in ArchivesSpace: https://msu.access.preservica.com/archive/sdb:collection|325a7035-69c9-4a50-967c-6702a15db759/ Where anything highlighted in yellow is the link text, and anything highlighted in green is the actual link. I'm also attaching a picture, so you can see how that looks in ArchivesSpace. For EAD2002, technically that attribute would look like xlink:href="{link}", but ASpace will add that xlink: part during the export process, so need to have it there in notes field and complicate the note any further. Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Busch, Ed Sent: Friday, April 2, 2021 11:25 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks! I ?ve got that fixed now and working on the others. I did note in the created pdfs by ArchivesSpace that the URL strings are not working ? you cannot click them or copy/paste successfully. It has to do with the lines wrapping so the links are incomplete. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of "Majewski, Steven Dennis (sdm7g)" Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 2:10 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? I think the issue is not the escaped character codes but the fact the the href URLs for some of those daoloc-s start with '> wrote: Thanks for the help Mark and Brian! Sorry, we?re getting a little deeper than I understand but am I right in the root issue you are describing is the embedded character codes like &, >, ", %3. If Preservica just put the real characters it would be fine? For example, https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ If this is changed to https://msu.access.preservica.com/archive/sdb:AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/would ASpace PDF exporter be happy? Or am I missing it still? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of Brian Harrington > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Thursday, April 1, 2021 at 12:37 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, It looks like the problem is with s (or anything else) that have an @href attribute that has anything other than the bare URL in it. For example, this one: https://us.preservica.com/explorer/explorer.html#prop:7&6e734ad9-75bc-4f06-a5a0-7aa458e39746">Preservica Internal</a>" xlink:role="Digital Preservation Staff System" xlink:type="locator"/> The as-ead-pdf.xsl copies the contents of the @href directly into the @external-destination of an fo:basic-link element, and then the FOP processor is choking on it. And as a data point for everyone, this should have just started breaking in 2.8.1. The included FOP was upgraded to the current version in that release (blame me!) and that appears to have better validation of URIs. It looks like older versions simply included in the PDF. I hope this helps. Brian From: > on behalf of "Busch, Ed" > Reply-To: Archivesspace Users Group > Date: Thursday, April 1, 2021 at 11:43 AM To: Archivesspace Users Group >, Benn Joseph > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Sure. I just put a ticket in with my local IT for some help. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of Benn Joseph > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Thursday, April 1, 2021 at 11:35 AM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hey Ed?can you share the EAD export for one that isn?t working? --Benn From: archivesspace_users_group-bounces at lyralists.lyrasis.org > On Behalf Of Busch, Ed Sent: Thursday, April 01, 2021 8:55 AM To: Archivesspace Users Group > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks, Steve. Time to dig into this deeper. Some of my Preservica ones work fine. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Majewski, Steven Dennis (sdm7g)" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 4:06 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? It definitely doesn?t like those Preservica URLs. The staff PDF production goes thru 3 steps, and you can do them separately and manually to debug. [1] export EAD XML [2] Run XSLT processor on EAD with /stylesheets/as-ead-pdf.xsl xsl-fo stylesheet $ saxon -xsl:archivesspace/stylesheets/as-ead-pdf.xsl -s:UA.15.9_20210331_175003_UTC__ead.xml -o:fop.fo [3] Run FOP processor on output of xsl-fo stylesheet. $ fop fop.fo -pdf fop.pdf After an error on logo image (because I?m not in the right directory and didn?t pass a param so it can find it) And a bunch of warning in info messages that can be ignored, I get a whole series of errors like this: SEVERE: Error while rendering page 19 java.lang.IllegalStateException: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:688) at org.apache.fop.pdf.PDFFactory.getTargetUri(PDFFactory.java:646) at org.apache.fop.pdf.PDFFactory.getExternalAction(PDFFactory.java:585) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.getAction(PDFDocumentNavigationHandler.java:173) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.renderLink(PDFDocumentNavigationHandler.java:107) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597) at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:316) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:243) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:287) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:192) at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:634) at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:512) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:564) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:509) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:504) at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:339) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:458) at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:139) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:362) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190) at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:293) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116) at org.apache.fop.cli.Main.startFOP(Main.java:183) at org.apache.fop.cli.Main.main(Main.java:214) Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at java.base/java.net.URI$Parser.fail(URI.java:2963) at java.base/java.net.URI$Parser.checkChars(URI.java:3134) at java.base/java.net.URI$Parser.checkChar(URI.java:3144) at java.base/java.net.URI$Parser.parse(URI.java:3159) at java.base/java.net.URI.(URI.java:855) at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:686) ... 39 more And searching for ?Preservica Internal? in the EAD, I see that some of those URLs are text strings: --

These are photographs taken at the College of Arts and Letters Alumni Homecoming Tailgate tent.These are part of a larger group of College of Arts and Letters photographs that have an identifier beginning with A.2013.0031.

Preservica Internal URL

https://us.preservica.com/explorer/explorer.html#prop:4&0a205486-db11-445e-a49f-7c0c55ef8c63

-- And others (which are the source of the problem) are DAO href attribute values that are character escaped
tags. Not sure how you?ve got this encoded in ArchivesSpace for it to export like this, but those are the values that need to be fixed. --

ArtPrize Submissions: 2020-12-07

https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|de6cbfd3-5bdf-41d1-a313-e323698859f2/">Preservica Access</a>" xlink:role="Electronic Record Access System" xlink:type="locator"/> -- ? Steve Majewski On Mar 31, 2021, at 2:24 PM, Busch, Ed > wrote: Just curious, in the Preservica added Notes in their Subnote Text content do you have them begin with
&fb978c72-bce5-4d04-b69b-762891c683b4 Just wild guessing right now. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Benedett, Barbara" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 1:59 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, I just tested one of ours that has the Preservica-generated External document note and it was successful. I'll try a few others and see if I can recreate your issue. Barbara J. Benedett, CA, DAS Digital Archivist | Rock Resource Center 1720 Locust Street, Philadelphia, PA 19103 (215) 717-3139 Phone | (215) 893-9065 Fax | barbara.benedett at curtis.edu ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Busch, Ed > Sent: Wednesday, March 31, 2021 1:51 PM To: archivesspace_users_group at lyralists.lyrasis.org > Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? When I do Generate PDF for a particular Resource, the job fails. This resource has added Preservica content in External Documents, Notes and added DOs. I?m suspecting something in one of those fields is causing the problem. I?ve attached the EAD export. Here?s the error list: Generating PDF for College of Arts and Letters records Internal error evaluating template rule at line 123 in module file:/archivesspace/stylesheets/as-ead-pdf.xsl net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(net/sf/saxon/expr/instruct/TemplateRule.java:371) net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533) net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746) net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441) java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498) org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426) org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293) org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514) org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755) org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200) org.jruby.RubyKernel$INVOKER$s$send.call(org/jruby/RubyKernel$INVOKER$s$send.gen) RUBY.invocation_lambda(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270) org.jruby.RubyProc.call(org/jruby/RubyProc.java:291) org.jruby.RubyProc$INVOKER$i$call.call(org/jruby/RubyProc$INVOKER$i$call.gen) RUBY.to_destination(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73) RUBY.to_fo(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44) RUBY.to_pdf(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58) RUBY.run(/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) 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(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24) RUBY.run(/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) 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(archivesspace/data/tmp/jetty_minus_0_dot_0_dot_0_dot_0_minus_8 Any suggestions? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group _______________________________________________ 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: From sdm7g at virginia.edu Fri Apr 2 15:15:58 2021 From: sdm7g at virginia.edu (Majewski, Steven Dennis (sdm7g)) Date: Fri, 2 Apr 2021 19:15:58 +0000 Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? In-Reply-To: <57083198-4623-4192-856B-8C2E25623455@msu.edu> References: <6F37B284-C1AC-4608-9D57-6D51369EB47F@msu.edu> <6B2DA6D4-08A4-4E19-BC24-593A74FC0A11@msu.edu> <92560AD7-2500-4146-B440-757CA8B586CC@virginia.edu> <3004E6EE-8C83-4436-987D-40E5B8AB26AA@msu.edu> <27BC4BBF-3B6F-4054-8692-27CA367809D7@msu.edu> <95BD047E-3F56-4983-9E41-FB75DE063408@msu.edu> <74DCF5B5-316F-4D4C-B0D5-134C2BA1FB77@msu.edu> <57083198-4623-4192-856B-8C2E25623455@msu.edu> Message-ID: <81B72785-0DAD-479B-8A8D-8CA32CC7BF99@virginia.edu> ?%24? is ?%? so it appears to be escaping the ?%? in ?%3A? . I wonder if it works with an unescaped URL, i.e. /sdb:collection? > On Apr 2, 2021, at 2:38 PM, Busch, Ed wrote: > > Interesting ? this seems to be a rabbit hole. I put > https://msu.access.preservica.com/archive/sdb%3Acollection|19acb4cb-2791-4fd8-9a86-532c64aa795c/ > And the link in the PDF translated as > https://msu.access.preservica.com/archive/sdb%253Acollection%7C19acb4cb-2791-4fd8-9a86-532c64aa795c/ (which is a bad link) > > so a style fix is needed this way too. ? > > Ed Busch, MLIS > Interim Head of University Archives and Historical Collections > Electronic Records Archivist > Conrad Hall, 943 Conrad Road, Room 101 > East Lansing, MI 48824 > 517-884-6438 > buschedw at msu.edu > he/him/his > > > From: on behalf of Mark Custer > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Friday, April 2, 2021 at 12:53 PM > To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? > > Ed, > > The issue for those notes is that the links are not encoded as links, but instead encoded as plain text within the ArchivesSpace note. What follows is just a description of how things work now and how to get such a link within a note to work, not? the way that things should work ? > > When converted into a PDF, the PDF reader that you're using is trying to be helpful to turn that plain text into a link, but when there is a line wrap, it fails to do get it right To get those links to work in the PDFs, then the text could be wrapped in an "extref" EAD tag, which is something that the ArchivesSpace EAD-to-PDF transformation process will recognize and turn into a real link in the PDF. No need for the PDF reader to do any guessing, > > So, right now, let's say one of your "other finding aid" notes from Preservica looks like this in ArchivesSpace: > >> https://msu.access.preservica.com/archive/sdb:collection|325a7035-69c9-4a50-967c-6702a15db759/ > > > To get that to function as a link in the PDF, then the note would need to be encoded like so in ArchivesSpace: > >> https://msu.access.preservica.com/archive/sdb:collection|325a7035-69c9-4a50-967c-6702a15db759/ > > > Where anything highlighted in yellow is the link text, and anything highlighted in green is the actual link. I'm also attaching a picture, so you can see how that looks in ArchivesSpace. For EAD2002, technically that attribute would look like xlink:href="{link}", but ASpace will add that xlink: part during the export process, so need to have it there in notes field and complicate the note any further. > > Mark > > > > > From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Busch, Ed > Sent: Friday, April 2, 2021 11:25 AM > To: Archivesspace Users Group > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? > > Thanks! I ?ve got that fixed now and working on the others. > > I did note in the created pdfs by ArchivesSpace that the URL strings are not working ? you cannot click them or copy/paste successfully. It has to do with the lines wrapping so the links are incomplete. > > Ed Busch, MLIS > Interim Head of University Archives and Historical Collections > Electronic Records Archivist > Conrad Hall, 943 Conrad Road, Room 101 > East Lansing, MI 48824 > 517-884-6438 > buschedw at msu.edu > he/him/his > > > From: on behalf of "Majewski, Steven Dennis (sdm7g)" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Thursday, April 1, 2021 at 2:10 PM > To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? > > I think the issue is not the escaped character codes but the fact the the href URLs for some of those daoloc-s start with > ' > Without the escape encoding, the ? Escaped, it?s valid XML, and so it passes thru to the FOP processor, which is expecting an href URL to start with a scheme like ?http:? , ?https:? , or ?file:? , etc. > > Which makes me think that somewhere in ArchivesSpace you have encoded your digital objects with: > It?s doesn?t seem to be complaining about the URLs that don?t start with ?<? . > > ? Steve. > > > >> On Apr 1, 2021, at 1:39 PM, Busch, Ed > wrote: >> >> Thanks for the help Mark and Brian! >> Sorry, we?re getting a little deeper than I understand but am I right in the root issue you are describing is the embedded character codes like &, >, ", %3. If Preservica just put the real characters it would be fine? >> >> For example, https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ >> If this is changed to https://msu.access.preservica.com/archive/sdb:AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ would ASpace PDF exporter be happy? >> >> Or am I missing it still? >> >> Ed Busch, MLIS >> Interim Head of University Archives and Historical Collections >> Electronic Records Archivist >> Conrad Hall, 943 Conrad Road, Room 101 >> East Lansing, MI 48824 >> 517-884-6438 >> buschedw at msu.edu >> he/him/his >> >> >> From: > on behalf of Brian Harrington > >> Reply-To: "archivesspace_users_group at lyralists.lyrasis.org " > >> Date: Thursday, April 1, 2021 at 12:37 PM >> To: "archivesspace_users_group at lyralists.lyrasis.org " > >> Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? >> >> Hi Ed, >> >> It looks like the problem is with s (or anything else) that have an @href attribute that has anything other than the bare URL in it. For example, this one: >> >> https://us.preservica.com/explorer/explorer.html#prop:7&6e734ad9-75bc-4f06-a5a0-7aa458e39746">Preservica Internal</a>" >> xlink:role="Digital Preservation Staff System" xlink:type="locator"/> >> >> The as-ead-pdf.xsl copies the contents of the @href directly into the @external-destination of an fo:basic-link element, and then the FOP processor is choking on it. >> >> And as a data point for everyone, this should have just started breaking in 2.8.1. The included FOP was upgraded to the current version in that release (blame me!) and that appears to have better validation of URIs. It looks like older versions simply included in the PDF. >> >> I hope this helps. >> >> Brian >> >> >> From: > on behalf of "Busch, Ed" > >> Reply-To: Archivesspace Users Group > >> Date: Thursday, April 1, 2021 at 11:43 AM >> To: Archivesspace Users Group >, Benn Joseph > >> Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? >> >> Sure. I just put a ticket in with my local IT for some help. >> >> Ed Busch, MLIS >> Interim Head of University Archives and Historical Collections >> Electronic Records Archivist >> Conrad Hall, 943 Conrad Road, Room 101 >> East Lansing, MI 48824 >> 517-884-6438 >> buschedw at msu.edu >> he/him/his >> >> >> From: > on behalf of Benn Joseph > >> Reply-To: "archivesspace_users_group at lyralists.lyrasis.org " > >> Date: Thursday, April 1, 2021 at 11:35 AM >> To: "archivesspace_users_group at lyralists.lyrasis.org " > >> Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? >> >> Hey Ed?can you share the EAD export for one that isn?t working? >> --Benn >> >> From: archivesspace_users_group-bounces at lyralists.lyrasis.org > On Behalf Of Busch, Ed >> Sent: Thursday, April 01, 2021 8:55 AM >> To: Archivesspace Users Group > >> Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? >> >> Thanks, Steve. Time to dig into this deeper. >> Some of my Preservica ones work fine. >> >> Ed Busch, MLIS >> Interim Head of University Archives and Historical Collections >> Electronic Records Archivist >> Conrad Hall, 943 Conrad Road, Room 101 >> East Lansing, MI 48824 >> 517-884-6438 >> buschedw at msu.edu >> he/him/his >> >> >> From: > on behalf of "Majewski, Steven Dennis (sdm7g)" > >> Reply-To: "archivesspace_users_group at lyralists.lyrasis.org " > >> Date: Wednesday, March 31, 2021 at 4:06 PM >> To: "archivesspace_users_group at lyralists.lyrasis.org " > >> Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? >> >> It definitely doesn?t like those Preservica URLs. >> >> The staff PDF production goes thru 3 steps, and you can do them separately and manually to debug. >> >> [1] export EAD XML >> [2] Run XSLT processor on EAD with /stylesheets/as-ead-pdf.xsl xsl-fo stylesheet >> $ saxon -xsl:archivesspace/stylesheets/as-ead-pdf.xsl -s:UA.15.9_20210331_175003_UTC__ead.xml -o:fop.fo >> [3] Run FOP processor on output of xsl-fo stylesheet. >> $ fop fop.fo -pdf fop.pdf >> >> After an error on logo image (because I?m not in the right directory and didn?t pass a param so it can find it) >> And a bunch of warning in info messages that can be ignored, I get a whole series of errors like this: >> >> SEVERE: Error while rendering page 19 >> java.lang.IllegalStateException: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E >> at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:688) >> at org.apache.fop.pdf.PDFFactory.getTargetUri(PDFFactory.java:646) >> at org.apache.fop.pdf.PDFFactory.getExternalAction(PDFFactory.java:585) >> at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.getAction(PDFDocumentNavigationHandler.java:173) >> at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.renderLink(PDFDocumentNavigationHandler.java:107) >> at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597) >> at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123) >> at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:316) >> at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:243) >> at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:287) >> at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:192) >> at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:634) >> at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:512) >> at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:564) >> at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:509) >> at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:504) >> at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:339) >> at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:458) >> at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) >> at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) >> at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) >> at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:139) >> at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:362) >> at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190) >> at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) >> at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) >> at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) >> at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) >> at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) >> at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) >> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) >> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) >> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) >> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) >> at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) >> at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) >> at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:293) >> at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116) >> at org.apache.fop.cli.Main.startFOP(Main.java:183) >> at org.apache.fop.cli.Main.main(Main.java:214) >> Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E >> at java.base/java.net.URI$Parser.fail(URI.java:2963) >> at java.base/java.net.URI$Parser.checkChars(URI.java:3134) >> at java.base/java.net.URI$Parser.checkChar(URI.java:3144) >> at java.base/java.net.URI$Parser.parse(URI.java:3159) >> at java.base/java.net.URI.(URI.java:855) >> at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:686) >> ... 39 more >> >> >> >> And searching for ?Preservica Internal? in the EAD, I see that some of those URLs are text strings: >> >> -- >>

These are photographs taken at the College of Arts and Letters Alumni Homecoming Tailgate tent.These are part of a larger group of College of Arts and Letters photographs that have an identifier beginning with A.2013.0031.

>> >> >> Preservica Internal URL >>

https://us.preservica.com/explorer/explorer.html#prop:4&0a205486-db11-445e-a49f-7c0c55ef8c63

>>
>> >> -- >> >> And others (which are the source of the problem) are DAO href attribute values that are character escaped
tags. >> >> Not sure how you?ve got this encoded in ArchivesSpace for it to export like this, but those are the values that need to be fixed. >> >> -- >> >>

ArtPrize Submissions: 2020-12-07

>>
>> >> https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|de6cbfd3-5bdf-41d1-a313-e323698859f2/">Preservica Access</a>" xlink:role="Electronic Record Access System" xlink:type="locator"/> >> >> >> -- >> >> >> ? Steve Majewski >> >> >>> On Mar 31, 2021, at 2:24 PM, Busch, Ed > wrote: >>> >>> Just curious, in the Preservica added Notes in their Subnote Text content do you have them begin with
>> Content >>> https://us.preservica.com/explorer/explorer.html#prop:4 &fb978c72-bce5-4d04-b69b-762891c683b4 >>> >>> Just wild guessing right now. >>> >>> Ed Busch, MLIS >>> Interim Head of University Archives and Historical Collections >>> Electronic Records Archivist >>> Conrad Hall, 943 Conrad Road, Room 101 >>> East Lansing, MI 48824 >>> 517-884-6438 >>> buschedw at msu.edu >>> he/him/his >>> >>> >>> From: > on behalf of "Benedett, Barbara" > >>> Reply-To: "archivesspace_users_group at lyralists.lyrasis.org " > >>> Date: Wednesday, March 31, 2021 at 1:59 PM >>> To: "archivesspace_users_group at lyralists.lyrasis.org " > >>> Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? >>> >>> Hi Ed, >>> I just tested one of ours that has the Preservica-generated External document note and it was successful. I'll try a few others and see if I can recreate your issue. >>> >>> Barbara J. Benedett, CA, DAS >>> Digital Archivist | Rock Resource Center >>> 1720 Locust Street, Philadelphia, PA 19103 >>> (215) 717-3139 Phone | (215) 893-9065 Fax | barbara.benedett at curtis.edu >>> >>> >>> >>> From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Busch, Ed > >>> Sent: Wednesday, March 31, 2021 1:51 PM >>> To: archivesspace_users_group at lyralists.lyrasis.org > >>> Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? >>> >>> When I do Generate PDF for a particular Resource, the job fails. This resource has added Preservica content in External Documents, Notes and added DOs. I?m suspecting something in one of those fields is causing the problem. I?ve attached the EAD export. Here?s the error list: >>> >>> Generating PDF for College of Arts and Letters records >>> >>> Internal error evaluating template rule at line 123 in module file:/archivesspace/stylesheets/as-ead-pdf.xsl >>> >>> net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(net/sf/saxon/expr/instruct/TemplateRule.java:371 ) >>> >>> net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533 ) >>> >>> net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746 ) >>> >>> net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441 ) >>> >>> java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498 ) >>> >>> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426 ) >>> >>> org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293 ) >>> >>> org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514 ) >>> >>> org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755 ) >>> >>> org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200 ) >>> >>> org.jruby.RubyKernel$INVOKER$s$send.call (org/jruby/RubyKernel$INVOKER$s$send.gen) >>> >>> RUBY.invocation_lambda(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270) >>> >>> org.jruby.RubyProc.call (org/jruby/RubyProc.java:291 ) >>> >>> org.jruby.RubyProc$INVOKER$i$call.call (org/jruby/RubyProc$INVOKER$i$call.gen) >>> >>> RUBY.to_destination(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73) >>> >>> RUBY.to_fo(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44) >>> >>> RUBY.to_pdf(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58) >>> >>> RUBY.run (/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) >>> >>> 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 (/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24) >>> >>> RUBY.run (/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) >>> >>> 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(archivesspace/data/tmp/jetty_minus_0_dot_0_dot_0_dot_0_minus_8 >>> >>> Any suggestions? >>> >>> Ed Busch, MLIS >>> Interim Head of University Archives and Historical Collections >>> Electronic Records Archivist >>> Conrad Hall, 943 Conrad Road, Room 101 >>> East Lansing, MI 48824 >>> 517-884-6438 >>> buschedw at msu.edu >>> he/him/his >>> >>> _______________________________________________ >>> Archivesspace_Users_Group mailing list >>> Archivesspace_Users_Group at lyralists.lyrasis.org >>> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group >> >> _______________________________________________ >> Archivesspace_Users_Group mailing list >> Archivesspace_Users_Group at lyralists.lyrasis.org >> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group > > _______________________________________________ > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3342 bytes Desc: not available URL: From mark.custer at yale.edu Fri Apr 2 15:16:36 2021 From: mark.custer at yale.edu (Custer, Mark) Date: Fri, 2 Apr 2021 19:16:36 +0000 Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? In-Reply-To: <57083198-4623-4192-856B-8C2E25623455@msu.edu> References: <6F37B284-C1AC-4608-9D57-6D51369EB47F@msu.edu> <6B2DA6D4-08A4-4E19-BC24-593A74FC0A11@msu.edu> <92560AD7-2500-4146-B440-757CA8B586CC@virginia.edu> <3004E6EE-8C83-4436-987D-40E5B8AB26AA@msu.edu> <27BC4BBF-3B6F-4054-8692-27CA367809D7@msu.edu> <95BD047E-3F56-4983-9E41-FB75DE063408@msu.edu> <74DCF5B5-316F-4D4C-B0D5-134C2BA1FB77@msu.edu> , <57083198-4623-4192-856B-8C2E25623455@msu.edu> Message-ID: Ed, If you change that "%3A" to a ":" it should work, I think. Sorry that I didn't call that out in the previous message. Not sure exactly why / where that part of the link is getting doubly encoded (e.g. %3A -> %253A, where the "%25" part is for the % symbol), but when I quickly ran through testing things earlier, I just switched that part out in the link text. How were the links added in the first place? I'm curious since there is a difference between those "other finding aid" notes. Some are wrapped in "a" tags, and others, like this one, are just present as plain text. For the ones wrapped in the "a" tags, there's also the option of updating the EAD to PDF transformation process to know how to handle a subset of HTML tags, but the more permissive all the metadata transfers are, the more problems that tend to crop up later ? Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Busch, Ed Sent: Friday, April 2, 2021 2:38 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Interesting ? this seems to be a rabbit hole. I put https://msu.access.preservica.com/archive/sdb%3Acollection|19acb4cb-2791-4fd8-9a86-532c64aa795c/ And the link in the PDF translated as https://msu.access.preservica.com/archive/sdb%253Acollection%7C19acb4cb-2791-4fd8-9a86-532c64aa795c/ (which is a bad link) so a style fix is needed this way too. ? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Mark Custer Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Friday, April 2, 2021 at 12:53 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Ed, The issue for those notes is that the links are not encoded as links, but instead encoded as plain text within the ArchivesSpace note. What follows is just a description of how things work now and how to get such a link within a note to work, not? the way that things should work ? When converted into a PDF, the PDF reader that you're using is trying to be helpful to turn that plain text into a link, but when there is a line wrap, it fails to do get it right To get those links to work in the PDFs, then the text could be wrapped in an "extref" EAD tag, which is something that the ArchivesSpace EAD-to-PDF transformation process will recognize and turn into a real link in the PDF. No need for the PDF reader to do any guessing, So, right now, let's say one of your "other finding aid" notes from Preservica looks like this in ArchivesSpace: https://msu.access.preservica.com/archive/sdb:collection|325a7035-69c9-4a50-967c-6702a15db759/ To get that to function as a link in the PDF, then the note would need to be encoded like so in ArchivesSpace: https://msu.access.preservica.com/archive/sdb:collection|325a7035-69c9-4a50-967c-6702a15db759/ Where anything highlighted in yellow is the link text, and anything highlighted in green is the actual link. I'm also attaching a picture, so you can see how that looks in ArchivesSpace. For EAD2002, technically that attribute would look like xlink:href="{link}", but ASpace will add that xlink: part during the export process, so need to have it there in notes field and complicate the note any further. Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Busch, Ed Sent: Friday, April 2, 2021 11:25 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks! I ?ve got that fixed now and working on the others. I did note in the created pdfs by ArchivesSpace that the URL strings are not working ? you cannot click them or copy/paste successfully. It has to do with the lines wrapping so the links are incomplete. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of "Majewski, Steven Dennis (sdm7g)" Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 2:10 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? I think the issue is not the escaped character codes but the fact the the href URLs for some of those daoloc-s start with '> wrote: Thanks for the help Mark and Brian! Sorry, we?re getting a little deeper than I understand but am I right in the root issue you are describing is the embedded character codes like &, >, ", %3. If Preservica just put the real characters it would be fine? For example, https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ If this is changed to https://msu.access.preservica.com/archive/sdb:AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/would ASpace PDF exporter be happy? Or am I missing it still? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of Brian Harrington > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Thursday, April 1, 2021 at 12:37 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, It looks like the problem is with s (or anything else) that have an @href attribute that has anything other than the bare URL in it. For example, this one: https://us.preservica.com/explorer/explorer.html#prop:7&6e734ad9-75bc-4f06-a5a0-7aa458e39746">Preservica Internal</a>" xlink:role="Digital Preservation Staff System" xlink:type="locator"/> The as-ead-pdf.xsl copies the contents of the @href directly into the @external-destination of an fo:basic-link element, and then the FOP processor is choking on it. And as a data point for everyone, this should have just started breaking in 2.8.1. The included FOP was upgraded to the current version in that release (blame me!) and that appears to have better validation of URIs. It looks like older versions simply included in the PDF. I hope this helps. Brian From: > on behalf of "Busch, Ed" > Reply-To: Archivesspace Users Group > Date: Thursday, April 1, 2021 at 11:43 AM To: Archivesspace Users Group >, Benn Joseph > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Sure. I just put a ticket in with my local IT for some help. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of Benn Joseph > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Thursday, April 1, 2021 at 11:35 AM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hey Ed?can you share the EAD export for one that isn?t working? --Benn From: archivesspace_users_group-bounces at lyralists.lyrasis.org > On Behalf Of Busch, Ed Sent: Thursday, April 01, 2021 8:55 AM To: Archivesspace Users Group > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks, Steve. Time to dig into this deeper. Some of my Preservica ones work fine. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Majewski, Steven Dennis (sdm7g)" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 4:06 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? It definitely doesn?t like those Preservica URLs. The staff PDF production goes thru 3 steps, and you can do them separately and manually to debug. [1] export EAD XML [2] Run XSLT processor on EAD with /stylesheets/as-ead-pdf.xsl xsl-fo stylesheet $ saxon -xsl:archivesspace/stylesheets/as-ead-pdf.xsl -s:UA.15.9_20210331_175003_UTC__ead.xml -o:fop.fo [3] Run FOP processor on output of xsl-fo stylesheet. $ fop fop.fo -pdf fop.pdf After an error on logo image (because I?m not in the right directory and didn?t pass a param so it can find it) And a bunch of warning in info messages that can be ignored, I get a whole series of errors like this: SEVERE: Error while rendering page 19 java.lang.IllegalStateException: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:688) at org.apache.fop.pdf.PDFFactory.getTargetUri(PDFFactory.java:646) at org.apache.fop.pdf.PDFFactory.getExternalAction(PDFFactory.java:585) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.getAction(PDFDocumentNavigationHandler.java:173) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.renderLink(PDFDocumentNavigationHandler.java:107) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597) at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:316) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:243) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:287) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:192) at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:634) at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:512) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:564) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:509) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:504) at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:339) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:458) at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:139) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:362) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190) at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:293) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116) at org.apache.fop.cli.Main.startFOP(Main.java:183) at org.apache.fop.cli.Main.main(Main.java:214) Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at java.base/java.net.URI$Parser.fail(URI.java:2963) at java.base/java.net.URI$Parser.checkChars(URI.java:3134) at java.base/java.net.URI$Parser.checkChar(URI.java:3144) at java.base/java.net.URI$Parser.parse(URI.java:3159) at java.base/java.net.URI.(URI.java:855) at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:686) ... 39 more And searching for ?Preservica Internal? in the EAD, I see that some of those URLs are text strings: --

These are photographs taken at the College of Arts and Letters Alumni Homecoming Tailgate tent.These are part of a larger group of College of Arts and Letters photographs that have an identifier beginning with A.2013.0031.

Preservica Internal URL

https://us.preservica.com/explorer/explorer.html#prop:4&0a205486-db11-445e-a49f-7c0c55ef8c63

-- And others (which are the source of the problem) are DAO href attribute values that are character escaped
tags. Not sure how you?ve got this encoded in ArchivesSpace for it to export like this, but those are the values that need to be fixed. --

ArtPrize Submissions: 2020-12-07

https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|de6cbfd3-5bdf-41d1-a313-e323698859f2/">Preservica Access</a>" xlink:role="Electronic Record Access System" xlink:type="locator"/> -- ? Steve Majewski On Mar 31, 2021, at 2:24 PM, Busch, Ed > wrote: Just curious, in the Preservica added Notes in their Subnote Text content do you have them begin with
&fb978c72-bce5-4d04-b69b-762891c683b4 Just wild guessing right now. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Benedett, Barbara" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 1:59 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, I just tested one of ours that has the Preservica-generated External document note and it was successful. I'll try a few others and see if I can recreate your issue. Barbara J. Benedett, CA, DAS Digital Archivist | Rock Resource Center 1720 Locust Street, Philadelphia, PA 19103 (215) 717-3139 Phone | (215) 893-9065 Fax | barbara.benedett at curtis.edu ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Busch, Ed > Sent: Wednesday, March 31, 2021 1:51 PM To: archivesspace_users_group at lyralists.lyrasis.org > Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? When I do Generate PDF for a particular Resource, the job fails. This resource has added Preservica content in External Documents, Notes and added DOs. I?m suspecting something in one of those fields is causing the problem. I?ve attached the EAD export. Here?s the error list: Generating PDF for College of Arts and Letters records Internal error evaluating template rule at line 123 in module file:/archivesspace/stylesheets/as-ead-pdf.xsl net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(net/sf/saxon/expr/instruct/TemplateRule.java:371) net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533) net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746) net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441) java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498) org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426) org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293) org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514) org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755) org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200) org.jruby.RubyKernel$INVOKER$s$send.call(org/jruby/RubyKernel$INVOKER$s$send.gen) RUBY.invocation_lambda(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270) org.jruby.RubyProc.call(org/jruby/RubyProc.java:291) org.jruby.RubyProc$INVOKER$i$call.call(org/jruby/RubyProc$INVOKER$i$call.gen) RUBY.to_destination(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73) RUBY.to_fo(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44) RUBY.to_pdf(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58) RUBY.run(/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) 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(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24) RUBY.run(/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) 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(archivesspace/data/tmp/jetty_minus_0_dot_0_dot_0_dot_0_minus_8 Any suggestions? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group _______________________________________________ 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: From buschedw at msu.edu Mon Apr 5 13:48:43 2021 From: buschedw at msu.edu (Busch, Ed) Date: Mon, 5 Apr 2021 17:48:43 +0000 Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? In-Reply-To: References: <6F37B284-C1AC-4608-9D57-6D51369EB47F@msu.edu> <6B2DA6D4-08A4-4E19-BC24-593A74FC0A11@msu.edu> <92560AD7-2500-4146-B440-757CA8B586CC@virginia.edu> <3004E6EE-8C83-4436-987D-40E5B8AB26AA@msu.edu> <27BC4BBF-3B6F-4054-8692-27CA367809D7@msu.edu> <95BD047E-3F56-4983-9E41-FB75DE063408@msu.edu> <74DCF5B5-316F-4D4C-B0D5-134C2BA1FB77@msu.edu> <57083198-4623-4192-856B-8C2E25623455@msu.edu> Message-ID: <27BF19F0-D72C-4CB4-8287-1818F814F256@msu.edu> Thanks! One part of the rabbit hole is that if I have anything other than the plain link, then the ASpace public interface loses the working link ? this is one with just the unwrapped/tagged link. (https://findingaids.lib.msu.edu/repositories/2/archival_objects/363371 ) This is the one I was using as an example last week https://findingaids.lib.msu.edu/repositories/2/archival_objects/353461 which now has the extref. So, backing up a step ? Preservica writes two Notes at each level in the Collection hierarchy from the Resource down to the archival object. One Note is the link to the staff side of Preservica and the other is to the public side. At the DO for the archival object, they write two File Versions entries ? one for staff link and one for the public link. I have my workflow set to write the bare https link now. I?ll have to figure out how to fix the link in the PDF style sheet. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Mark Custer Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Friday, April 2, 2021 at 3:16 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Ed, If you change that "%3A" to a ":" it should work, I think. Sorry that I didn't call that out in the previous message. Not sure exactly why / where that part of the link is getting doubly encoded (e.g. %3A -> %253A, where the "%25" part is for the % symbol), but when I quickly ran through testing things earlier, I just switched that part out in the link text. How were the links added in the first place? I'm curious since there is a difference between those "other finding aid" notes. Some are wrapped in "a" tags, and others, like this one, are just present as plain text. For the ones wrapped in the "a" tags, there's also the option of updating the EAD to PDF transformation process to know how to handle a subset of HTML tags, but the more permissive all the metadata transfers are, the more problems that tend to crop up later ? Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Busch, Ed Sent: Friday, April 2, 2021 2:38 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Interesting ? this seems to be a rabbit hole. I put https://msu.access.preservica.com/archive/sdb%3Acollection|19acb4cb-2791-4fd8-9a86-532c64aa795c/ And the link in the PDF translated as https://msu.access.preservica.com/archive/sdb%253Acollection%7C19acb4cb-2791-4fd8-9a86-532c64aa795c/ (which is a bad link) so a style fix is needed this way too. ? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Mark Custer Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Friday, April 2, 2021 at 12:53 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Ed, The issue for those notes is that the links are not encoded as links, but instead encoded as plain text within the ArchivesSpace note. What follows is just a description of how things work now and how to get such a link within a note to work, not? the way that things should work ? When converted into a PDF, the PDF reader that you're using is trying to be helpful to turn that plain text into a link, but when there is a line wrap, it fails to do get it right To get those links to work in the PDFs, then the text could be wrapped in an "extref" EAD tag, which is something that the ArchivesSpace EAD-to-PDF transformation process will recognize and turn into a real link in the PDF. No need for the PDF reader to do any guessing, So, right now, let's say one of your "other finding aid" notes from Preservica looks like this in ArchivesSpace: https://msu.access.preservica.com/archive/sdb:collection|325a7035-69c9-4a50-967c-6702a15db759/ To get that to function as a link in the PDF, then the note would need to be encoded like so in ArchivesSpace: https://msu.access.preservica.com/archive/sdb:collection|325a7035-69c9-4a50-967c-6702a15db759/ Where anything highlighted in yellow is the link text, and anything highlighted in green is the actual link. I'm also attaching a picture, so you can see how that looks in ArchivesSpace. For EAD2002, technically that attribute would look like xlink:href="{link}", but ASpace will add that xlink: part during the export process, so need to have it there in notes field and complicate the note any further. Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Busch, Ed Sent: Friday, April 2, 2021 11:25 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks! I ?ve got that fixed now and working on the others. I did note in the created pdfs by ArchivesSpace that the URL strings are not working ? you cannot click them or copy/paste successfully. It has to do with the lines wrapping so the links are incomplete. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of "Majewski, Steven Dennis (sdm7g)" Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Thursday, April 1, 2021 at 2:10 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? I think the issue is not the escaped character codes but the fact the the href URLs for some of those daoloc-s start with '> wrote: Thanks for the help Mark and Brian! Sorry, we?re getting a little deeper than I understand but am I right in the root issue you are describing is the embedded character codes like &, >, ", %3. If Preservica just put the real characters it would be fine? For example, https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/ If this is changed to https://msu.access.preservica.com/archive/sdb:AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/would ASpace PDF exporter be happy? Or am I missing it still? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of Brian Harrington > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Thursday, April 1, 2021 at 12:37 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, It looks like the problem is with s (or anything else) that have an @href attribute that has anything other than the bare URL in it. For example, this one: https://us.preservica.com/explorer/explorer.html#prop:7&6e734ad9-75bc-4f06-a5a0-7aa458e39746">Preservica Internal</a>" xlink:role="Digital Preservation Staff System" xlink:type="locator"/> The as-ead-pdf.xsl copies the contents of the @href directly into the @external-destination of an fo:basic-link element, and then the FOP processor is choking on it. And as a data point for everyone, this should have just started breaking in 2.8.1. The included FOP was upgraded to the current version in that release (blame me!) and that appears to have better validation of URIs. It looks like older versions simply included in the PDF. I hope this helps. Brian From: > on behalf of "Busch, Ed" > Reply-To: Archivesspace Users Group > Date: Thursday, April 1, 2021 at 11:43 AM To: Archivesspace Users Group >, Benn Joseph > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Sure. I just put a ticket in with my local IT for some help. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of Benn Joseph > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Thursday, April 1, 2021 at 11:35 AM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hey Ed?can you share the EAD export for one that isn?t working? --Benn From: archivesspace_users_group-bounces at lyralists.lyrasis.org > On Behalf Of Busch, Ed Sent: Thursday, April 01, 2021 8:55 AM To: Archivesspace Users Group > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Thanks, Steve. Time to dig into this deeper. Some of my Preservica ones work fine. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Majewski, Steven Dennis (sdm7g)" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 4:06 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? It definitely doesn?t like those Preservica URLs. The staff PDF production goes thru 3 steps, and you can do them separately and manually to debug. [1] export EAD XML [2] Run XSLT processor on EAD with /stylesheets/as-ead-pdf.xsl xsl-fo stylesheet $ saxon -xsl:archivesspace/stylesheets/as-ead-pdf.xsl -s:UA.15.9_20210331_175003_UTC__ead.xml -o:fop.fo [3] Run FOP processor on output of xsl-fo stylesheet. $ fop fop.fo -pdf fop.pdf After an error on logo image (because I?m not in the right directory and didn?t pass a param so it can find it) And a bunch of warning in info messages that can be ignored, I get a whole series of errors like this: SEVERE: Error while rendering page 19 java.lang.IllegalStateException: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:688) at org.apache.fop.pdf.PDFFactory.getTargetUri(PDFFactory.java:646) at org.apache.fop.pdf.PDFFactory.getExternalAction(PDFFactory.java:585) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.getAction(PDFDocumentNavigationHandler.java:173) at org.apache.fop.render.pdf.PDFDocumentNavigationHandler.renderLink(PDFDocumentNavigationHandler.java:107) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597) at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:316) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:243) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:287) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:192) at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:634) at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:512) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:564) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:509) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:504) at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:339) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:458) at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:139) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:362) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190) at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:293) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116) at org.apache.fop.cli.Main.startFOP(Main.java:183) at org.apache.fop.cli.Main.main(Main.java:214) Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: %3Ca%20href=%22https://us.preservica.com/explorer/explorer.html%23prop:7&de6cbfd3-5bdf-41d1-a313-e323698859f2%22%3EPreservica%20Internal%3C/a%3E at java.base/java.net.URI$Parser.fail(URI.java:2963) at java.base/java.net.URI$Parser.checkChars(URI.java:3134) at java.base/java.net.URI$Parser.checkChar(URI.java:3144) at java.base/java.net.URI$Parser.parse(URI.java:3159) at java.base/java.net.URI.(URI.java:855) at org.apache.fop.pdf.PDFFactory.getFileUri(PDFFactory.java:686) ... 39 more And searching for ?Preservica Internal? in the EAD, I see that some of those URLs are text strings: --

These are photographs taken at the College of Arts and Letters Alumni Homecoming Tailgate tent.These are part of a larger group of College of Arts and Letters photographs that have an identifier beginning with A.2013.0031.

Preservica Internal URL

https://us.preservica.com/explorer/explorer.html#prop:4&0a205486-db11-445e-a49f-7c0c55ef8c63

-- And others (which are the source of the problem) are DAO href attribute values that are character escaped
tags. Not sure how you?ve got this encoded in ArchivesSpace for it to export like this, but those are the values that need to be fixed. --

ArtPrize Submissions: 2020-12-07

https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|de6cbfd3-5bdf-41d1-a313-e323698859f2/">Preservica Access</a>" xlink:role="Electronic Record Access System" xlink:type="locator"/> -- ? Steve Majewski On Mar 31, 2021, at 2:24 PM, Busch, Ed > wrote: Just curious, in the Preservica added Notes in their Subnote Text content do you have them begin with
&fb978c72-bce5-4d04-b69b-762891c683b4 Just wild guessing right now. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: > on behalf of "Benedett, Barbara" > Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" > Date: Wednesday, March 31, 2021 at 1:59 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? Hi Ed, I just tested one of ours that has the Preservica-generated External document note and it was successful. I'll try a few others and see if I can recreate your issue. Barbara J. Benedett, CA, DAS Digital Archivist | Rock Resource Center 1720 Locust Street, Philadelphia, PA 19103 (215) 717-3139 Phone | (215) 893-9065 Fax | barbara.benedett at curtis.edu ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Busch, Ed > Sent: Wednesday, March 31, 2021 1:51 PM To: archivesspace_users_group at lyralists.lyrasis.org > Subject: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content? When I do Generate PDF for a particular Resource, the job fails. This resource has added Preservica content in External Documents, Notes and added DOs. I?m suspecting something in one of those fields is causing the problem. I?ve attached the EAD export. Here?s the error list: Generating PDF for College of Arts and Letters records Internal error evaluating template rule at line 123 in module file:/archivesspace/stylesheets/as-ead-pdf.xsl net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(net/sf/saxon/expr/instruct/TemplateRule.java:371) net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533) net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746) net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441) java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498) org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426) org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293) org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514) org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755) org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2200) org.jruby.RubyKernel$INVOKER$s$send.call(org/jruby/RubyKernel$INVOKER$s$send.gen) RUBY.invocation_lambda(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/executable.rb:270) org.jruby.RubyProc.call(org/jruby/RubyProc.java:291) org.jruby.RubyProc$INVOKER$i$call.call(org/jruby/RubyProc$INVOKER$i$call.gen) RUBY.to_destination(/archivesspace/gems/gems/saxon-rb-0.8.3-java/lib/saxon/xslt/invocation.rb:73) RUBY.to_fo(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:44) RUBY.to_pdf(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/AS_fop.rb:58) RUBY.run(/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) 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(/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24) RUBY.run(/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) 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(archivesspace/data/tmp/jetty_minus_0_dot_0_dot_0_dot_0_minus_8 Any suggestions? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group _______________________________________________ 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: From learle at library.rochester.edu Mon Apr 5 15:21:41 2021 From: learle at library.rochester.edu (Earle, Lev) Date: Mon, 5 Apr 2021 19:21:41 +0000 Subject: [Archivesspace_Users_Group] AS PUI displaying unpublished content Message-ID: Hello everyone, Our department has recently been talking about moving from our in-house display code, which interacts between AS and our website, to use the AS-generated user view (PUI) instead. Currently we have the PUI turned off completely, as it was discovered somewhat inadvertently that the PUI was displaying not only resources, but unpublished records like accession reports. Is there some setting we missed? How do we configure the PUI to only display published materials? Seems a very basic question but I think there was so much panic when it was discovered that we just elected to shut the whole thing down, since we weren't using it then anyway. I don't have a lot of the technical details on our instance, but if anyone needs more information to be able advise us, let me know and I can relay questions to our tech folks. Many cheers, -Lev Earle. ___________________________ Special Collections Processing Archivist Rare Books, Special Collections, and Preservation University of Rochester River Campus Libraries they/them pronouns -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark.custer at yale.edu Mon Apr 5 18:08:51 2021 From: mark.custer at yale.edu (Custer, Mark) Date: Mon, 5 Apr 2021 22:08:51 +0000 Subject: [Archivesspace_Users_Group] AS PUI displaying unpublished content In-Reply-To: References: Message-ID: Lev, Accession records can be published or unpublished in the staff interface, and if the accession records are unpublished, then those records should not show up in the ArchivesSpace PUI. If I recall correctly, though, there was a bug in the initial release of the PUI in ASpace 2.1 that showed unpublished Accession records as linked records when linked to other published records, so perhaps that was occurring in your version? Also, it looks like there is still a bug for how linked records display if linked to a digital object record, as reported here: https://archivesspace.atlassian.net/browse/ANW-1207. We only have accession records linked to resource (or other accession) records, and in that case, the unpublished accessions do not show up in the PUI. That said, I have noticed that if you add a LOT of linked accessions to any one record, then that can also cause an issue: we have one miscellany collection that should have over 2,000 linked accession records, but we dropped that down considerably in the staff interface so that it wouldn't break the display for that resource record in the public interface. Ideally, we could link them all, but it's not a big hindrance since we record the call number for that resource record in all 2k accession records anyway -- so, the records can still be grouped that way for reporting. Last, this page is woefully out of date, but I'll add the link here since it includes a few helpful pointers, specifically about the importance or reviewing the use of the Publish? button, default settings, and other workflows that impact publication statuses if using the PUI: https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/103526318/PUI+pre-launch+checklist Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Earle, Lev Sent: Monday, April 5, 2021 3:21 PM To: archivesspace_users_group at lyralists.lyrasis.org Subject: [Archivesspace_Users_Group] AS PUI displaying unpublished content Hello everyone, Our department has recently been talking about moving from our in-house display code, which interacts between AS and our website, to use the AS-generated user view (PUI) instead. Currently we have the PUI turned off completely, as it was discovered somewhat inadvertently that the PUI was displaying not only resources, but unpublished records like accession reports. Is there some setting we missed? How do we configure the PUI to only display published materials? Seems a very basic question but I think there was so much panic when it was discovered that we just elected to shut the whole thing down, since we weren?t using it then anyway. I don?t have a lot of the technical details on our instance, but if anyone needs more information to be able advise us, let me know and I can relay questions to our tech folks. Many cheers, -Lev Earle. ___________________________ Special Collections Processing Archivist Rare Books, Special Collections, and Preservation University of Rochester River Campus Libraries they/them pronouns -------------- next part -------------- An HTML attachment was scrubbed... URL: From learle at library.rochester.edu Mon Apr 5 18:54:20 2021 From: learle at library.rochester.edu (Earle, Lev) Date: Mon, 5 Apr 2021 22:54:20 +0000 Subject: [Archivesspace_Users_Group] [EXT] Re: AS PUI displaying unpublished content In-Reply-To: References: Message-ID: Hi Mark, Thanks for your response on this. Unfortunately, the publish/unpublish buttons in the staff interface aren't the source of the issue- the unpublished records do not have any "publish" boxes checked. I'd love it if it were that simple, haha. Additionally, we're running 2.5.1. We do have digital objects, but they're only linked to a few finding aids, all of which are published, so I don't think that should be causing the error, either... There doesn't seem to be any discrimination between what gets improperly displayed/published that would point to something linked causing the problem. Still, I'll review the workflow link you gave here with the tech folks and see if we can find something out. Thanks again! Cheers, -Lev. ___________________________ Lev Earle Special Collections Processing Archivist - RBSCP University of Rochester River Campus Libraries they/them pronouns From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Custer, Mark Sent: Monday, April 5, 2021 6:09 PM To: archivesspace_users_group at lyralists.lyrasis.org Subject: [EXT] Re: [Archivesspace_Users_Group] AS PUI displaying unpublished content Lev, Accession records can be published or unpublished in the staff interface, and if the accession records are unpublished, then those records should not show up in the ArchivesSpace PUI. If I recall correctly, though, there was a bug in the initial release of the PUI in ASpace 2.1 that showed unpublished Accession records as linked records when linked to other published records, so perhaps that was occurring in your version? Also, it looks like there is still a bug for how linked records display if linked to a digital object record, as reported here: https://archivesspace.atlassian.net/browse/ANW-1207. We only have accession records linked to resource (or other accession) records, and in that case, the unpublished accessions do not show up in the PUI. That said, I have noticed that if you add a LOT of linked accessions to any one record, then that can also cause an issue: we have one miscellany collection that should have over 2,000 linked accession records, but we dropped that down considerably in the staff interface so that it wouldn't break the display for that resource record in the public interface. Ideally, we could link them all, but it's not a big hindrance since we record the call number for that resource record in all 2k accession records anyway -- so, the records can still be grouped that way for reporting. Last, this page is woefully out of date, but I'll add the link here since it includes a few helpful pointers, specifically about the importance or reviewing the use of the Publish? button, default settings, and other workflows that impact publication statuses if using the PUI: https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/103526318/PUI+pre-launch+checklist Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Earle, Lev > Sent: Monday, April 5, 2021 3:21 PM To: archivesspace_users_group at lyralists.lyrasis.org > Subject: [Archivesspace_Users_Group] AS PUI displaying unpublished content Hello everyone, Our department has recently been talking about moving from our in-house display code, which interacts between AS and our website, to use the AS-generated user view (PUI) instead. Currently we have the PUI turned off completely, as it was discovered somewhat inadvertently that the PUI was displaying not only resources, but unpublished records like accession reports. Is there some setting we missed? How do we configure the PUI to only display published materials? Seems a very basic question but I think there was so much panic when it was discovered that we just elected to shut the whole thing down, since we weren't using it then anyway. I don't have a lot of the technical details on our instance, but if anyone needs more information to be able advise us, let me know and I can relay questions to our tech folks. Many cheers, -Lev Earle. ___________________________ Special Collections Processing Archivist Rare Books, Special Collections, and Preservation University of Rochester River Campus Libraries they/them pronouns -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew.morrison at bodleian.ox.ac.uk Tue Apr 6 04:59:32 2021 From: andrew.morrison at bodleian.ox.ac.uk (Andrew Morrison) Date: Tue, 6 Apr 2021 09:59:32 +0100 Subject: [Archivesspace_Users_Group] [EXT] Re: AS PUI displaying unpublished content In-Reply-To: References: Message-ID: <715f250a-a024-ca48-a501-6fbfa6b98799@bodleian.ox.ac.uk> Have you tried re-indexing since switching on the public user interface? Andrew. On 05/04/2021 23:54, Earle, Lev wrote: > > Hi Mark, > > Thanks for your response on this. Unfortunately, the publish/unpublish > buttons in the staff interface aren?t the source of the issue- the > unpublished records do not have any ?publish? boxes checked. I?d love > it if it were that simple, haha. Additionally, we?re running 2.5.1. We > do have digital objects, but they?re only linked to a few finding > aids, all of which are published, so I don?t think that should be > causing the error, either? There doesn?t seem to be any discrimination > between what gets improperly displayed/published that would point to > something linked causing the problem. Still, I?ll review the workflow > link you gave here with the tech folks and see if we can find > something out. > > Thanks again! > > Cheers, > > -Lev. > > ___________________________ > > Lev Earle > > Special Collections Processing Archivist ? RBSCP > > University of Rochester River Campus Libraries > > /they/them pronouns/ > > *From:*archivesspace_users_group-bounces at lyralists.lyrasis.org > *On Behalf > Of *Custer, Mark > *Sent:* Monday, April 5, 2021 6:09 PM > *To:* archivesspace_users_group at lyralists.lyrasis.org > *Subject:* [EXT] Re: [Archivesspace_Users_Group] AS PUI displaying > unpublished content > > Lev, > > Accession records can be published or unpublished in the staff > interface, and if the accession records are unpublished, then those > records should?not show up in the ArchivesSpace PUI.?If I recall > correctly, though, there was a bug in the initial release of the PUI > in ASpace 2.1 that showed unpublished Accession records as linked > records when linked to other published records, so perhaps that was > occurring in your version? ?Also, it looks like there is still a bug > for how linked records display if linked to a digital object record, > as reported here: https://archivesspace.atlassian.net/browse/ANW-1207 > . > > > We only have accession records linked to resource (or other accession) > records, and in that case, the unpublished accessions do not show up > in the PUI. That said, I have noticed that if you add a LOT of linked > accessions to any one record, then that can also cause an issue: ?we > have one miscellany collection that should have over 2,000 linked > accession records, but we dropped that down considerably in the staff > interface so that it wouldn't break the display for that resource > record in the public interface.?Ideally, we could link them all, but > it's not a big hindrance since we record the call number for that > resource record in all 2k accession records anyway -- so, the records > can still be grouped that way for reporting. > > Last, this page is woefully out of date, but I'll add the link here > since it includes a few helpful pointers, specifically about the > importance or reviewing the use of the Publish? button, default > settings, and other workflows that impact publication statuses if > using the PUI: > https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/103526318/PUI+pre-launch+checklist > > > Mark > > ------------------------------------------------------------------------ > > *From:*archivesspace_users_group-bounces at lyralists.lyrasis.org > > > on > behalf of Earle, Lev > > *Sent:* Monday, April 5, 2021 3:21 PM > *To:* archivesspace_users_group at lyralists.lyrasis.org > > > > *Subject:* [Archivesspace_Users_Group] AS PUI displaying unpublished > content > > Hello everyone, > > Our department has recently been talking about moving from our > in-house display code, which interacts between AS and our website, to > use the AS-generated user view (PUI) instead. Currently we have the > PUI turned off completely, as it was discovered somewhat inadvertently > that the PUI was displaying not only resources, but unpublished > records like accession reports. Is there some setting we missed? How > do we configure the PUI to only display published materials? Seems a > very basic question but I think there was so much panic when it was > discovered that we just elected to shut the whole thing down, since we > weren?t using it then anyway. > > I don?t have a lot of the technical details on our instance, but if > anyone needs more information to be able advise us, let me know and I > can relay questions to our tech folks. > > Many cheers, > > -Lev Earle. > > ___________________________ > > Special Collections Processing Archivist > > Rare Books, Special Collections, and Preservation > > University of Rochester River Campus Libraries > > /they/them pronouns/ > > > _______________________________________________ > 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: From Jessica.Crouch at lyrasis.org Tue Apr 6 11:52:01 2021 From: Jessica.Crouch at lyrasis.org (Jessica Crouch) Date: Tue, 6 Apr 2021 15:52:01 +0000 Subject: [Archivesspace_Users_Group] Announcing a new blog series highlighting current ArchivesSpace Advisory Council Members Message-ID: [Sent on behalf of the ArchivesSpace User and Technical Advisory Councils] Dear ArchivesSpace Members, Leaders of the ArchivesSpace Technical and User Advisory Councils are pleased to announce a new blog series featuring various members of the councils. Throughout the month, we will be sharing profiles of members from both councils. Through this series, we hope you learn more about the work of the councils, as well as consider nominating yourself and/or colleagues for the councils. Check out the first group of the series: https://archivesspace.org/archives/6825 Learn more about the councils: https://archivesspace.org/governance-board-and-councils Interested in nominating yourself and/or a colleague for one of the councils? Use the form below. The deadline to submit is April 23. To nominate yourself or someone else, visit: https://forms.gle/m2nN49M34CPgnvci9 Best, Jessica Dowd Crouch Community Engagement Coordinator for ArchivesSpace jessica.crouch at lyrasis.org [page1image482511520] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 29061 bytes Desc: image001.jpg URL: From learle at library.rochester.edu Tue Apr 6 13:36:09 2021 From: learle at library.rochester.edu (Earle, Lev) Date: Tue, 6 Apr 2021 17:36:09 +0000 Subject: [Archivesspace_Users_Group] [EXT] Re: AS PUI displaying unpublished content In-Reply-To: <715f250a-a024-ca48-a501-6fbfa6b98799@bodleian.ox.ac.uk> References: <715f250a-a024-ca48-a501-6fbfa6b98799@bodleian.ox.ac.uk> Message-ID: I don't believe so- we'll try this next, Andrew, thank you. Cheers, -Lev. ___________________________ Lev Earle Special Collections Processing Archivist - RBSCP University of Rochester River Campus Libraries they/them pronouns From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Andrew Morrison Sent: Tuesday, April 6, 2021 5:00 AM To: archivesspace_users_group at lyralists.lyrasis.org Subject: Re: [Archivesspace_Users_Group] [EXT] Re: AS PUI displaying unpublished content Have you tried re-indexing since switching on the public user interface? Andrew. On 05/04/2021 23:54, Earle, Lev wrote: Hi Mark, Thanks for your response on this. Unfortunately, the publish/unpublish buttons in the staff interface aren't the source of the issue- the unpublished records do not have any "publish" boxes checked. I'd love it if it were that simple, haha. Additionally, we're running 2.5.1. We do have digital objects, but they're only linked to a few finding aids, all of which are published, so I don't think that should be causing the error, either... There doesn't seem to be any discrimination between what gets improperly displayed/published that would point to something linked causing the problem. Still, I'll review the workflow link you gave here with the tech folks and see if we can find something out. Thanks again! Cheers, -Lev. ___________________________ Lev Earle Special Collections Processing Archivist - RBSCP University of Rochester River Campus Libraries they/them pronouns From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Custer, Mark Sent: Monday, April 5, 2021 6:09 PM To: archivesspace_users_group at lyralists.lyrasis.org Subject: [EXT] Re: [Archivesspace_Users_Group] AS PUI displaying unpublished content Lev, Accession records can be published or unpublished in the staff interface, and if the accession records are unpublished, then those records should not show up in the ArchivesSpace PUI. If I recall correctly, though, there was a bug in the initial release of the PUI in ASpace 2.1 that showed unpublished Accession records as linked records when linked to other published records, so perhaps that was occurring in your version? Also, it looks like there is still a bug for how linked records display if linked to a digital object record, as reported here: https://archivesspace.atlassian.net/browse/ANW-1207. We only have accession records linked to resource (or other accession) records, and in that case, the unpublished accessions do not show up in the PUI. That said, I have noticed that if you add a LOT of linked accessions to any one record, then that can also cause an issue: we have one miscellany collection that should have over 2,000 linked accession records, but we dropped that down considerably in the staff interface so that it wouldn't break the display for that resource record in the public interface. Ideally, we could link them all, but it's not a big hindrance since we record the call number for that resource record in all 2k accession records anyway -- so, the records can still be grouped that way for reporting. Last, this page is woefully out of date, but I'll add the link here since it includes a few helpful pointers, specifically about the importance or reviewing the use of the Publish? button, default settings, and other workflows that impact publication statuses if using the PUI: https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/103526318/PUI+pre-launch+checklist Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Earle, Lev > Sent: Monday, April 5, 2021 3:21 PM To: archivesspace_users_group at lyralists.lyrasis.org > Subject: [Archivesspace_Users_Group] AS PUI displaying unpublished content Hello everyone, Our department has recently been talking about moving from our in-house display code, which interacts between AS and our website, to use the AS-generated user view (PUI) instead. Currently we have the PUI turned off completely, as it was discovered somewhat inadvertently that the PUI was displaying not only resources, but unpublished records like accession reports. Is there some setting we missed? How do we configure the PUI to only display published materials? Seems a very basic question but I think there was so much panic when it was discovered that we just elected to shut the whole thing down, since we weren't using it then anyway. I don't have a lot of the technical details on our instance, but if anyone needs more information to be able advise us, let me know and I can relay questions to our tech folks. Many cheers, -Lev Earle. ___________________________ Special Collections Processing Archivist Rare Books, Special Collections, and Preservation University of Rochester River Campus Libraries they/them pronouns _______________________________________________ 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: From Jessica.Crouch at lyrasis.org Wed Apr 7 10:34:12 2021 From: Jessica.Crouch at lyrasis.org (Jessica Crouch) Date: Wed, 7 Apr 2021 14:34:12 +0000 Subject: [Archivesspace_Users_Group] Webinar Reminder: Implementing the Protocols for Native American Archival Materials at Northern Arizona University Message-ID: Dear ArchivesSpace users, There is still time to register for next Wednesday?s ArchivesSpace webinar on Implementing the Protocols for Native American Archival Materials at Northern Arizona University. In this webinar, Sam Meier, Cindy Summers, and Liz Garcia will discuss the ongoing efforts of Northern Arizona University?s Cline Library Special Collections and Archives to implement the Protocols for Native American Archival Materials; their vision for applying the Protocols to archival arrangement and description as well as rearrangement and redescription; logistical, technological, and resource issues with regards to updating legacy archival description in ArchivesSpace; and the design, implementation, and progress to date of the Archival Description Internship developed to help make this work possible. When: April 14, 2021 Time: 2:00 p.m. ? 3:00 p.m. ET (11:00 a.m. ? 12:00pm PT) Where: Zoom Registration: https://lyrasis.zoom.us/webinar/register/WN_THgc9aVTSDK4y0GygvSLeQ This webinar will be recorded and made available on the ArchivesSpace YouTube channel. Background information: In April 2006, Northern Arizona University (NAU) in Flagstaff, Arizona hosted a gathering of Native American and non-Native American cultural heritage professionals who together drafted the Protocols for Native American Archival Materials, a professional best practices document which outlined guidelines for culturally responsive care of Native American archival materials held by non-tribal institutions. NAU?s Cline Library and Special Collections and Archives formally endorsed the Protocols in 2006. Since then, the staff members of Cline Library Special Collections and Archives (SCA) have sought to integrate the guidance put forth by the Protocols into all aspects of their work, including collection development, collections management, and archival arrangement and description. In 2019, SCA?s newly hired Archivist for Discovery, Sam(antha) Meier, began revising the department?s draft Arrangement and Description Policy to address issues common to academic archives and special collections, such as an extensive and growing backlog of unprocessed materials and outdated and inaccurate legacy description. Supported by colleagues at Arizona State University, she began to explore the possibility of using ArchivesSpace to more rapidly gain collection-level control over new acquisitions, update existing legacy finding aids, and transition the department?s EAD finding aids hosted in Arizona Archives Online from EAD 2002 to EAD3. During the COVID-19 pandemic, Meier collaborated with Library Assistant Manager Cindy Summers to begin a holistic review of SCA?s legacy finding aids to prepare for their eventual ingest into ArchivesSpace for revision and correction. Meier and Summers found ways to continue this critical work remotely, as neither were initially working in Cline Library. Cognizant of the need to implement the Protocols at every step in archival processing, including re-description, re-arrangement, and re-processing, in the winter of 2020 Meier and Summers developed a fully remote paid graduate internship, the Archival Description Internship, intended to support an MLIS student at the University of Arizona in Tucson, Arizona. The internship was designed to function as a "pilot project" for the department, allowing Meier and Summers to explore how to apply the Protocols to their legacy finding aids along with intern Liz Garcia. Presenter Information: Elizabeth (Liz) Garcia is an MLIS student and Knowledge River Scholar at the University of Arizona?s School of Information with a concentration in archival studies. In addition to her work as the Archival Description Intern at Cline Library Special Collections and Archives, she is also the Graduate Assistant Archives Specialist at the University of Arizona Libraries Special Collections. Her research interests include archival theory, social justice in libraries and archives, and digital curation. Cindy Summers is an Assistant Manager at Cline Library Special Collections and Archives where she supervises volunteers, student employees, and interns. Cindy works closely with the Archivist for Discovery (Samantha Meier) to oversee collections processing, which has led to the ambitious project of updating all of SCA?s legacy finding aids and ingesting them in ArchivesSpace. Despite her employment history in many different units of Cline Library over 23 years, she feels fortunate to have become a staff member of Special Collections and Archives where she is surrounded by fascinating history, inspired by incredible coworkers, and encouraged by the aspirations of future archivists. Sam(antha) Meier is the Archivist for Discovery at Cline Library Special Collections and Archives, where she oversees arrangement and description of the department?s archival collections. Prior to coming to Cline Library, Sam worked as an archival technician with the Veterans History Project of the Library of Congress and as a contract archivist with the Union of B.C. Indian Chiefs Library & Archives. She received her Masters in Archival Studies, First Nations Curriculum Concentration, from the University of British Columbia in 2018. Who should attend: Anyone interested in implementing the Protocols for Native American Archival Materials, using ArchivesSpace to facilitate redescription of legacy finding aids or assessing archival backlog, or anyone managing graduate students and interns performing core functions in ArchivesSpace. Jessica Dowd Crouch Community Engagement Coordinator for ArchivesSpace jessica.crouch at lyrasis.org [page1image482511520] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 29062 bytes Desc: image001.jpg URL: From archives at aarome.org Wed Apr 7 16:57:12 2021 From: archives at aarome.org (Catie Heitz) Date: Wed, 7 Apr 2021 16:57:12 -0400 Subject: [Archivesspace_Users_Group] Error Fetching Tree Message-ID: Hi all, I've recently run into a strange error and I'm not sure exactly what prompted it. I was editing existing Archival Objects to change their top containers - something I've been doing a lot lately with no issues. Suddenly the records stopped loading and I received the following error message: "Oops! We're having trouble fetching this tree. Please try refreshing the page." Refreshing the page does nothing and I get the same error whenever I try to open the tree. Fortunately, only one small subseries was affected. Obviously I want to understand what happened so that I can fix it, but also so I can avoid this issue in the future. Again, all I thought I was doing was changing the top container, which is something I've done hundreds of times with no problem. If any one has any insight, it would be most appreciated. Best, Catie -- Catie Heitz Archivist American Academy in Rome 7 East 60th St. New York, NY 10022 212-751-7200 x347 212-751-7220 (fax) archives at aarome.org www.aarome.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From blake.carver at lyrasis.org Thu Apr 8 10:47:30 2021 From: blake.carver at lyrasis.org (Blake Carver) Date: Thu, 8 Apr 2021 14:47:30 +0000 Subject: [Archivesspace_Users_Group] Error Fetching Tree In-Reply-To: References: Message-ID: Sometimes just restarting ArchivesSpace can make that go away. If that doesn't do the trick, have a look at the logs, look for ERROR or FATAL. ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Catie Heitz Sent: Wednesday, April 7, 2021 4:57 PM To: archivesspace_users_group at lyralists.lyrasis.org Subject: [Archivesspace_Users_Group] Error Fetching Tree Hi all, I've recently run into a strange error and I'm not sure exactly what prompted it. I was editing existing Archival Objects to change their top containers - something I've been doing a lot lately with no issues. Suddenly the records stopped loading and I received the following error message: "Oops! We're having trouble fetching this tree. Please try refreshing the page." Refreshing the page does nothing and I get the same error whenever I try to open the tree. Fortunately, only one small subseries was affected. Obviously I want to understand what happened so that I can fix it, but also so I can avoid this issue in the future. Again, all I thought I was doing was changing the top container, which is something I've done hundreds of times with no problem. If any one has any insight, it would be most appreciated. Best, Catie -- Catie Heitz Archivist American Academy in Rome 7 East 60th St. New York, NY 10022 212-751-7200 x347 212-751-7220 (fax) archives at aarome.org www.aarome.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From ldedeyan at mikekelleyfoundation.org Fri Apr 9 17:00:49 2021 From: ldedeyan at mikekelleyfoundation.org (Lori Dedeyan) Date: Fri, 9 Apr 2021 14:00:49 -0700 Subject: [Archivesspace_Users_Group] using the PBSpace plugin Message-ID: Hi all, My institution is considering using the PBSpace plugin to better represent PBCore data in digital objects for our audiovisual materials. Is anyone using this plugin, and would you be willing to share your experience with it? Please feel free to respond off-list if you'd like. Thank you! Lori -- Lori Dedeyan Processing Archivist Mike Kelley Foundation for the Arts ldedeyan at mikekelleyfoundation.org *Please note that our entire team is working remotely while we monitor the COVID-19 situation, which impacts access to our office lines and postal service. Thank you for your patience and understanding. * -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jessica.Crouch at lyrasis.org Mon Apr 12 09:06:25 2021 From: Jessica.Crouch at lyrasis.org (Jessica Crouch) Date: Mon, 12 Apr 2021 13:06:25 +0000 Subject: [Archivesspace_Users_Group] Reminder: ArchivesSpace Trainers Corps Office Hour next Monday, April 19th at 2pm ET/11am PT. Message-ID: Dear ArchivesSpace Users, As a reminder, the first ArchivesSpace Trainers Corps ?Office Hour? will be next Monday, April 19th at 2pm ET/11am PT. This office hour will offer a demonstration of how to create a thumbnail image of a digital object in the ArchivesSpace Public User Interface. Following the brief presentation, you will have the opportunity to ask questions about the topic. Once those run out we will answer questions submitted via the submission form and if time allows, questions on the fly. If you would like to suggest a topic for a future ?Office Hour,? you can do so at https://forms.gle/unz3GmAbWwvpHjSr7. ArchivesSpace Trainers Corps ?Office Hour? Date: April 19, 2021 Time: 2:00pm ET / 11:00am PT Topic: How to create a thumbnail image of a digital object in the ArchivesSpace Public User Interface Question submission form: https://forms.gle/4kx1bntG7HUkMXdRA Registration: https://lyrasis.zoom.us/webinar/register/WN_5XgnGX1vTlqixabZwGKIVA Over the next year, the Trainers Corps will offer regularly scheduled trainings and office hours covering a variety of topics on all things ArchivesSpace. Registration for each training will be separate and registration will open closer to each training date. Information about this training program is available at https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/2331148319/ArchivesSpace+Community-Wide+Virtual+Training. If you have any questions, feel free to contact us at ArchivesSpaceHome at lyrasis.org. Jessica Dowd Crouch Community Engagement Coordinator for ArchivesSpace jessica.crouch at lyrasis.org [page1image482511520] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 29061 bytes Desc: image001.jpg URL: From gordon_daines at byu.edu Mon Apr 12 13:39:00 2021 From: gordon_daines at byu.edu (Gordon Daines) Date: Mon, 12 Apr 2021 17:39:00 +0000 Subject: [Archivesspace_Users_Group] Nominations Requested for ArchivesSpace Governance Board In-Reply-To: References: Message-ID: This is a gentle reminder to consider participating in ArchivesSpace governance-nominate yourself or a colleague.. The deadline for nominations is Friday April 23rd. From: Gordon Daines Sent: Tuesday, March 16, 2021 1:21 PM To: 'Archivesspace_Users_Group at lyralists.lyrasis.org' >; Archivesspace_member_reps at lyralists.lyrasis.org; archivesspace_tac at lyralists.lyrasis.org; archivesspace_uac at lyralists.lyrasis.org; archivesspace_small_archives_users_group at lyralists.lyrasis.org; ArchivesSpace Board of Trustees mail list > Subject: Nominations Requested for ArchivesSpace Governance Board As chair of the 2021 ArchivesSpace Nominating Committee, I seek your nominations of candidates to stand for election for the ArchivesSpace Governance Board representing the Small and Very Large membership levels. The Governance Board is charged with providing oversight for the ArchivesSpace application and community, including fiscal oversight, the approval of development priorities, and oversight of the Technical and User Advisory councils. We are seeking two candidates for the Small level and one candidate for the Very Large level. (The current incumbent at the Very Large membership level is running for re-election as representative.) The terms for all successful candidates will be July 1, 2021-June 30, 2024. Each newly elected member representative will be eligible to run for a second term, July 1, 2024-June 30, 2027. Governance Board nominees must be currently employed by an ArchivesSpace member organization in either the Small or Very Large member levels (see the member lists at: http://archivesspace.org/community/whos-using-archivesspace/). A variety of skills, interests, and experience can be useful in furthering the Board's mission, but nominees should ideally have administrative and fiscal oversight experience. As the community for a software application used in many different settings, we seek diverse voices in working to improve ArchivesSpace and support those who use or may benefit from using it. We especially encourage Black, Indigenous, and People of Color, and others currently less represented in our governance groups to consider joining us in these important leadership roles. To submit nominations, including self-nominations, please submit this form at https://forms.gle/m2nN49M34CPgnvci9. Nominees who confirm their interest in standing for election will be requested to supply a formal candidate statement outlining their qualifications for serving on the ArchivesSpace Governance Board (see: http://archivesspace.org/about/governance-board-and-councils/). The Nominating Committee will review all nominations and confirm a slate of nominees with the current Governance Board. An election ballot will be circulated to member institutions in mid-May. Nominations must be received by 9:00 p.m. EDT on Friday April 23rd. Please contact Christine Di Bella, ArchivesSpace Program Manager, at christine.dibella at lyrasis.org or any member of the Nominating Committee with questions. Thank you for your participation in this important process, which is an essential part of our identity and operations as a community-based software organization. Respectfully, J. Gordon Daines III Brigham Young University Chair, and Governance Board member On behalf of Nominating Committee members: Brittany Newberry, Robert W. Woodruff Library, Atlanta University Center, Chair of User Advisory Council Trevor Thornton, North Carolina State University, Chair of Technical Advisory Council Zach Johnson, Vanderbilt University, representing very large membership level Jacky Johnson, Miami University, representing large membership level Heidi Buchanan, West Carolina University, representing medium membership level Patricia Burdick, Colby College, representing small membership level Yue Ma, Museum of Chinese in America, representing very small membership level Christine Di Bella (ArchivesSpace Program Manager), ex officio _______________________________________ J. Gordon Daines III Curator of Research and Instruction Services Curator of the Yellowstone National Park collection 1130 HBLL Brigham Young University Provo, UT 84602 801-422-5821 gordon_daines at byu.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From gordon_daines at byu.edu Mon Apr 12 13:40:01 2021 From: gordon_daines at byu.edu (Gordon Daines) Date: Mon, 12 Apr 2021 17:40:01 +0000 Subject: [Archivesspace_Users_Group] Nominations Requested for ArchivesSpace Technical Advisory Council In-Reply-To: References: Message-ID: This is a gentle reminder to consider participating in ArchivesSpace governance-nominate yourself or a colleague. The deadline for nominations is Friday April 23rd. From: Gordon Daines Sent: Tuesday, March 16, 2021 1:21 PM To: 'Archivesspace_Users_Group at lyralists.lyrasis.org' >; Archivesspace_member_reps at lyralists.lyrasis.org; archivesspace_tac at lyralists.lyrasis.org; archivesspace_uac at lyralists.lyrasis.org; archivesspace_small_archives_users_group at lyralists.lyrasis.org; ArchivesSpace Board of Trustees mail list > Subject: Nominations Requested for ArchivesSpace Technical Advisory Council The ArchivesSpace Governance Board is seeking nominations to fill up to three (3) vacancies on the ArchivesSpace Technical Advisory Council (TAC). The Technical Advisory Council (https://archivesspace.org/governance-board-and-councils#TAC) is a critical part of the ArchivesSpace community, having responsibility for providing technical guidance to individuals or organizations contributing to application development, to the User Advisory Council, and to the ArchivesSpace Governance Board. TAC's current activities include: * Reviewing enhancements and priorities and testing in collaboration with the User Advisory Council. * Providing support for migrating data to ArchivesSpace from other systems and support for importing and exporting data in formats such as EAD, MARCXML, and CSV. * Documenting the metadata standards used by ArchivesSpace and monitoring the standards landscape. * Identifying integration points for ArchivesSpace with other systems (e.g. digital asset management systems, patron and request management systems, etc.), creating resources to assist the community with integration work and, for specific integrations, developing technical requirements. * Maintaining and updating technical documentation, including documentation of the API. * Providing support and resources to help develop a community of code committers. Nominees should preferably be presently employed at an ArchivesSpace member institution (please refer to the member list at: http://archivesspace.org/community/whos-using-archivesspace/) or employees of a current Registered Service Provider (see: http://archivesspace.org/registered-service-providers/current-rsps/). Nominations from non-member institutions will be considered based on their expertise and ability to contribute to the TAC. As the community for a software application used in many different settings, we seek diverse voices in working to improve ArchivesSpace and support those who use or may benefit from using it. We especially encourage Black, Indigenous, and People of Color, and others currently less represented in our governance groups to consider joining us in these important leadership roles. The anticipated time commitment for each appointee is expected to be two hours per week on average. The term of service will be July 1, 2021-June 30, 2024. To nominate a candidate for the ArchivesSpace Technical Advisory Council, please submit this form at https://forms.gle/m2nN49M34CPgnvci9. The Nominating Committee will review all nominations and recommend appointments to the Governance Board for approval. Nominations must be received by 9:00 p.m. EDT on Friday April 23rd. Please contact Christine Di Bella, ArchivesSpace Program Manager, at christine.dibella at lyrasis.org or any member of the Nominating Committee with questions. Thank you for your participation in this important process, which is an essential part of our identity and operations as a community-based software organization. Respectfully, J. Gordon Daines III Brigham Young University Chair, and Governance Board member On behalf of Nominating Committee members: Brittany Newberry, Robert W. Woodruff Library, Atlanta University Center, Chair of User Advisory Council Trevor Thornton, North Carolina State University, Chair of Technical Advisory Council Zach Johnson, Vanderbilt University, representing very large membership level Jacky Johnson, Miami University, representing large membership level Heidi Buchanan, West Carolina University, representing medium membership level Patricia Burdick, Colby College, representing small membership level Yue Ma, Museum of Chinese in America, representing very small membership level Christine Di Bella (ArchivesSpace Program Manager), ex officio _______________________________________ J. Gordon Daines III Curator of Research and Instruction Services Curator of the Yellowstone National Park collection 1130 HBLL Brigham Young University Provo, UT 84602 801-422-5821 gordon_daines at byu.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From gordon_daines at byu.edu Mon Apr 12 13:40:55 2021 From: gordon_daines at byu.edu (Gordon Daines) Date: Mon, 12 Apr 2021 17:40:55 +0000 Subject: [Archivesspace_Users_Group] Nominations Requested for ArchivesSpace User Advisory Council In-Reply-To: References: Message-ID: This is a gentle reminder to consider participating in ArchivesSpace governance-nominate yourself or a colleague. The deadline for nominations is Friday April 23rd. From: Gordon Daines Sent: Tuesday, March 16, 2021 1:21 PM To: 'Archivesspace_Users_Group at lyralists.lyrasis.org' >; Archivesspace_member_reps at lyralists.lyrasis.org; archivesspace_tac at lyralists.lyrasis.org; archivesspace_uac at lyralists.lyrasis.org; archivesspace_small_archives_users_group at lyralists.lyrasis.org; ArchivesSpace Board of Trustees mail list > Subject: Nominations Requested for ArchivesSpace User Advisory Council The ArchivesSpace Governance Board is seeking nominations to fill up to three (3) vacancies on the ArchivesSpace User Advisory Council (UAC). The User Advisory Council (https://archivesspace.org/governance-board-and-councils#UAC) is a critical part of the ArchivesSpace community, serving as a communication conduit between ArchivesSpace governance groups and ArchivesSpace users. Some of the activities UAC is currently engaged in are: * Advising the ArchivesSpace Governance Board and the ArchivesSpace Organizational Home on the design and delivery of services, such as community engagement and support services, technical support, and training. * As a joint representative of the Development Prioritization subteam, discussing and voting on ideas for software enhancements and improvements. * As a joint representative of the Testing subteam, conducting user-centered testing of the application prior to releases and conduct ongoing usability studies as needed. * Liaising with national and regional archives organizations. * Maintaining and updating user documentation. * Advocating on the usability and functionality of the software program to facilitate adoption of the program. Nominees should be presently employed at an ArchivesSpace member institution (please refer to the categorized member list at: http://archivesspace.org/community/whos-using-archivesspace/). As the community for a software application used in many different settings, we seek diverse voices in working to improve ArchivesSpace and support those who use or may benefit from using it. We especially encourage Black, Indigenous, and People of Color, and others currently less represented in our governance groups to consider joining us in these important leadership roles. The anticipated time commitment for each appointee is expected to be two hours per week on average. The term of service will be July 1, 2021-June 30, 2024. To nominate a candidate for the ArchivesSpace User Advisory Council, please submit this form at https://forms.gle/m2nN49M34CPgnvci9. The Nominating Committee will review all nominations and recommend appointments to the Governance Board for approval. Nominations must be received by 9:00 p.m. EDT on Friday April 23rd. Please contact Christine Di Bella, ArchivesSpace Program Manager, at christine.dibella at lyrasis.org or any member of the Nominating Committee with questions. Thank you for your participation in this important process, which is an essential part of our identity and operations as a community-based software organization. Respectfully, J. Gordon Daines III Brigham Young University Chair, and Governance Board member On behalf of Nominating Committee members: Brittany Newberry, Robert W. Woodruff Library, Atlanta University Center, Chair of User Advisory Council Trevor Thornton, North Carolina State University, Chair of Technical Advisory Council Zach Johnson, Vanderbilt University, representing very large membership level Jacky Johnson, Miami University, representing large membership level Heidi Buchanan, West Carolina University, representing medium membership level Patricia Burdick, Colby College, representing small membership level Yue Ma, Museum of Chinese in America, representing very small membership level Christine Di Bella (ArchivesSpace Program Manager), ex officio _______________________________________ J. Gordon Daines III Curator of Research and Instruction Services Curator of the Yellowstone National Park collection 1130 HBLL Brigham Young University Provo, UT 84602 801-422-5821 gordon_daines at byu.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jessica.Crouch at lyrasis.org Tue Apr 13 12:21:16 2021 From: Jessica.Crouch at lyrasis.org (Jessica Crouch) Date: Tue, 13 Apr 2021 16:21:16 +0000 Subject: [Archivesspace_Users_Group] New blog highlighting current ArchivesSpace Advisory Council Members Message-ID: <32825400-072B-44D0-AA0F-82CB33D12ABE@lyrasis.org> [Sent on behalf of the ArchivesSpace User and Technical Advisory Councils] Dear ArchivesSpace Members, Leaders of the ArchivesSpace Technical and User Advisory Councils are pleased to announce a new blog series featuring various members of the councils. Throughout the month, we will be sharing profiles of members from both councils. Through this series, we hope you learn more about the work of the councils, as well as consider nominating yourself and/or colleagues for the councils. Check out the second group of the series: https://archivesspace.org/archives/6850 Learn more about the councils: https://archivesspace.org/governance-board-and-councils Interested in nominating yourself and/or a colleague for one of the councils? Use the form below. The deadline to submit is April 23. To nominate yourself or someone else, visit: https://forms.gle/m2nN49M34CPgnvci9 Best, Jessica Dowd Crouch Community Engagement Coordinator for ArchivesSpace jessica.crouch at lyrasis.org [page1image482511520] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 29062 bytes Desc: image001.jpg URL: From kstrosch at wellesley.edu Tue Apr 13 17:02:04 2021 From: kstrosch at wellesley.edu (Kara Hart) Date: Tue, 13 Apr 2021 17:02:04 -0400 Subject: [Archivesspace_Users_Group] Installing digitization_work_order Message-ID: Hi all, I've just tried installing the digitization_work_order plugin on my test server (CentOS 7 with ArchivesSpace 2.7.0) and when initializing the plugin got a Gem install error about the Ruby version (below). Not sure what to do with this. Does this mean I need to install a newer version of Ruby? Will this have any other consequences on my server? Thanks for any insight. Fetching: bundler-1.16.1.gem (100%) Successfully installed bundler-1.16.1 1 gem installed Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from http://rubygems.org/... Resolving dependencies... Using bundler 1.16.1 Fetching rubyzip 2.3.0 Installing rubyzip 2.3.0 Gem::InstallError: rubyzip requires Ruby version >= 2.4. An error occurred while installing rubyzip (2.3.0), and Bundler cannot continue. Make sure that `gem install rubyzip -v '2.3.0'` succeeds before bundling. In Gemfile: write_xlsx was resolved to 0.85.3, which depends on zip-zip was resolved to 0.3, which depends on rubyzip ~~~ Kara S. Hart Systems Librarian - Library & Technology Services - Wellesley College -------------- next part -------------- An HTML attachment was scrubbed... URL: From benn.joseph at northwestern.edu Tue Apr 13 17:38:13 2021 From: benn.joseph at northwestern.edu (Benn Joseph) Date: Tue, 13 Apr 2021 21:38:13 +0000 Subject: [Archivesspace_Users_Group] normalized begin/end date display in PUI Message-ID: Hi everyone, For processing projects at our institution, we've pretty much reached the point of normalizing the use of the Harvard spreadsheet ingest module in ASpace, which is great! One result of doing this is that we now favor ingesting normalized begin/end dates almost exclusively, if possible, in order to make searching dates easier in the ASpace PUI (meaning we typically do not include a date expression unless it's something that cannot be conveyed in the begin/end fields). But, is anyone else bugged by the way these dates display in the PUI? Here's an example from something we have currently in process: [cid:image002.jpg at 01D73083.64F2C600] It isn't terrible, but it's also not the easiest to read. In addition, DACS seems to discourage the use of ISO 8601 for the end user: 2.4.14. For descriptions of a single item, record exact dates in a consistent and unambiguous fashion, preferably expressed as year-month-day, i.e. 1906 March 17 (it also says "Expression of dates as all numerals is discouraged due to the differing conventions in the order of information", and what we have here is all numerals). We could certainly add a more human-readable date expression to each of these archival objects, but the sentiment here is that if we have good data, ASpace should be able to take '1935-03-19' and display '1935 March 19' (or whatever we like) to a user pretty easily without us having to do any extra work. But, before I file an enhancement request, what do others think about this? Thanks, --Benn Benn Joseph Head, Collections Services McCormick Library of Special Collections & University Archives Northwestern University Libraries Northwestern University www.library.northwestern.edu benn.joseph at northwestern.edu 847.467.6581 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 12331 bytes Desc: image002.jpg URL: From dmichelson at smith.edu Wed Apr 14 06:21:47 2021 From: dmichelson at smith.edu (Dan Michelson) Date: Wed, 14 Apr 2021 06:21:47 -0400 Subject: [Archivesspace_Users_Group] normalized begin/end date display in PUI In-Reply-To: References: Message-ID: Hi Benn, I think that's a great idea! Ideally, we'd have a way for the format to be customizable (e.g., day month year for European institutions, month day, year for US institutions), but removing the ambiguity is more important. Dan On Tue, Apr 13, 2021 at 5:38 PM Benn Joseph wrote: > Hi everyone, > > For processing projects at our institution, we?ve pretty much reached the > point of normalizing the use of the Harvard spreadsheet ingest module in > ASpace, which is great! One result of doing this is that we now favor > ingesting normalized begin/end dates almost exclusively, if possible, in > order to make searching dates easier in the ASpace PUI (meaning we > typically do not include a date expression unless it?s something that > cannot be conveyed in the begin/end fields). > > > > But, is anyone else bugged by the way these dates display in the PUI? > Here?s an example from something we have currently in process: > > > > > > It isn?t terrible, but it?s also not the easiest to read. In addition, > DACS seems to discourage the use of ISO 8601 for the end user: > > > > *2.4.14.* For descriptions of a single item, record exact dates in a > consistent and unambiguous fashion, preferably expressed as year-month-day, > i.e. 1906 March 17 (it also says ?Expression of dates as all numerals is > discouraged due to the differing conventions in the order of information?, > and what we have here is all numerals). > > > > We could certainly add a more human-readable date expression to each of > these archival objects, but the sentiment here is that if we have good > data, ASpace should be able to take ?1935-03-19? and display ?1935 March > 19? (or whatever we like) to a user pretty easily without us having to do > any extra work. But, before I file an enhancement request, what do others > think about this? > > > > Thanks, > > --Benn > > > > *Benn Joseph* > > Head, Collections Services > > McCormick Library of Special Collections & University Archives > > Northwestern University Libraries > > Northwestern University > > www.library.northwestern.edu > > benn.joseph at northwestern.edu > > 847.467.6581 > > > _______________________________________________ > Archivesspace_Users_Group mailing list > Archivesspace_Users_Group at lyralists.lyrasis.org > http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group > -- Dan Michelson Project Manager Archivist Smith College Special Collections Due to COVID-19, Special Collections is offering limited, remote reference and digitization services and ongoing consultations for faculty, students, and other researchers. Smith course support is our primary responsibility at this time. All other requests and inquiries will be responded to as we are able. For information about Smith College?s response to Covid-19, please visit the Smith College Libraries and Smith College websites. For information about library services during this time, information is available on our website. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 12331 bytes Desc: not available URL: From mark.custer at yale.edu Wed Apr 14 10:01:25 2021 From: mark.custer at yale.edu (Custer, Mark) Date: Wed, 14 Apr 2021 14:01:25 +0000 Subject: [Archivesspace_Users_Group] normalized begin/end date display in PUI In-Reply-To: References: , Message-ID: Benn, Yes, this is a great feature request! It was discussed as part of the PUI enhancement phase for 2.1, but never got added due to the additional work required (e.g., month names would also need to be added to the YML files for translation purposes). It was also hoped that there might already be an adoptable codebase that would handle the logic of taking ISO-8601 (and, eventually, EDTF dates, which I think are now somewhat part of the newest release of ISO-8601) and transform those to human-readable values so that this would not have to be created from scratch for ArchivesSpace (maybe https://github.com/duke-libraries/edtf-humanize fits the bill now... at least it already has translation values, e.g. https://github.com/duke-libraries/edtf-humanize/blob/develop/config/locales/fr.edtf.yml#L6). Also, in the example that you provided below, the ideal English language output might be something like: "1935 March 19-23", without repeating the year and month values. So, the auto-populated date displays should also be compressed when necessary. Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Dan Michelson Sent: Wednesday, April 14, 2021 6:21 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] normalized begin/end date display in PUI Hi Benn, I think that's a great idea! Ideally, we'd have a way for the format to be customizable (e.g., day month year for European institutions, month day, year for US institutions), but removing the ambiguity is more important. Dan On Tue, Apr 13, 2021 at 5:38 PM Benn Joseph > wrote: Hi everyone, For processing projects at our institution, we?ve pretty much reached the point of normalizing the use of the Harvard spreadsheet ingest module in ASpace, which is great! One result of doing this is that we now favor ingesting normalized begin/end dates almost exclusively, if possible, in order to make searching dates easier in the ASpace PUI (meaning we typically do not include a date expression unless it?s something that cannot be conveyed in the begin/end fields). But, is anyone else bugged by the way these dates display in the PUI? Here?s an example from something we have currently in process: [cid:178cfdd93eb5b006a1] It isn?t terrible, but it?s also not the easiest to read. In addition, DACS seems to discourage the use of ISO 8601 for the end user: 2.4.14. For descriptions of a single item, record exact dates in a consistent and unambiguous fashion, preferably expressed as year-month-day, i.e. 1906 March 17 (it also says ?Expression of dates as all numerals is discouraged due to the differing conventions in the order of information?, and what we have here is all numerals). We could certainly add a more human-readable date expression to each of these archival objects, but the sentiment here is that if we have good data, ASpace should be able to take ?1935-03-19? and display ?1935 March 19? (or whatever we like) to a user pretty easily without us having to do any extra work. But, before I file an enhancement request, what do others think about this? Thanks, --Benn Benn Joseph Head, Collections Services McCormick Library of Special Collections & University Archives Northwestern University Libraries Northwestern University www.library.northwestern.edu benn.joseph at northwestern.edu 847.467.6581 _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group -- Dan Michelson Project Manager Archivist Smith College Special Collections Due to COVID-19, Special Collections is offering limited, remote reference and digitization services and ongoing consultations for faculty, students, and other researchers. Smith course support is our primary responsibility at this time. All other requests and inquiries will be responded to as we are able. For information about Smith College?s response to Covid-19, please visit the Smith College Libraries and Smith College websites. For information about library services during this time, information is available on our website. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 12331 bytes Desc: image002.jpg URL: From kmc35 at psu.edu Wed Apr 14 11:58:29 2021 From: kmc35 at psu.edu (Clair, Kevin) Date: Wed, 14 Apr 2021 15:58:29 +0000 Subject: [Archivesspace_Users_Group] normalized begin/end date display in PUI In-Reply-To: References: , , Message-ID: Hello, +1 to all of this. Our current use case seems to go the other way -- at Penn State the tendency is to have processing archivists provide human-readable date expressions, and that we would like to generate machine-readable begin and end dates based on that. I'm wondering how uncertain dates would figure into this. In both of the ArchivesSpace instances I'm familiar with there are a lot of "circa"s and "approximately"s, with varying ideas on how to encode them as begin and end dates. thanks! -k ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Custer, Mark Sent: Wednesday, April 14, 2021 10:01 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] normalized begin/end date display in PUI Benn, Yes, this is a great feature request! It was discussed as part of the PUI enhancement phase for 2.1, but never got added due to the additional work required (e.g., month names would also need to be added to the YML files for translation purposes). It was also hoped that there might already be an adoptable codebase that would handle the logic of taking ISO-8601 (and, eventually, EDTF dates, which I think are now somewhat part of the newest release of ISO-8601) and transform those to human-readable values so that this would not have to be created from scratch for ArchivesSpace (maybe https://github.com/duke-libraries/edtf-humanize fits the bill now... at least it already has translation values, e.g. https://github.com/duke-libraries/edtf-humanize/blob/develop/config/locales/fr.edtf.yml#L6). Also, in the example that you provided below, the ideal English language output might be something like: "1935 March 19-23", without repeating the year and month values. So, the auto-populated date displays should also be compressed when necessary. Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Dan Michelson Sent: Wednesday, April 14, 2021 6:21 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] normalized begin/end date display in PUI Hi Benn, I think that's a great idea! Ideally, we'd have a way for the format to be customizable (e.g., day month year for European institutions, month day, year for US institutions), but removing the ambiguity is more important. Dan On Tue, Apr 13, 2021 at 5:38 PM Benn Joseph > wrote: Hi everyone, For processing projects at our institution, we?ve pretty much reached the point of normalizing the use of the Harvard spreadsheet ingest module in ASpace, which is great! One result of doing this is that we now favor ingesting normalized begin/end dates almost exclusively, if possible, in order to make searching dates easier in the ASpace PUI (meaning we typically do not include a date expression unless it?s something that cannot be conveyed in the begin/end fields). But, is anyone else bugged by the way these dates display in the PUI? Here?s an example from something we have currently in process: [cid:178cfdd93eb5b006a1] It isn?t terrible, but it?s also not the easiest to read. In addition, DACS seems to discourage the use of ISO 8601 for the end user: 2.4.14. For descriptions of a single item, record exact dates in a consistent and unambiguous fashion, preferably expressed as year-month-day, i.e. 1906 March 17 (it also says ?Expression of dates as all numerals is discouraged due to the differing conventions in the order of information?, and what we have here is all numerals). We could certainly add a more human-readable date expression to each of these archival objects, but the sentiment here is that if we have good data, ASpace should be able to take ?1935-03-19? and display ?1935 March 19? (or whatever we like) to a user pretty easily without us having to do any extra work. But, before I file an enhancement request, what do others think about this? Thanks, --Benn Benn Joseph Head, Collections Services McCormick Library of Special Collections & University Archives Northwestern University Libraries Northwestern University www.library.northwestern.edu benn.joseph at northwestern.edu 847.467.6581 _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group -- Dan Michelson Project Manager Archivist Smith College Special Collections Due to COVID-19, Special Collections is offering limited, remote reference and digitization services and ongoing consultations for faculty, students, and other researchers. Smith course support is our primary responsibility at this time. All other requests and inquiries will be responded to as we are able. For information about Smith College?s response to Covid-19, please visit the Smith College Libraries and Smith College websites. For information about library services during this time, information is available on our website. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 12331 bytes Desc: image002.jpg URL: From Jessica.Crouch at lyrasis.org Thu Apr 15 14:49:30 2021 From: Jessica.Crouch at lyrasis.org (Jessica Crouch) Date: Thu, 15 Apr 2021 18:49:30 +0000 Subject: [Archivesspace_Users_Group] Apply now for the ArchivesSpace Member Match program Message-ID: <13E0F12C-9F5C-4F67-B3F9-12587671683E@lyrasis.org> Dear ArchivesSpace Members, As a reminder, applications are currently being accepted for the ArchivesSpace Member Match program. Applications are being accepted through April 30, 2021. The Member Match program is an initiative to engage the ArchivesSpace membership community, created and organized by the Member Engagement sub-team of the ArchivesSpace User Advisory Council, with support from the ArchivesSpace Community Engagement Coordinator. The program is intended to be a resource and venue for peer-to-peer support between ArchivesSpace members. For one, year-long term, participants will be matched with a member with whom they can receive and offer professional insight, advice, and comradery. The program will also offer participants the opportunity to engage in exclusive events and enlightening discussions about ArchivesSpace and its active user community. Eligibility Any individual affiliated with an ArchivesSpace member organization is eligible to participate in the ArchivesSpace Member Match program and there is no limit to the number of individuals from a member organization that may participate. If you are unsure of your organization?s ArchivesSpace membership status, visit https://archivesspace.org/community/whos-using-archivesspace or email ArchivesSpaceHome at lyrasis.org. To Apply There is a short application to complete at https://airtable.com/shr1nE3RWpR7Y78En. Applications should be submitted by April 30. Applicants will be notified of their matches no later than June 30. To Learn More Visit the Member Match wiki: https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/2198568994/ArchivesSpace+Member+Match+Program The ArchivesSpace Member Engagement Sub-team conducted an informational webinar on March 10th. You can find a link to the recording of this webinar on the Member Match wiki. Please feel free to direct any questions to ArchivesSpaceHome at lyrasis.org -Sent on behalf of the ArchivesSpace Member Engagement sub-team Kate Blalack, American Song Archive Regina Carra, American Folk Art Museum Bailey Hoffner, University of Oklahoma Ashley Knox, University of North Carolina Wilmington Brittany Newberry, Atlanta University Center and ArchivesSpace User Advisory Council Chair Jessica Crouch, ArchivesSpace Community Engagement Coordinator -------------- next part -------------- An HTML attachment was scrubbed... URL: From benn.joseph at northwestern.edu Fri Apr 16 14:02:11 2021 From: benn.joseph at northwestern.edu (Benn Joseph) Date: Fri, 16 Apr 2021 18:02:11 +0000 Subject: [Archivesspace_Users_Group] normalized begin/end date display in PUI In-Reply-To: References: , , Message-ID: Hi everyone, Thanks for your feedback! I did create and submit a new feature request for changing to more human-readable dates in the PUI (basically just replacing the month in ISO 8601 with the spelled out English equivalent), which is now ANW-1273. Mark, thanks for this background info?I?m also going to submit a linked request for compressing the date displays in the way you describe, which is a great idea but seems like it might need a separate ticket. Maybe a third step would be a customizable display as Dan mentions below. Kevin, what you?re describing is exactly what brought this up for us initially. I had proposed to folks here that maybe one way to get good human-readable dates in the PUI would be to enter them (consistently) as date expressions and then have Timewalk or Timetwister normalize them for us. But that seemed to be living a bit on the edge, and as a member of the team described it: ?we shouldn?t be entering bad data on purpose and hoping that ASpace will magically fix it for us?. I like to think I received a lot of tough love that day ? Thanks, --Benn From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Clair, Kevin Sent: Wednesday, April 14, 2021 10:58 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] normalized begin/end date display in PUI Hello, +1 to all of this. Our current use case seems to go the other way -- at Penn State the tendency is to have processing archivists provide human-readable date expressions, and that we would like to generate machine-readable begin and end dates based on that. I'm wondering how uncertain dates would figure into this. In both of the ArchivesSpace instances I'm familiar with there are a lot of "circa"s and "approximately"s, with varying ideas on how to encode them as begin and end dates. thanks! -k ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Custer, Mark > Sent: Wednesday, April 14, 2021 10:01 AM To: Archivesspace Users Group > Subject: Re: [Archivesspace_Users_Group] normalized begin/end date display in PUI Benn, Yes, this is a great feature request! It was discussed as part of the PUI enhancement phase for 2.1, but never got added due to the additional work required (e.g., month names would also need to be added to the YML files for translation purposes). It was also hoped that there might already be an adoptable codebase that would handle the logic of taking ISO-8601 (and, eventually, EDTF dates, which I think are now somewhat part of the newest release of ISO-8601) and transform those to human-readable values so that this would not have to be created from scratch for ArchivesSpace (maybe https://github.com/duke-libraries/edtf-humanize fits the bill now... at least it already has translation values, e.g. https://github.com/duke-libraries/edtf-humanize/blob/develop/config/locales/fr.edtf.yml#L6). Also, in the example that you provided below, the ideal English language output might be something like: "1935 March 19-23", without repeating the year and month values. So, the auto-populated date displays should also be compressed when necessary. Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Dan Michelson > Sent: Wednesday, April 14, 2021 6:21 AM To: Archivesspace Users Group > Subject: Re: [Archivesspace_Users_Group] normalized begin/end date display in PUI Hi Benn, I think that's a great idea! Ideally, we'd have a way for the format to be customizable (e.g., day month year for European institutions, month day, year for US institutions), but removing the ambiguity is more important. Dan On Tue, Apr 13, 2021 at 5:38 PM Benn Joseph > wrote: Hi everyone, For processing projects at our institution, we?ve pretty much reached the point of normalizing the use of the Harvard spreadsheet ingest module in ASpace, which is great! One result of doing this is that we now favor ingesting normalized begin/end dates almost exclusively, if possible, in order to make searching dates easier in the ASpace PUI (meaning we typically do not include a date expression unless it?s something that cannot be conveyed in the begin/end fields). But, is anyone else bugged by the way these dates display in the PUI? Here?s an example from something we have currently in process: [cid:image002.jpg at 01D732C0.B60CC9C0] It isn?t terrible, but it?s also not the easiest to read. In addition, DACS seems to discourage the use of ISO 8601 for the end user: 2.4.14. For descriptions of a single item, record exact dates in a consistent and unambiguous fashion, preferably expressed as year-month-day, i.e. 1906 March 17 (it also says ?Expression of dates as all numerals is discouraged due to the differing conventions in the order of information?, and what we have here is all numerals). We could certainly add a more human-readable date expression to each of these archival objects, but the sentiment here is that if we have good data, ASpace should be able to take ?1935-03-19? and display ?1935 March 19? (or whatever we like) to a user pretty easily without us having to do any extra work. But, before I file an enhancement request, what do others think about this? Thanks, --Benn Benn Joseph Head, Collections Services McCormick Library of Special Collections & University Archives Northwestern University Libraries Northwestern University www.library.northwestern.edu benn.joseph at northwestern.edu 847.467.6581 _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group -- Dan Michelson Project Manager Archivist Smith College Special Collections Due to COVID-19, Special Collections is offering limited, remote reference and digitization services and ongoing consultations for faculty, students, and other researchers. Smith course support is our primary responsibility at this time. All other requests and inquiries will be responded to as we are able. For information about Smith College?s response to Covid-19, please visit the Smith College Libraries and Smith College websites. For information about library services during this time, information is available on our website. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 11705 bytes Desc: image002.jpg URL: From brian.hoffman at lyrasis.org Mon Apr 19 11:50:05 2021 From: brian.hoffman at lyrasis.org (Brian Hoffman) Date: Mon, 19 Apr 2021 15:50:05 +0000 Subject: [Archivesspace_Users_Group] Should digital object file_uri field allow non URI data? Message-ID: <7CB4F8FD-7233-4D9D-BDB3-6B79B9CCEDCA@lyrasis.org> Hi, We have been trying to understand what to do about cases like the following: http://sandbox.archivesspace.org/digital_objects/2/edit#tree::digital_object_2 [cid:image001.png at 01D73512.22D7F220] As things are now, ArchivesSpace will allow a value like this, but various renderings and transformations will not work as expected. I am wondering if: 1. This is a legacy bug; the field should have originally validated values to ensure they were URIs 2. This is a presentation layer bug: non URIs should be allowed in the file_uri field, but HTML and PDF presentations need to accommodate that. 3. Everything is fine. Users should be able to put whatever they want in file_uri, but if they want it to present right they need to write a plugin. This isn?t an academic question, as this is currently happening with records created automatically by Preservica software. Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 95638 bytes Desc: image001.png URL: From buschedw at msu.edu Mon Apr 19 11:53:28 2021 From: buschedw at msu.edu (Busch, Ed) Date: Mon, 19 Apr 2021 15:53:28 +0000 Subject: [Archivesspace_Users_Group] Should digital object file_uri field allow non URI data? In-Reply-To: <7CB4F8FD-7233-4D9D-BDB3-6B79B9CCEDCA@lyrasis.org> References: <7CB4F8FD-7233-4D9D-BDB3-6B79B9CCEDCA@lyrasis.org> Message-ID: <4D17908D-83FF-46D0-ADEF-1EE3730AD912@msu.edu> I get an unable to access page. Maybe a screen shot. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Brian Hoffman Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Monday, April 19, 2021 at 11:50 AM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: [Archivesspace_Users_Group] Should digital object file_uri field allow non URI data? Hi, We have been trying to understand what to do about cases like the following: http://sandbox.archivesspace.org/digital_objects/2/edit#tree::digital_object_2 [cid:image001.png at 01D73512.9C454DB0] As things are now, ArchivesSpace will allow a value like this, but various renderings and transformations will not work as expected. I am wondering if: 1. This is a legacy bug; the field should have originally validated values to ensure they were URIs 2. This is a presentation layer bug: non URIs should be allowed in the file_uri field, but HTML and PDF presentations need to accommodate that. 3. Everything is fine. Users should be able to put whatever they want in file_uri, but if they want it to present right they need to write a plugin. This isn?t an academic question, as this is currently happening with records created automatically by Preservica software. Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 95639 bytes Desc: image001.png URL: From brian.hoffman at lyrasis.org Mon Apr 19 11:57:15 2021 From: brian.hoffman at lyrasis.org (Brian Hoffman) Date: Mon, 19 Apr 2021 15:57:15 +0000 Subject: [Archivesspace_Users_Group] Should digital object file_uri field allow non URI data? In-Reply-To: <4D17908D-83FF-46D0-ADEF-1EE3730AD912@msu.edu> References: <7CB4F8FD-7233-4D9D-BDB3-6B79B9CCEDCA@lyrasis.org> <4D17908D-83FF-46D0-ADEF-1EE3730AD912@msu.edu> Message-ID: Hmm. I am attaching the image again, please let me know if you still can?t see it: From: on behalf of "Busch, Ed" Reply-To: Archivesspace Users Group Date: Monday, April 19, 2021 at 11:53 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Should digital object file_uri field allow non URI data? I get an unable to access page. Maybe a screen shot. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Brian Hoffman Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Monday, April 19, 2021 at 11:50 AM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: [Archivesspace_Users_Group] Should digital object file_uri field allow non URI data? Hi, We have been trying to understand what to do about cases like the following: http://sandbox.archivesspace.org/digital_objects/2/edit#tree::digital_object_2 [cid:image001.png at 01D73513.22FFD000] As things are now, ArchivesSpace will allow a value like this, but various renderings and transformations will not work as expected. I am wondering if: 1. This is a legacy bug; the field should have originally validated values to ensure they were URIs 2. This is a presentation layer bug: non URIs should be allowed in the file_uri field, but HTML and PDF presentations need to accommodate that. 3. Everything is fine. Users should be able to put whatever they want in file_uri, but if they want it to present right they need to write a plugin. This isn?t an academic question, as this is currently happening with records created automatically by Preservica software. Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 95640 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: file_uri_img.png Type: image/png Size: 90523 bytes Desc: file_uri_img.png URL: From ArchivesSpaceHome at lyrasis.org Mon Apr 19 12:03:04 2021 From: ArchivesSpaceHome at lyrasis.org (ArchivesSpaceHome) Date: Mon, 19 Apr 2021 16:03:04 +0000 Subject: [Archivesspace_Users_Group] Registration now open: Four-session Virtual ArchivesSpace Basics Workshop on May 11, 13, 18 and 21, 2021 Message-ID: Dear ArchivesSpace members, Registration is now open for the four-session Virtual ArchivesSpace Basics Workshop on May 11, 13, 18 and 21, 2021 from 12:00pm-2:30pm ET/9:00am-11:30am PT. During this workshop, trainers from the ArchivesSpace Trainers Corps will cover some of the most frequently used areas of the ArchivesSpace application. Attendees are expected to attend all 4 sessions since each session will build on the lessons learned in the session before. A copy of the agenda is linked below. ArchivesSpace Basics Training - 4 sessions (agenda) Date: May 11, 13, 18, 20, 2021 Time: 12:00pm-2:30pm ET / 9:00am-11:30pm PT Trainers: Nancy Enneking (Getty) and Noah Huffman (Duke University) Registration: https://lyrasis.zoom.us/webinar/register/WN_Dm-UQQW2Tb-Rpbo5UZVd2w For the first 48 hours, registration will be open to individuals associated with ArchivesSpace member institutions only. To register during this time, you must use an institutional email address associated with an ArchivesSpace member institution. Registrations using personal email addresses and addresses associated with non-member institutions will not be accepted. After 48 hours, any remaining registrations will be made available to all ArchivesSpace users. In order to make training available to as many organizations and users as possible, registration will be limited to three (3) attendees per organization for virtual trainings. All community-wide virtual trainings will be recorded. These recordings will be made available via the ArchivesSpace website and YouTube channel. You do not need to register for the training to have access to the recordings. While this training does not assume any prior experience with ArchivesSpace, attendees are expected to have an understanding of archival workflows and terminology. Due to the large number of attendees, trainers will not be able to troubleshoot individual implementations of ArchivesSpace or provide additional archival instruction beyond the use of ArchivesSpace. Over the next year, the Trainers Corps will offer regularly scheduled workshops and office hours covering a variety of topics on all things ArchivesSpace. These virtual, community-wide trainings will be part of a 12-month pilot project by the Trainers Corps to assess community interest and training needs. Registration for each training will be separate and registration will open closer to each training date. Information about this training program is available at https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/2331148319/ArchivesSpace+Community-Wide+Virtual+Training. Jessica Dowd Crouch Community Engagement Coordinator for ArchivesSpace jessica.crouch at lyrasis.org [page1image482511520] -------------- next part -------------- An HTML attachment was scrubbed... URL: From buschedw at msu.edu Mon Apr 19 12:03:51 2021 From: buschedw at msu.edu (Busch, Ed) Date: Mon, 19 Apr 2021 16:03:51 +0000 Subject: [Archivesspace_Users_Group] Should digital object file_uri field allow non URI data? In-Reply-To: References: <7CB4F8FD-7233-4D9D-BDB3-6B79B9CCEDCA@lyrasis.org> <4D17908D-83FF-46D0-ADEF-1EE3730AD912@msu.edu> Message-ID: Sorry, I thought the link was for something else. It?s embedded fine. I?m not sure what the right answer is; I want a link that works in the ASpace Public interface and works in the ASpace created Finding Aid PDF. ? Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Brian Hoffman Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Monday, April 19, 2021 at 11:57 AM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Should digital object file_uri field allow non URI data? Hmm. I am attaching the image again, please let me know if you still can?t see it: From: on behalf of "Busch, Ed" Reply-To: Archivesspace Users Group Date: Monday, April 19, 2021 at 11:53 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Should digital object file_uri field allow non URI data? I get an unable to access page. Maybe a screen shot. Ed Busch, MLIS Interim Head of University Archives and Historical Collections Electronic Records Archivist Conrad Hall, 943 Conrad Road, Room 101 East Lansing, MI 48824 517-884-6438 buschedw at msu.edu he/him/his From: on behalf of Brian Hoffman Reply-To: "archivesspace_users_group at lyralists.lyrasis.org" Date: Monday, April 19, 2021 at 11:50 AM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: [Archivesspace_Users_Group] Should digital object file_uri field allow non URI data? Hi, We have been trying to understand what to do about cases like the following: http://sandbox.archivesspace.org/digital_objects/2/edit#tree::digital_object_2 [cid:image001.png at 01D73514.0F917D10] As things are now, ArchivesSpace will allow a value like this, but various renderings and transformations will not work as expected. I am wondering if: 1. This is a legacy bug; the field should have originally validated values to ensure they were URIs 2. This is a presentation layer bug: non URIs should be allowed in the file_uri field, but HTML and PDF presentations need to accommodate that. 3. Everything is fine. Users should be able to put whatever they want in file_uri, but if they want it to present right they need to write a plugin. This isn?t an academic question, as this is currently happening with records created automatically by Preservica software. Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 95641 bytes Desc: image001.png URL: From sdm7g at virginia.edu Mon Apr 19 12:41:05 2021 From: sdm7g at virginia.edu (Majewski, Steven Dennis (sdm7g)) Date: Mon, 19 Apr 2021 16:41:05 +0000 Subject: [Archivesspace_Users_Group] Should digital object file_uri field allow non URI data? In-Reply-To: <7CB4F8FD-7233-4D9D-BDB3-6B79B9CCEDCA@lyrasis.org> References: <7CB4F8FD-7233-4D9D-BDB3-6B79B9CCEDCA@lyrasis.org> Message-ID: I would think ?A?, but that?s based on that the field is labeled ?File URI? so I expect something that looks like a URI, and the fact that some notes in ArchivesSpace are explicitly labeled as allowing mixed content, and that has made me assume that allowing mixed content is not the default. But I guess that would not rule out ?C? as the original intention. (Sometimes, if I assume something long enough, it turns into a rule in my head!) I would also note that where mixed content is allowed, it doesn?t appear to be validated, and I?m seeing a lot of examples in the wild of invalid EAD exported with missing end tags, undeclared namespaces and other issues that prevent parsing EAD exported from ArchivesSpace. We probably should add a validation step where mixed content is allowed to attempt to parse the note as an XML fragment, and not accept the edit if it fails. ( I?ve been meaning to get around to testing this to see if there are any side effects or spurious rejections from doing this. ) ? Steve. > On Apr 19, 2021, at 11:50 AM, Brian Hoffman wrote: > > Hi, > > We have been trying to understand what to do about cases like the following: > > http://sandbox.archivesspace.org/digital_objects/2/edit#tree::digital_object_2 > > > > As things are now, ArchivesSpace will allow a value like this, but various renderings and transformations will not work as expected. I am wondering if: > > This is a legacy bug; the field should have originally validated values to ensure they were URIs > This is a presentation layer bug: non URIs should be allowed in the file_uri field, but HTML and PDF presentations need to accommodate that. > Everything is fine. Users should be able to put whatever they want in file_uri, but if they want it to present right they need to write a plugin. > > This isn?t an academic question, as this is currently happening with records created automatically by Preservica software. > > Brian > _______________________________________________ > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3342 bytes Desc: not available URL: From andrew.morrison at bodleian.ox.ac.uk Mon Apr 19 13:26:14 2021 From: andrew.morrison at bodleian.ox.ac.uk (Andrew Morrison) Date: Mon, 19 Apr 2021 18:26:14 +0100 Subject: [Archivesspace_Users_Group] Should digital object file_uri field allow non URI data? In-Reply-To: References: <7CB4F8FD-7233-4D9D-BDB3-6B79B9CCEDCA@lyrasis.org> Message-ID: <61b600d4-de37-622c-903b-5f627df175a9@bodleian.ox.ac.uk> Option A, because anything but a URI would create invalid EAD if exported or requested via OAI-PMH. Andrew. On 19/04/2021 17:41, Majewski, Steven Dennis (sdm7g) wrote: > > I would think ?A?, but that?s based on that the field is labeled ?File > URI? so I expect something that looks like a URI, and the fact that > some notes in ArchivesSpace are explicitly labeled as allowing mixed > content, and that has made me assume that allowing mixed content is > not the default. But I guess that would not rule out ?C? as the > original intention. > > (Sometimes, if I assume something long enough, it turns into a rule in > my head!) > > I would also note that where mixed content is allowed, it doesn?t > appear to be validated, and I?m seeing a lot of examples in the wild > of invalid EAD exported with missing end tags, undeclared namespaces > and other issues that prevent parsing EAD exported from ArchivesSpace. > We probably should add a validation step where mixed content is > allowed to attempt to parse the note as an XML fragment, and not > accept the edit if it fails. ( I?ve been meaning to get around to > testing this to see if there are any side effects or spurious > rejections from doing this. ) > > ? Steve. > >> On Apr 19, 2021, at 11:50 AM, Brian Hoffman >> > wrote: >> >> Hi, >> We have been trying to understand what to do about cases like the >> following: >> http://sandbox.archivesspace.org/digital_objects/2/edit#tree::digital_object_2 >> >> >> As things are now, ArchivesSpace will allow a value like this, but >> various renderings and transformations will not work as expected. I >> am wondering if: >> >> 1. This is a legacy bug; the field should have originally validated >> values to ensure they were URIs >> 2. This is a presentation layer bug: non URIs should be allowed in >> the file_uri field, but HTML and PDF presentations need to >> accommodate that. >> 3. Everything is fine. Users should be able to put whatever they >> want in file_uri, but if they want it to present right they need >> to write a plugin. >> >> This isn?t an academic question, as this is currently happening with >> records created automatically by Preservica software. >> Brian >> _______________________________________________ >> Archivesspace_Users_Group mailing list >> Archivesspace_Users_Group at lyralists.lyrasis.org >> >> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group >> > > > _______________________________________________ > 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: From gordon_daines at byu.edu Mon Apr 19 18:50:19 2021 From: gordon_daines at byu.edu (Gordon Daines) Date: Mon, 19 Apr 2021 22:50:19 +0000 Subject: [Archivesspace_Users_Group] Nominations Requested for ArchivesSpace Governance Board In-Reply-To: References: Message-ID: If you are interested in the opportunity to serve on the Governance Board representing either the Small or Very Large membership levels or in nominating a colleague, this Friday is the last day for nominations. Gordon Daines From: Gordon Daines Sent: Tuesday, March 16, 2021 1:21 PM To: 'Archivesspace_Users_Group at lyralists.lyrasis.org' >; Archivesspace_member_reps at lyralists.lyrasis.org; archivesspace_tac at lyralists.lyrasis.org; archivesspace_uac at lyralists.lyrasis.org; archivesspace_small_archives_users_group at lyralists.lyrasis.org; ArchivesSpace Board of Trustees mail list > Subject: Nominations Requested for ArchivesSpace Governance Board As chair of the 2021 ArchivesSpace Nominating Committee, I seek your nominations of candidates to stand for election for the ArchivesSpace Governance Board representing the Small and Very Large membership levels. The Governance Board is charged with providing oversight for the ArchivesSpace application and community, including fiscal oversight, the approval of development priorities, and oversight of the Technical and User Advisory councils. We are seeking two candidates for the Small level and one candidate for the Very Large level. (The current incumbent at the Very Large membership level is running for re-election as representative.) The terms for all successful candidates will be July 1, 2021-June 30, 2024. Each newly elected member representative will be eligible to run for a second term, July 1, 2024-June 30, 2027. Governance Board nominees must be currently employed by an ArchivesSpace member organization in either the Small or Very Large member levels (see the member lists at: http://archivesspace.org/community/whos-using-archivesspace/). A variety of skills, interests, and experience can be useful in furthering the Board's mission, but nominees should ideally have administrative and fiscal oversight experience. As the community for a software application used in many different settings, we seek diverse voices in working to improve ArchivesSpace and support those who use or may benefit from using it. We especially encourage Black, Indigenous, and People of Color, and others currently less represented in our governance groups to consider joining us in these important leadership roles. To submit nominations, including self-nominations, please submit this form at https://forms.gle/m2nN49M34CPgnvci9. Nominees who confirm their interest in standing for election will be requested to supply a formal candidate statement outlining their qualifications for serving on the ArchivesSpace Governance Board (see: http://archivesspace.org/about/governance-board-and-councils/). The Nominating Committee will review all nominations and confirm a slate of nominees with the current Governance Board. An election ballot will be circulated to member institutions in mid-May. Nominations must be received by 9:00 p.m. EDT on Friday April 23rd. Please contact Christine Di Bella, ArchivesSpace Program Manager, at christine.dibella at lyrasis.org or any member of the Nominating Committee with questions. Thank you for your participation in this important process, which is an essential part of our identity and operations as a community-based software organization. Respectfully, J. Gordon Daines III Brigham Young University Chair, and Governance Board member On behalf of Nominating Committee members: Brittany Newberry, Robert W. Woodruff Library, Atlanta University Center, Chair of User Advisory Council Trevor Thornton, North Carolina State University, Chair of Technical Advisory Council Zach Johnson, Vanderbilt University, representing very large membership level Jacky Johnson, Miami University, representing large membership level Heidi Buchanan, West Carolina University, representing medium membership level Patricia Burdick, Colby College, representing small membership level Yue Ma, Museum of Chinese in America, representing very small membership level Christine Di Bella (ArchivesSpace Program Manager), ex officio _______________________________________ J. Gordon Daines III Curator of Research and Instruction Services Curator of the Yellowstone National Park collection 1130 HBLL Brigham Young University Provo, UT 84602 801-422-5821 gordon_daines at byu.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From gordon_daines at byu.edu Mon Apr 19 18:50:36 2021 From: gordon_daines at byu.edu (Gordon Daines) Date: Mon, 19 Apr 2021 22:50:36 +0000 Subject: [Archivesspace_Users_Group] Nominations Requested for ArchivesSpace Technical Advisory Council In-Reply-To: References: Message-ID: This is a gentle reminder to consider participating in ArchivesSpace governance-nominate yourself or a colleague. The deadline for nominations is this Friday April 23rd. From: Gordon Daines Sent: Tuesday, March 16, 2021 1:21 PM To: 'Archivesspace_Users_Group at lyralists.lyrasis.org' >; Archivesspace_member_reps at lyralists.lyrasis.org; archivesspace_tac at lyralists.lyrasis.org; archivesspace_uac at lyralists.lyrasis.org; archivesspace_small_archives_users_group at lyralists.lyrasis.org; ArchivesSpace Board of Trustees mail list > Subject: Nominations Requested for ArchivesSpace Technical Advisory Council The ArchivesSpace Governance Board is seeking nominations to fill up to three (3) vacancies on the ArchivesSpace Technical Advisory Council (TAC). The Technical Advisory Council (https://archivesspace.org/governance-board-and-councils#TAC) is a critical part of the ArchivesSpace community, having responsibility for providing technical guidance to individuals or organizations contributing to application development, to the User Advisory Council, and to the ArchivesSpace Governance Board. TAC's current activities include: * Reviewing enhancements and priorities and testing in collaboration with the User Advisory Council. * Providing support for migrating data to ArchivesSpace from other systems and support for importing and exporting data in formats such as EAD, MARCXML, and CSV. * Documenting the metadata standards used by ArchivesSpace and monitoring the standards landscape. * Identifying integration points for ArchivesSpace with other systems (e.g. digital asset management systems, patron and request management systems, etc.), creating resources to assist the community with integration work and, for specific integrations, developing technical requirements. * Maintaining and updating technical documentation, including documentation of the API. * Providing support and resources to help develop a community of code committers. Nominees should preferably be presently employed at an ArchivesSpace member institution (please refer to the member list at: http://archivesspace.org/community/whos-using-archivesspace/) or employees of a current Registered Service Provider (see: http://archivesspace.org/registered-service-providers/current-rsps/). Nominations from non-member institutions will be considered based on their expertise and ability to contribute to the TAC. As the community for a software application used in many different settings, we seek diverse voices in working to improve ArchivesSpace and support those who use or may benefit from using it. We especially encourage Black, Indigenous, and People of Color, and others currently less represented in our governance groups to consider joining us in these important leadership roles. The anticipated time commitment for each appointee is expected to be two hours per week on average. The term of service will be July 1, 2021-June 30, 2024. To nominate a candidate for the ArchivesSpace Technical Advisory Council, please submit this form at https://forms.gle/m2nN49M34CPgnvci9. The Nominating Committee will review all nominations and recommend appointments to the Governance Board for approval. Nominations must be received by 9:00 p.m. EDT on Friday April 23rd. Please contact Christine Di Bella, ArchivesSpace Program Manager, at christine.dibella at lyrasis.org or any member of the Nominating Committee with questions. Thank you for your participation in this important process, which is an essential part of our identity and operations as a community-based software organization. Respectfully, J. Gordon Daines III Brigham Young University Chair, and Governance Board member On behalf of Nominating Committee members: Brittany Newberry, Robert W. Woodruff Library, Atlanta University Center, Chair of User Advisory Council Trevor Thornton, North Carolina State University, Chair of Technical Advisory Council Zach Johnson, Vanderbilt University, representing very large membership level Jacky Johnson, Miami University, representing large membership level Heidi Buchanan, West Carolina University, representing medium membership level Patricia Burdick, Colby College, representing small membership level Yue Ma, Museum of Chinese in America, representing very small membership level Christine Di Bella (ArchivesSpace Program Manager), ex officio _______________________________________ J. Gordon Daines III Curator of Research and Instruction Services Curator of the Yellowstone National Park collection 1130 HBLL Brigham Young University Provo, UT 84602 801-422-5821 gordon_daines at byu.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From gordon_daines at byu.edu Mon Apr 19 18:50:51 2021 From: gordon_daines at byu.edu (Gordon Daines) Date: Mon, 19 Apr 2021 22:50:51 +0000 Subject: [Archivesspace_Users_Group] Nominations Requested for ArchivesSpace User Advisory Council In-Reply-To: References: Message-ID: This is a gentle reminder to consider participating in ArchivesSpace governance-nominate yourself or a colleague. The deadline for nominations is this Friday April 23rd. From: Gordon Daines Sent: Tuesday, March 16, 2021 1:21 PM To: 'Archivesspace_Users_Group at lyralists.lyrasis.org' >; Archivesspace_member_reps at lyralists.lyrasis.org; archivesspace_tac at lyralists.lyrasis.org; archivesspace_uac at lyralists.lyrasis.org; archivesspace_small_archives_users_group at lyralists.lyrasis.org; ArchivesSpace Board of Trustees mail list > Subject: Nominations Requested for ArchivesSpace User Advisory Council The ArchivesSpace Governance Board is seeking nominations to fill up to three (3) vacancies on the ArchivesSpace User Advisory Council (UAC). The User Advisory Council (https://archivesspace.org/governance-board-and-councils#UAC) is a critical part of the ArchivesSpace community, serving as a communication conduit between ArchivesSpace governance groups and ArchivesSpace users. Some of the activities UAC is currently engaged in are: * Advising the ArchivesSpace Governance Board and the ArchivesSpace Organizational Home on the design and delivery of services, such as community engagement and support services, technical support, and training. * As a joint representative of the Development Prioritization subteam, discussing and voting on ideas for software enhancements and improvements. * As a joint representative of the Testing subteam, conducting user-centered testing of the application prior to releases and conduct ongoing usability studies as needed. * Liaising with national and regional archives organizations. * Maintaining and updating user documentation. * Advocating on the usability and functionality of the software program to facilitate adoption of the program. Nominees should be presently employed at an ArchivesSpace member institution (please refer to the categorized member list at: http://archivesspace.org/community/whos-using-archivesspace/). As the community for a software application used in many different settings, we seek diverse voices in working to improve ArchivesSpace and support those who use or may benefit from using it. We especially encourage Black, Indigenous, and People of Color, and others currently less represented in our governance groups to consider joining us in these important leadership roles. The anticipated time commitment for each appointee is expected to be two hours per week on average. The term of service will be July 1, 2021-June 30, 2024. To nominate a candidate for the ArchivesSpace User Advisory Council, please submit this form at https://forms.gle/m2nN49M34CPgnvci9. The Nominating Committee will review all nominations and recommend appointments to the Governance Board for approval. Nominations must be received by 9:00 p.m. EDT on Friday April 23rd. Please contact Christine Di Bella, ArchivesSpace Program Manager, at christine.dibella at lyrasis.org or any member of the Nominating Committee with questions. Thank you for your participation in this important process, which is an essential part of our identity and operations as a community-based software organization. Respectfully, J. Gordon Daines III Brigham Young University Chair, and Governance Board member On behalf of Nominating Committee members: Brittany Newberry, Robert W. Woodruff Library, Atlanta University Center, Chair of User Advisory Council Trevor Thornton, North Carolina State University, Chair of Technical Advisory Council Zach Johnson, Vanderbilt University, representing very large membership level Jacky Johnson, Miami University, representing large membership level Heidi Buchanan, West Carolina University, representing medium membership level Patricia Burdick, Colby College, representing small membership level Yue Ma, Museum of Chinese in America, representing very small membership level Christine Di Bella (ArchivesSpace Program Manager), ex officio _______________________________________ J. Gordon Daines III Curator of Research and Instruction Services Curator of the Yellowstone National Park collection 1130 HBLL Brigham Young University Provo, UT 84602 801-422-5821 gordon_daines at byu.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian.hoffman at lyrasis.org Tue Apr 20 09:02:16 2021 From: brian.hoffman at lyrasis.org (Brian Hoffman) Date: Tue, 20 Apr 2021 13:02:16 +0000 Subject: [Archivesspace_Users_Group] Should digital object file_uri field allow non URI data? In-Reply-To: <61b600d4-de37-622c-903b-5f627df175a9@bodleian.ox.ac.uk> References: <7CB4F8FD-7233-4D9D-BDB3-6B79B9CCEDCA@lyrasis.org> <61b600d4-de37-622c-903b-5f627df175a9@bodleian.ox.ac.uk> Message-ID: Thanks for the feedback. I am inclined to think ?A? as well, though implementing a validation at this point seems counterproductive since it make existing databases with markup / mixed content in there more problematic. From: on behalf of Andrew Morrison Reply-To: Archivesspace Users Group Date: Monday, April 19, 2021 at 1:26 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: Re: [Archivesspace_Users_Group] Should digital object file_uri field allow non URI data? Option A, because anything but a URI would create invalid EAD if exported or requested via OAI-PMH. Andrew. On 19/04/2021 17:41, Majewski, Steven Dennis (sdm7g) wrote: I would think ?A?, but that?s based on that the field is labeled ?File URI? so I expect something that looks like a URI, and the fact that some notes in ArchivesSpace are explicitly labeled as allowing mixed content, and that has made me assume that allowing mixed content is not the default. But I guess that would not rule out ?C? as the original intention. (Sometimes, if I assume something long enough, it turns into a rule in my head!) I would also note that where mixed content is allowed, it doesn?t appear to be validated, and I?m seeing a lot of examples in the wild of invalid EAD exported with missing end tags, undeclared namespaces and other issues that prevent parsing EAD exported from ArchivesSpace. We probably should add a validation step where mixed content is allowed to attempt to parse the note as an XML fragment, and not accept the edit if it fails. ( I?ve been meaning to get around to testing this to see if there are any side effects or spurious rejections from doing this. ) ? Steve. On Apr 19, 2021, at 11:50 AM, Brian Hoffman > wrote: Hi, We have been trying to understand what to do about cases like the following: http://sandbox.archivesspace.org/digital_objects/2/edit#tree::digital_object_2 As things are now, ArchivesSpace will allow a value like this, but various renderings and transformations will not work as expected. I am wondering if: 1. This is a legacy bug; the field should have originally validated values to ensure they were URIs 2. This is a presentation layer bug: non URIs should be allowed in the file_uri field, but HTML and PDF presentations need to accommodate that. 3. Everything is fine. Users should be able to put whatever they want in file_uri, but if they want it to present right they need to write a plugin. This isn?t an academic question, as this is currently happening with records created automatically by Preservica software. Brian _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group _______________________________________________ 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: From christine.dibella at lyrasis.org Tue Apr 20 09:14:47 2021 From: christine.dibella at lyrasis.org (Christine Di Bella) Date: Tue, 20 Apr 2021 13:14:47 +0000 Subject: [Archivesspace_Users_Group] release candidate available - ArchivesSpace v3.0.0-RC2 Message-ID: Hello ArchivesSpace members, The ArchivesSpace team is pleased to announce a release candidate, v3.0.0-RC2. You can download it at https://github.com/archivesspace/archivesspace/releases/tag/v3.0.0-RC2 or test it out without downloading at http://test.archivesspace.org/staff (username admin /password admin). We have put out a second release candidate because a good deal of code has gone into our main branch since the release of the first release candidate. While some consists of improvements to the agents work that is the focus of v3.0.0, there have also been additional contributions from community developers and substantial work from the program team developers. One of the community contributions I wanted to note is a new spreadsheet import feature from developers and archivists at Harvard University, focused on adding top containers and associated information to existing archival objects. With this feature, a user will download a file of archival objects for a resource, add top container information outside the application, and then import the information into the resource record, from the Load via Spreadsheet area. Some draft documentation for this feature written by Harvard Staff is available at https://docs.google.com/document/d/10poB5BDwgEWGYwrfLgkfy_sOjkhmbvStDat_BIm6ucw/edit?usp=sharing. Please feel free to leave feedback on the documentation. Also included in the community contributions are a range of performance, backend and staff interface improvements courtesy of work Hudson Molonglo developers James Bullen, Mark Triggs, and Payten Giles did for Queensland State Archives as part of a larger project. The core of this release candidate centers around changes to the agents module of ArchivesSpace to make it more standards-compliant with EAC-CPF and the MARCXML format for authority data, enabling deeper and richer description of people, families, and corporate entities, their relationships to each other and their relationships to materials held outside ArchivesSpace. This work is the result of a community specification written through the participation of many users across the ArchivesSpace community, mostly notably Cory Nimer, Sue Luftschein, and Brad Westbrook. Through this work new fields and sub-records have been added to the agents schema, and staff and public interface views, imports, exports, and auxiliary functionality like agent merging have all been updated. There is also a new Light mode for agents, which provides the option for users to continue to work with agent records in the staff interface in a pared down view that is similar to that of ArchivesSpace versions prior to this one. Thanks to the many community members who made contributions as we worked on bringing this expanded functionality to ArchivesSpace, including both individual archives staff and developers and our Testing and User Documentation sub-teams. Please try this release candidate out and let us know at ArchivesSpaceHome at lyrasis.org by April 27 if you notice any problems with the specific areas addressed in this release, or if anything that was working before no longer is. We are aiming to release 3.0.0 by the end of the month. Please get in touch if you have any questions. Thanks as always for your feedback and support. Christine Christine Di Bella ArchivesSpace Program Manager christine.dibella at lyrasis.org 800.999.8558 x2905 678-235-2905 [ASpaceOrgHomeMedium] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 13904 bytes Desc: image001.jpg URL: From Jessica.Crouch at lyrasis.org Tue Apr 20 10:56:09 2021 From: Jessica.Crouch at lyrasis.org (Jessica Crouch) Date: Tue, 20 Apr 2021 14:56:09 +0000 Subject: [Archivesspace_Users_Group] New blog post highlighting current ArchivesSpace Advisory Council Members Message-ID: <47F875EC-B378-4F12-8964-FDFA352610F9@lyrasis.org> [Sent on behalf of the ArchivesSpace User and Technical Advisory Councils] Dear ArchivesSpace Members, Leaders of the ArchivesSpace Technical and User Advisory Councils are pleased to announce the final blog in our series featuring various members of the councils. Throughout the month, we shared profiles of members from both councils. Through this series, we hope you?ve learned more about the work of the councils and will consider nominating yourself and/or colleagues for the councils. Check out the last group of the series: https://archivesspace.org/archives/6888 Learn more about the councils: https://archivesspace.org/governance-board-and-councils Interested in nominating yourself and/or a colleague for one of the councils? Use the form below. The deadline to submit is April 23. To nominate yourself or someone else, visit: https://forms.gle/m2nN49M34CPgnvci9 Best, Jessica Dowd Crouch Community Engagement Coordinator for ArchivesSpace jessica.crouch at lyrasis.org [page1image482511520] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 29063 bytes Desc: image001.jpg URL: From learle at library.rochester.edu Tue Apr 20 18:01:54 2021 From: learle at library.rochester.edu (Earle, Lev) Date: Tue, 20 Apr 2021 22:01:54 +0000 Subject: [Archivesspace_Users_Group] [EXT] Re: AS PUI displaying unpublished content In-Reply-To: <715f250a-a024-ca48-a501-6fbfa6b98799@bodleian.ox.ac.uk> References: <715f250a-a024-ca48-a501-6fbfa6b98799@bodleian.ox.ac.uk> Message-ID: Hello everyone, I wanted to send an update in case anyone else has been having this issue. The re-indexing did indeed work; it was also revealed during the review that there were a number of accession reports which had been published at some point, and these were still visible. This isn't part of our procedure, and we're uncertain exactly how it happened, but there are only a few hundred of them. We've turned off the PUI for now and are working on how to programmatically unpublish them, and make sure no accession reports are published through to the PUI. Thanks again Andrew et al for your help! Cheers, -Lev. ___________________________ Lev Earle Special Collections Processing Archivist - RBSCP University of Rochester River Campus Libraries they/them pronouns From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Andrew Morrison Sent: Tuesday, April 6, 2021 5:00 AM To: archivesspace_users_group at lyralists.lyrasis.org Subject: Re: [Archivesspace_Users_Group] [EXT] Re: AS PUI displaying unpublished content Have you tried re-indexing since switching on the public user interface? Andrew. On 05/04/2021 23:54, Earle, Lev wrote: Hi Mark, Thanks for your response on this. Unfortunately, the publish/unpublish buttons in the staff interface aren't the source of the issue- the unpublished records do not have any "publish" boxes checked. I'd love it if it were that simple, haha. Additionally, we're running 2.5.1. We do have digital objects, but they're only linked to a few finding aids, all of which are published, so I don't think that should be causing the error, either... There doesn't seem to be any discrimination between what gets improperly displayed/published that would point to something linked causing the problem. Still, I'll review the workflow link you gave here with the tech folks and see if we can find something out. Thanks again! Cheers, -Lev. ___________________________ Lev Earle Special Collections Processing Archivist - RBSCP University of Rochester River Campus Libraries they/them pronouns From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Custer, Mark Sent: Monday, April 5, 2021 6:09 PM To: archivesspace_users_group at lyralists.lyrasis.org Subject: [EXT] Re: [Archivesspace_Users_Group] AS PUI displaying unpublished content Lev, Accession records can be published or unpublished in the staff interface, and if the accession records are unpublished, then those records should not show up in the ArchivesSpace PUI. If I recall correctly, though, there was a bug in the initial release of the PUI in ASpace 2.1 that showed unpublished Accession records as linked records when linked to other published records, so perhaps that was occurring in your version? Also, it looks like there is still a bug for how linked records display if linked to a digital object record, as reported here: https://archivesspace.atlassian.net/browse/ANW-1207. We only have accession records linked to resource (or other accession) records, and in that case, the unpublished accessions do not show up in the PUI. That said, I have noticed that if you add a LOT of linked accessions to any one record, then that can also cause an issue: we have one miscellany collection that should have over 2,000 linked accession records, but we dropped that down considerably in the staff interface so that it wouldn't break the display for that resource record in the public interface. Ideally, we could link them all, but it's not a big hindrance since we record the call number for that resource record in all 2k accession records anyway -- so, the records can still be grouped that way for reporting. Last, this page is woefully out of date, but I'll add the link here since it includes a few helpful pointers, specifically about the importance or reviewing the use of the Publish? button, default settings, and other workflows that impact publication statuses if using the PUI: https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/103526318/PUI+pre-launch+checklist Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Earle, Lev > Sent: Monday, April 5, 2021 3:21 PM To: archivesspace_users_group at lyralists.lyrasis.org > Subject: [Archivesspace_Users_Group] AS PUI displaying unpublished content Hello everyone, Our department has recently been talking about moving from our in-house display code, which interacts between AS and our website, to use the AS-generated user view (PUI) instead. Currently we have the PUI turned off completely, as it was discovered somewhat inadvertently that the PUI was displaying not only resources, but unpublished records like accession reports. Is there some setting we missed? How do we configure the PUI to only display published materials? Seems a very basic question but I think there was so much panic when it was discovered that we just elected to shut the whole thing down, since we weren't using it then anyway. I don't have a lot of the technical details on our instance, but if anyone needs more information to be able advise us, let me know and I can relay questions to our tech folks. Many cheers, -Lev Earle. ___________________________ Special Collections Processing Archivist Rare Books, Special Collections, and Preservation University of Rochester River Campus Libraries they/them pronouns _______________________________________________ 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: From Jessica.Crouch at lyrasis.org Wed Apr 21 12:00:39 2021 From: Jessica.Crouch at lyrasis.org (Jessica Crouch) Date: Wed, 21 Apr 2021 16:00:39 +0000 Subject: [Archivesspace_Users_Group] Registration now open: Four-session Virtual ArchivesSpace Basics Workshop on May 11, 13, 18 and 21, 2021 In-Reply-To: <83F60CD9-F63D-42B2-B820-D0CA77BFB3D9@lyrasis.org> References: <83F60CD9-F63D-42B2-B820-D0CA77BFB3D9@lyrasis.org> Message-ID: <1B6F8F48-17E8-4855-8805-CE2FCA8197EE@lyrasis.org> Dear ArchivesSpace users, Registration is now open for a four-session Virtual ArchivesSpace Basics Workshop on May 11, 13, 18 and 21, 2021 from 12:00pm-2:30pm ET/9:00am-11:30am PT. During this workshop, trainers from the ArchivesSpace Trainers Corps will cover some of the most frequently used areas of the ArchivesSpace application. Attendees are expected to attend all 4 sessions since each session will build on the lessons learned in the session before. A copy of the agenda is linked below. ArchivesSpace Basics Training - 4 sessions (agenda) Date: May 11, 13, 18, 20, 2021 Time: 12:00pm-2:30pm ET / 9:00am-11:30pm PT Trainers: Nancy Enneking (Getty) and Noah Huffman (Duke University) Registration: https://lyrasis.zoom.us/webinar/register/WN_Dm-UQQW2Tb-Rpbo5UZVd2w Anyone using ArchivesSpace may register for this training but in order to make training available to as many organizations and users as possible, registration will be limited to three (3) attendees per organization for virtual trainings. All community-wide virtual trainings will be recorded. These recordings will be made available via the ArchivesSpace website and YouTube channel. You do not need to register for the training to have access to the recordings. While this training does not assume any prior experience with ArchivesSpace, attendees are expected to have an understanding of archival workflows and terminology. Due to the large number of attendees, trainers will not be able to troubleshoot individual implementations of ArchivesSpace or provide additional archival instruction beyond the use of ArchivesSpace. Over the next year, the Trainers Corps will offer regularly scheduled workshops and office hours covering a variety of topics on all things ArchivesSpace. These virtual, community-wide trainings will be part of a 12-month pilot project by the Trainers Corps to assess community interest and training needs. Registration for each training will be separate and registration will open closer to each training date. Information about this training program is available at https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/2331148319/ArchivesSpace+Community-Wide+Virtual+Training. Jessica Dowd Crouch Community Engagement Coordinator for ArchivesSpace jessica.crouch at lyrasis.org [page1image482511520] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 29062 bytes Desc: image001.jpg URL: From christine.dibella at lyrasis.org Wed Apr 21 12:50:34 2021 From: christine.dibella at lyrasis.org (Christine Di Bella) Date: Wed, 21 Apr 2021 16:50:34 +0000 Subject: [Archivesspace_Users_Group] mail being rejected from ArchivesSpace listservs Message-ID: Hello ArchivesSpace members, We've been informed that some email systems are rejecting emails from the ArchivesSpace Users Group. Assuming that if you're here you want to receive these messages, if you go awhile without receiving mail from this listserv or other ArchivesSpace listservs to which you're subscribed, please be sure that it's not getting delivered to spam or being blocked by your local system. The From line on a Users Group message is archivesspace_users_group-bounces at lyralists.lyrasis.org "on behalf of" a specific user, with their email listed as well. When sending a message to the listserv, the address is archivesspace_users_group at lyralists.lyrasis.org. Our other listservs follow a similar pattern. In some cases, messages being blocked by an account leads to a situation where the account is presumed not to be valid and unsubscribed from the listserv automatically. Please check your subscription settings as well if you are not receiving mail. Please note that the archives of the Users Group listserv is at http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/ so you'll always be able to catch up with what you've missed if you find yourself in this situation. Christine Christine Di Bella ArchivesSpace Program Manager christine.dibella at lyrasis.org 800.999.8558 x2905 678-235-2905 [ASpaceOrgHomeMedium] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 13904 bytes Desc: image001.jpg URL: From Jessica.Crouch at lyrasis.org Thu Apr 22 10:10:47 2021 From: Jessica.Crouch at lyrasis.org (Jessica Crouch) Date: Thu, 22 Apr 2021 14:10:47 +0000 Subject: [Archivesspace_Users_Group] Webinar Announcement: Managing AV Materials in ArchivesSpace Message-ID: <5613A117-F969-4978-98C2-8E15885607C0@lyrasis.org> When: May 19, 2021 Time: 2:00 p.m. ? 3:00 p.m. ET (11:00 a.m. ? 12:00pm PT) Where: Zoom Registration: https://lyrasis.zoom.us/webinar/register/WN_Zp3vy-SZQTeWZV6qI_gh5Q This webinar will be recorded and made available on the ArchivesSpace YouTube channel. Webinar description: In this webinar, archivists working with audiovisual materials and ArchivesSpace will discuss how their shared experiences have led them to help and bolster one another?s work in ArchivesSpace and in managing audio visual materials. They?ll discuss the specific projects they have worked on to describe audio visual materials in ArchivesSpace. First, Siobhan Hagan of the Mid-Atlantic Regional Moving Image Archive (MARMIA) will discuss the work of the Association of Moving Image Archivists?s Regional Audiovisual Archives Committee overall and how this work has led to collaborative working relationships across the group. Next, Megan McShea will speak about her work creating the Archives of American Art?s Guidelines to Processing Collections with Audiovisual Material, and then how her perspective changed while working with MARMIA?s massive WJZ-TV Collection, where they are using ArchivesSpace to transform their inherited Word document videotape inventories into searchable, actionable collection description. Then, Jamie Marie Wagner of University of Colorado Boulder Libraries will speak about how she adapted the Guidelines to Processing Collections with Audiovisual Material for her institution, plus some specific challenges they have come across and tips and tricks for others. Finally, Hannah Wiatt Davis of Florida State University Libraries will speak about the process of migrating to ArchivesSpace, the subsequent cleanup of data, and their initial experimentations with the Assessment Module for AV materials. A Q&A will follow all presentations. Presenter Information: Siobhan C. Hagan holds her M.A. in Moving Image Archiving and Preservation (MIAP) from NYU?s Tisch School of the Arts and has worked in a variety of collecting organizations throughout her career, including the UCLA Library, the National Aquarium, and the Smithsonian Institute. She is currently the Project Manager of the Memory Lab Network at the DC Public Library and is the Founder and CEO of the Mid-Atlantic Regional Moving Image Archive (MARMIA). She has been active as a member of the Association of Moving Image Archivists (AMIA): she is currently co-chair of the Local TV Task Force, co-chair of the Regional Audio-Visual Archives Committee, is a member of the Election Committee, and was an AMIA Director of the Board from 2015-2017. Megan McShea is an independent archivist in Baltimore, MD, currently focused on community archives, audiovisual archives, digitization planning, and digital asset management. Prior to that, she was the Audiovisual Archivist at the Archives of American Art, Smithsonian Institution. She is the author of AAA's Guidelines to Processing Collections with Audiovisual Material, and teaches the workshop Arrangement and Description of Audiovisual Materials for the Society of American Archivists. She currently serves on the board of the Mid-Atlantic Regional Moving Image Archive. Jamie Marie Wagner is the first dedicated Moving Image Archivist in the University of Colorado Boulder Libraries? Rare and Distinctive Collections. Since 2019, she has overseen the Libraries? archival film and video material, as well as collections related to Colorado media history and American experimental filmmaking. She holds an MA in Film and MLIS from the University of Wisconsin-Madison. She is currently the Rocky Mountain area representative to the AMIA Regional Audio-Visual Archives Committee and Continuing Education Coordinator for the Society of Rocky Mountain Archivists. Hannah Wiatt Davis is the Preservation Librarian at Florida State University Libraries, where she leads and directs collection management and preservation efforts in the Special Collections & Archives division. She also serves as the ArchivesSpace Technical Lead for FSU's six repositories, and is a founding member and chair of the Society of Florida Archivists ArchivesSpace Working Group. Who should attend: Anyone using or interested in using ArchivesSpace to manage their AV materials. Jessica Dowd Crouch Community Engagement Coordinator for ArchivesSpace jessica.crouch at lyrasis.org [page1image482511520] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 29061 bytes Desc: image001.jpg URL: From baileys at ou.edu Thu Apr 22 10:52:44 2021 From: baileys at ou.edu (Hoffner, Bailey E.) Date: Thu, 22 Apr 2021 14:52:44 +0000 Subject: [Archivesspace_Users_Group] Changing Main PUI Search from OR to AND Message-ID: <56B763AB-B670-4EC7-8FDD-62B592EE3317@ou.edu> Morning All, I know I?ve seen conversations about this before, but because I can?t think of the appropriate technical terminology, I haven?t been able to easily locate those convos in the listserv archive. We are interested in changing the automatic search function on the PUI from using ?or? between search terms, to using ?and.? Any help appreciated (including just pointing me to previous convos I wasn?t able to locate ?). -Bailey Bailey Hoffner, MLIS Pronouns: she/her/hers Metadata and Collections Management Archivist University of Oklahoma Libraries baileys at ou.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jessica.Crouch at lyrasis.org Fri Apr 23 09:36:06 2021 From: Jessica.Crouch at lyrasis.org (Jessica Crouch) Date: Fri, 23 Apr 2021 13:36:06 +0000 Subject: [Archivesspace_Users_Group] Apply now for the ArchivesSpace Member Match program In-Reply-To: <13E0F12C-9F5C-4F67-B3F9-12587671683E@lyrasis.org> References: <13E0F12C-9F5C-4F67-B3F9-12587671683E@lyrasis.org> Message-ID: Dear ArchivesSpace Members, As a reminder, there is one week left to apply for the ArchivesSpace Member Match program. Applications are being accepted through April 30, 2021. The Member Match program is an initiative to engage the ArchivesSpace membership community, created and organized by the Member Engagement sub-team of the ArchivesSpace User Advisory Council, with support from the ArchivesSpace Community Engagement Coordinator. The program is intended to be a resource and venue for peer-to-peer support between ArchivesSpace members. For one, year-long term, participants will be matched with a member with whom they can receive and offer professional insight, advice, and comradery. The program will also offer participants the opportunity to engage in exclusive events and enlightening discussions about ArchivesSpace and its active user community. Eligibility Any individual affiliated with an ArchivesSpace member organization is eligible to participate in the ArchivesSpace Member Match program and there is no limit to the number of individuals from a member organization that may participate. If you are unsure of your organization?s ArchivesSpace membership status, visit https://archivesspace.org/community/whos-using-archivesspace or email ArchivesSpaceHome at lyrasis.org. To Apply There is a short application to complete at https://airtable.com/shr1nE3RWpR7Y78En. Applications should be submitted by April 30. Applicants will be notified of their matches no later than June 30. To Learn More Visit the Member Match wiki: https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/2198568994/ArchivesSpace+Member+Match+Program The ArchivesSpace Member Engagement Sub-team conducted an informational webinar on March 10th. You can find a link to the recording of this webinar on the Member Match wiki. Please feel free to direct any questions to ArchivesSpaceHome at lyrasis.org -Sent on behalf of the ArchivesSpace Member Engagement sub-team Kate Blalack, American Song Archive Regina Carra, American Folk Art Museum Bailey Hoffner, University of Oklahoma Ashley Knox, University of North Carolina Wilmington Brittany Newberry, Atlanta University Center and ArchivesSpace User Advisory Council Chair Jessica Crouch, ArchivesSpace Community Engagement Coordinator -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory_nimer at byu.edu Fri Apr 23 10:18:38 2021 From: cory_nimer at byu.edu (Cory Nimer) Date: Fri, 23 Apr 2021 14:18:38 +0000 Subject: [Archivesspace_Users_Group] [Archivesspace_uac] release candidate available - ArchivesSpace v3.0.0-RC2 In-Reply-To: References: Message-ID: Christine, When installing the release candidate our IT staff reports that they are encountering an error, as described below: I'm trying to get archivesspace v 3.0.0-RC2 running on our staging server. Everything seemed to install ok, and the server seems to start up ok (based on the log output), but when I try to bring up the public or staff website I get an error. I'm wondering if you could post something on the listserv or point me in the right direction to do it. I upgraded from v2.8.1 and followed the upgrade directions here: https://archivesspace.github.io/tech-docs/administration/upgrading.html Here's the error I get when I try to bring up the staff website (https://asadminstg.lib.byu.edu): Internal Server Error (500) Request Method: GET Request URL: http://asadminstg.lib.byu.edu/ Could not find rubyntlm-0.6.3 in any of the sources from /srv/archivesspace-3.0.0-rc2/archivesspace/gems/gems/bundler-2.1.4/lib/bundler/spec_set.rb:86:in `block in materialize' from org/jruby/RubyArray.java:2609:in `map!' from /srv/archivesspace-3.0.0-rc2/archivesspace/gems/gems/bundler-2.1.4/lib/bundler/spec_set.rb:80:in `materialize' from /srv/archivesspace-3.0.0-rc2/archivesspace/gems/gems/bundler-2.1.4/lib/bundler/definition.rb:170:in `specs' from /srv/archivesspace-3.0.0-rc2/archivesspace/gems/gems/bundler-2.1.4/lib/bundler/definition.rb:237:in `specs_for' from /srv/archivesspace-3.0.0-rc2/archivesspace/gems/gems/bundler-2.1.4/lib/bundler/definition.rb:226:in `requested_specs' from /srv/archivesspace-3.0.0-rc2/archivesspace/gems/gems/bundler-2.1.4/lib/bundler/runtime.rb:101:in `block in requested_specs' from /srv/archivesspace-3.0.0-rc2/archivesspace/gems/gems/bundler-2.1.4/lib/bundler/runtime.rb:20:in `setup' from /srv/archivesspace-3.0.0-rc2/archivesspace/gems/gems/bundler-2.1.4/lib/bundler.rb:149:in `setup' from /srv/archivesspace-3.0.0-rc2/archivesspace/gems/gems/bundler-2.1.4/lib/bundler/setup.rb:20:in `block in
' from /srv/archivesspace-3.0.0-rc2/archivesspace/gems/gems/bundler-2.1.4/lib/bundler/ui/shell.rb:136:in `with_level' from /srv/archivesspace-3.0.0-rc2/archivesspace/gems/gems/bundler-2.1.4/lib/bundler/ui/shell.rb:88:in `silence' from /srv/archivesspace-3.0.0-rc2/archivesspace/gems/gems/bundler-2.1.4/lib/bundler/setup.rb:20:in `
' from org/jruby/RubyKernel.java:974:in `require' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:130:in `require' from /srv/archivesspace-3.0.0-rc2/archivesspace/data/tmp/jetty-0.0.0.0-10080-frontend.war-_-any-/webapp/WEB-INF/config/boot.rb:10:in `
' from org/jruby/RubyKernel.java:974:in `require' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54:in `require' from uri:classloader:/jruby/rack/rails/environment3.rb:23:in `load_environment' from uri:classloader:/jruby/rack/rails_booter.rb:83:in `load_environment' from