Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content?

2021-04-02 Thread Busch, Ed
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
busch...@msu.edu<mailto:busch...@msu.edu>
he/him/his


From:  on behalf of 
"Majewski, Steven Dennis (sdm7g)" 
Reply-To: "archivesspace_users_group@lyralists.lyrasis.org" 

Date: Thursday, April 1, 2021 at 2:10 PM
To: "archivesspace_users_group@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
'mailto:busch...@msu.edu>> 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
busch...@msu.edu<mailto:busch...@msu.edu>
he/him/his


From: 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 on behalf of Brian Harrington 
mailto:brian.harring...@lyrasis.org>>
Reply-To: 
"archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>"
 
mailto:archivesspace_users_group@lyralists.lyrasis.org>>
Date: Thursday, April 1, 2021 at 12:37 PM
To: 
"archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>"
 
mailto:archivesspace_users_group@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:76e734ad9-75bc-4f06-a5a0-7aa458e39746Preservica
 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: 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 on behalf of "Busch, Ed" mailto:busch...@msu.edu>>
Reply-To: Archivesspace Users Group 
mailto:archivesspace_users_group@lyralists.lyrasis.org>>
Date: Thursday, April 1, 2021 at 11:43 AM
To: Archivesspace Users Group 
mailto:archivesspace_users_group@lyralists.lyrasis.org>>,
 Benn Joseph mailto:benn.jos...@northwestern.edu>>
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
busch...@msu.edu<mailto:busch...@msu.edu>
he/him/his


From: 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 on behalf of Benn Joseph 
mailto:benn.jos...@northwestern.edu>>
Reply-To: 
"archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>"
 
mailto:archivesspace_users_group@lyralists.lyrasis.org>>
Date: Thursday, April 1, 2021 at 11:35 AM
To: 
"archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>"
 
mailto:archivesspace_users_group@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 worki

Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content?

2021-04-01 Thread Brian Harrington
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:


  https://us.preservica.com/explorer/explorer.html#prop:76e734ad9-75bc-4f06-a5a0-7aa458e39746Preservica
 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
busch...@msu.edu<mailto:busch...@msu.edu>
he/him/his


From:  on behalf of 
Benn Joseph 
Reply-To: "archivesspace_users_group@lyralists.lyrasis.org" 

Date: Thursday, April 1, 2021 at 11:35 AM
To: "archivesspace_users_group@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-boun...@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
busch...@msu.edu<mailto:busch...@msu.edu>
he/him/his


From: 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 on behalf of "Majewski, Steven Dennis (sdm7g)" 
mailto:sd...@virginia.edu>>
Reply-To: 
"archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>"
 
mailto:archivesspace_users_group@lyralists.lyrasis.org>>
Date: Wednesday, March 31, 2021 at 4:06 PM
To: 
"archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>"
 
mailto:archivesspace_users_group@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%22%3EPreservica%20Internal%3C/a%3E<https://urldefense.com/v3/__http:/us.preservica.com/explorer/explorer.html*23prop:7*22*3EPreservica*20Internal*3C/a*3E__;JSUlJSUl!!Dq0X2DkFhyF93HkjWTBQKhk!Hsw2gQN-eCPFzzZjeib5S9arCzVMsBmBkrg8hTQhxrGU3eJZL3c_bBWC8WLwWbMb5NPCl5pt$>
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(PDFD

Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content?

2021-04-01 Thread Brian Harrington
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:76e734ad9-75bc-4f06-a5a0-7aa458e39746Preservica
 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
busch...@msu.edu<mailto:busch...@msu.edu>
he/him/his


From:  on behalf of 
Benn Joseph 
Reply-To: "archivesspace_users_group@lyralists.lyrasis.org" 

Date: Thursday, April 1, 2021 at 11:35 AM
To: "archivesspace_users_group@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-boun...@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
busch...@msu.edu<mailto:busch...@msu.edu>
he/him/his


From: 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 on behalf of "Majewski, Steven Dennis (sdm7g)" 
mailto:sd...@virginia.edu>>
Reply-To: 
"archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>"
 
mailto:archivesspace_users_group@lyralists.lyrasis.org>>
Date: Wednesday, March 31, 2021 at 4:06 PM
To: 
"archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>"
 
mailto:archivesspace_users_group@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%22%3EPreservica%20Internal%3C/a%3E<https://urldefense.com/v3/__http:/us.preservica.com/explorer/explorer.html*23prop:7*22*3EPreservica*20Internal*3C/a*3E__;JSUlJSUl!!Dq0X2DkFhyF93HkjWTBQKhk!Hsw2gQN-eCPFzzZjeib5S9arCzVMsBmBkrg8hTQhxrGU3eJZL3c_bBWC8WLwWbMb5NPCl5pt$>
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(Ab

Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content?

2021-04-01 Thread Majewski, Steven Dennis (sdm7g)
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/
>  
> <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/
>  
> <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
> busch...@msu.edu <mailto:busch...@msu.edu>
> he/him/his
>  
>  
> From:  on behalf of 
> Brian Harrington 
> Reply-To: "archivesspace_users_group@lyralists.lyrasis.org" 
> 
> Date: Thursday, April 1, 2021 at 12:37 PM
> To: "archivesspace_users_group@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:76e734ad9-75bc-4f06-a5a0-7aa458e39746Preservica
>  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
> busch...@msu.edu <mailto:busch...@msu.edu>
> he/him/his
>  
>  
> From:  on behalf of 
> Benn Joseph 
> Reply-To: "archivesspace_users_group@lyralists.lyrasis.org" 
> 
> Date: Thursday, April 1, 2021 at 11:35 AM
> To: "archivesspace_users_group@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-boun...@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
> busch...@msu.edu <mailto:busch...@msu.edu>
> he/him/his
>  
>  
> From:  <mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>> on behalf 
> of "Majewski, Steven Dennis (sdm7g)"  <mailto:sd...@virginia.edu>>
> Reply-To: "archivesspace_users_group@lyralists.lyrasis.org 
> <mailto:archivesspace_users_group@lyralists.lyrasis.org>" 
>  <mailto:archivesspace_users_group@lyralists.lyras

Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content?

2021-04-01 Thread Custer, Mark
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:

https://msu.access.preservica.com/archive/sdb%3AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmsu.access.preservica.com%2Farchive%2Fsdb%253AdeliverableUnit%257C723e8170-d799-4296-8591-2c3e8cf7ab2c%2F=04%7C01%7Cmark.custer%40yale.edu%7Cbdce459520ed4640386208d8f53520a3%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C637528955831810274%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000=LqJn4hc3yGubPnN3ynAFu1UuBNkRO0SgZGh8QkZ0KzA%3D=0>">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/<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmsu.access.preservica.com%2Farchive%2Fsdb%253AdeliverableUnit%257C723e8170-d799-4296-8591-2c3e8cf7ab2c%2F=04%7C01%7Cmark.custer%40yale.edu%7Cbdce459520ed4640386208d8f53520a3%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C637528955831810274%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000=LqJn4hc3yGubPnN3ynAFu1UuBNkRO0SgZGh8QkZ0KzA%3D=0>

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-boun...@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/<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmsu.access.preservica.com%2Farchive%2Fsdb%253AdeliverableUnit%257C723e8170-d799-4296-8591-2c3e8cf7ab2c%2F=04%7C01%7Cmark.custer%40yale.edu%7Cbdce459520ed4640386208d8f53520a3%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C637528955831810274%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000=LqJn4hc3yGubPnN3ynAFu1UuBNkRO0SgZGh8QkZ0KzA%3D=0>

If this is changed to 
https://msu.access.preservica.com/archive/sdb:AdeliverableUnit|723e8170-d799-4296-8591-2c3e8cf7ab2c/<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmsu.access.preservica.com%2Farchive%2Fsdb%3AAdeliverableUnit%257C723e8170-d799-4296-8591-2c3e8cf7ab2c%2F=04%7C01%7Cmark.custer%40yale.edu%7Cbdce459520ed4640386208d8f53520a3%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C637528955831810274%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000=e%2FwL0V6yCz2tXW9HeuMsw9s9RRYIq6EXiqyu48mh8ZM%3D=0>
 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

busch...@msu.edu<mailto:busch...@msu.edu>

he/him/his





From:  on behalf of 
Brian Harrington 
Reply-To: "archivesspace_users_group@lyralists.lyrasis.org" 

Date: Thursday, April 1, 2021 at 12:37 PM
To: "archivesspace_users_group@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:76e734ad9-75bc-4f06-a5a0-7aa458e39746Preservica
 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 va

Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content?

2021-04-01 Thread Busch, Ed
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
busch...@msu.edu<mailto:busch...@msu.edu>
he/him/his


From:  on behalf of 
Brian Harrington 
Reply-To: "archivesspace_users_group@lyralists.lyrasis.org" 

Date: Thursday, April 1, 2021 at 12:37 PM
To: "archivesspace_users_group@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:76e734ad9-75bc-4f06-a5a0-7aa458e39746Preservica
 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
busch...@msu.edu<mailto:busch...@msu.edu>
he/him/his


From:  on behalf of 
Benn Joseph 
Reply-To: "archivesspace_users_group@lyralists.lyrasis.org" 

Date: Thursday, April 1, 2021 at 11:35 AM
To: "archivesspace_users_group@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-boun...@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
busch...@msu.edu<mailto:busch...@msu.edu>
he/him/his


From: 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 on behalf of "Majewski, Steven Dennis (sdm7g)" 
mailto:sd...@virginia.edu>>
Reply-To: 
"archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>"
 
mailto:archivesspace_users_group@lyralists.lyrasis.org>>
Date: Wednesday, March 31, 2021 at 4:06 PM
To: 
"archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>"
 
mailto:archivesspace_users_group@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.IllegalSt

Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content?

2021-04-01 Thread Custer, Mark
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:

http://www.w3.org/1999/XSL/Transform; version="1.0" 
xmlns:xlink="http://www.w3.org/1999/xlink;>








http://www.w3.org/1999/xlink;>






From: archivesspace_users_group-boun...@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
busch...@msu.edu<mailto:busch...@msu.edu>
he/him/his


From: 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 on behalf of Benn Joseph 
mailto:benn.jos...@northwestern.edu>>
Reply-To: 
"archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>"
 
mailto:archivesspace_users_group@lyralists.lyrasis.org>>
Date: Thursday, April 1, 2021 at 11:35 AM
To: 
"archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>"
 
mailto:archivesspace_users_group@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-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>
 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 On Behalf Of Busch, Ed
Sent: Thursday, April 01, 2021 8:55 AM
To: Archivesspace Users Group 
mailto:archivesspace_users_group@lyralists.lyrasis.org>>
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
busch...@msu.edu<mailto:busch...@msu.edu>
he/him/his


From: 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 on behalf of "Majewski, Steven Dennis (sdm7g)" 
mailto:sd...@virginia.edu>>
Reply-To: 
"archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>"
 
mailto:archivesspace_users_group@lyralists.lyrasis.org>>
Date: Wednesday, March 31, 2021 at 4:06 PM
To: 
"archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>"
 
mailto:archivesspace_users_group@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=%22

Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content?

2021-04-01 Thread Benn Joseph
Hey Ed—can you share the EAD export for one that isn’t working?
--Benn

From: archivesspace_users_group-boun...@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
busch...@msu.edu<mailto:busch...@msu.edu>
he/him/his


From: 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 on behalf of "Majewski, Steven Dennis (sdm7g)" 
mailto:sd...@virginia.edu>>
Reply-To: 
"archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>"
 
mailto:archivesspace_users_group@lyralists.lyrasis.org>>
Date: Wednesday, March 31, 2021 at 4:06 PM
To: 
"archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>"
 
mailto:archivesspace_users_group@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%22%3EPreservica%20Internal%3C/a%3E<https://urldefense.com/v3/__http:/us.preservica.com/explorer/explorer.html*23prop:7*22*3EPreservica*20Internal*3C/a*3E__;JSUlJSUl!!Dq0X2DkFhyF93HkjWTBQKhk!Hsw2gQN-eCPFzzZjeib5S9arCzVMsBmBkrg8hTQhxrGU3eJZL3c_bBWC8WLwWbMb5NPCl5pt$>
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.XML

Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content?

2021-04-01 Thread Busch, Ed
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
busch...@msu.edu<mailto:busch...@msu.edu>
he/him/his


From:  on behalf of 
"Majewski, Steven Dennis (sdm7g)" 
Reply-To: "archivesspace_users_group@lyralists.lyrasis.org" 

Date: Wednesday, March 31, 2021 at 4:06 PM
To: "archivesspace_users_group@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%22%3EPreservica%20Internal%3C/a%3E<http://us.preservica.com/explorer/explorer.html%23prop:7%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: Il

Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content?

2021-03-31 Thread Majewski, Steven Dennis (sdm7g)
.(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:40a205486-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://us.preservica.com/explorer/explorer.html#prop:7de6cbfd3-5bdf-41d1-a313-e323698859f2Preservica
 Internal/a" xlink:role="Digital Preservation Staff System" 
xlink:type="locator"/>
  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 
> <https://us.preservica.com/explorer/explorer.html#prop:4>
>  
> <https://us.preservica.com/explorer/explorer.html#prop:4>
>  
> 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
> busch...@msu.edu <mailto:busch...@msu.edu>
> he/him/his
>  
>  
> From:  <mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>> on behalf 
> of "Benedett, Barbara"  <mailto:barbara.bened...@curtis.edu>>
> Reply-To: "archivesspace_users_group@lyralists.lyrasis.org 
> <mailto:archivesspace_users_group@lyralists.lyrasis.org>" 
>  <mailto:archivesspace_users_group@lyralists.lyrasis.org>>
> Date: Wednesday, March 31, 2021 at 1:59 PM
> To: "archivesspace_users_group@lyralists.lyrasis.org 
> <mailto:archivesspace_users_group@lyralists.lyrasis.org>" 
>  <mailto:archivesspace_users_group@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.bened...@curtis.edu 
> <mailto:barbara.bened...@curtis.edu>
>  
> 
>  
> From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
> <mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org> 
>  <mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>> on behalf 
> of Busch, Ed mailto:busch...@msu.edu>>
> Sent: Wednesday, March 31, 2021 1:51 PM
> To: archivesspace_users_group@lyralists.lyrasis.org 
> <mailto:archivesspace_users_group@lyralists.lyrasis.org> 
>  <mailto:archivesspace_users_group@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
>  
> <https://urldefense.com/v3/__https:/linkprotect.cudasvc.com/url?a=https*3a*2f*2fTemplateRule.java*3a371=E,1,d32Mjv2djUKMTl5kgWqbfBPYVvv2lJyeokdaDS4ItnSTQ5c5ocaEuUPOE5iKfPMIcWbWyf_SglYSy6MI-2MVq8C9yZfnpU63XnsoQq8G2w4h7j0,=1_add=1__;JSUlJQ!!HX

Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content?

2021-03-31 Thread Busch, Ed
It could be also related to other content that was added for analog media (not 
Preservica). It looks like this one has been printed in a long time. Does 
anyone know if there is a correspondence between the PDF report error line and 
the line in an EAD export?

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
busch...@msu.edu<mailto:busch...@msu.edu>
he/him/his


From:  on behalf of 
"Benedett, Barbara" 
Reply-To: "archivesspace_users_group@lyralists.lyrasis.org" 

Date: Wednesday, March 31, 2021 at 2:37 PM
To: "archivesspace_users_group@lyralists.lyrasis.org" 

Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - 
Preservica added content?

Hi Ed,

Mine begin with mailto:barbara.bened...@curtis.edu>

[1485183964799_Signature]


From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
 on behalf of Busch, 
Ed 
Sent: Wednesday, March 31, 2021 2:24 PM
To: Archivesspace Users Group 
Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - 
Preservica added content?


Just curious, in the Preservica added Notes in their Subnote Text content do 
you have them begin with https://us.preservica.com/explorer/explorer.html#prop:4<https://urldefense.com/v3/__https:/linkprotect.cudasvc.com/url?a=https*3a*2f*2fus.preservica.com*2fexplorer*2fexplorer.html*23prop*3a4=E,1,XG3R3U2-W42AxvhTf0PCqMuz8Y8Zi2fBmYe1P9QbfBpXU2-5MT-707VbBb48eFuuaginbaQnucKq1akkHG5ss-qFUf2iO6-FC6D_57JGzQXEpsjq1vonxR-a=1_add=1__;JSUlJSUlJQ!!HXCxUKc!km7gDg1mcwruMVX8WRHeP0M5uGmFf-hFnWC0p-81C34aHTya2d-VU15yqPDwFxI$>



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

busch...@msu.edu<mailto:busch...@msu.edu>

he/him/his





From:  on behalf of 
"Benedett, Barbara" 
Reply-To: "archivesspace_users_group@lyralists.lyrasis.org" 

Date: Wednesday, March 31, 2021 at 1:59 PM
To: "archivesspace_users_group@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.bened...@curtis.edu<mailto:barbara.bened...@curtis.edu>



[1485183964799_Signature]





From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
 on behalf of Busch, 
Ed 
Sent: Wednesday, March 31, 2021 1:51 PM
To: archivesspace_users_group@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<https://urldefense.com/v3/__https:/linkprotect.cudasvc.com/url?a=https*3a*2f*2fTemplateRule.java*3a371=E,1,d32Mjv2djUKMTl5kgWqbfBPYVvv2lJyeokdaDS4ItnSTQ5c5ocaEuUPOE5iKfPMIcWbWyf_SglYSy6MI-2MVq8C9yZfnpU63XnsoQq8G2w4h7j0,=1_add=1__;JSUlJQ!!HXCxUKc!jUSBHaL--Bf1E2b_joiWNFf4ERJc9xI208wzrN1L_cL-IpU4G6-PeUDnsFZ8Eek$>)

net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533<https://urldefense.com/v3/__https:/linkprotect.cudasvc.com/url?a=https*3a*2f*2fMode.java*3a533=E,1,GsfqtiG4ptqHPH-hoXf4yXKiBvJy8LtlG2RPUdGHY8KGW_yd0umlyTWL-nnqDpe3oSkK74Iv1s46o7ICmFK8P-ViFr0Exxqm4nFIjXFxXQVVR6QFCNFw_g,,=1_add=1__;JSUlJQ!!HXCxUKc!jUSBHaL--Bf1E2b_joiWNFf4ERJc9xI208wzrN1L_cL-IpU4G6-PeUDnsTZ6xQ4$>)

net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746<https://urldefense.com/v3/__https:/linkprotect.cudasvc.com/url?a=https*3a*2f*2fXsltController.java*3a746=E,1,KTU1P79lwENjw9plAdLQYulyVN8fViKdabtCBNWJ67Ij2GR6WwaANIC3nfQ_BcqZ72dl7qRaosVDedamzMk6rvdOq254V1x0m90wNwCv2Eo1QQ,,=1_add=1__;JSUlJQ!!HXCxUKc!jUSBHaL--Bf1E2b_joiWNFf4ERJc9xI208wzrN1L_cL-IpU4G6-PeUDnk3EoOuc$>)

net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441<https://urldefense.com/v3/__https:/linkprotect.cudasvc.co

Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content?

2021-03-31 Thread Benedett, Barbara
Hi Ed,

Mine begin with mailto:barbara.bened...@curtis.edu>

[1485183964799_Signature]


From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
 on behalf of Busch, 
Ed 
Sent: Wednesday, March 31, 2021 2:24 PM
To: Archivesspace Users Group 
Subject: Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - 
Preservica added content?


Just curious, in the Preservica added Notes in their Subnote Text content do 
you have them begin with https://us.preservica.com/explorer/explorer.html#prop:4<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fus.preservica.com%2fexplorer%2fexplorer.html%23prop%3a4=E,1,XG3R3U2-W42AxvhTf0PCqMuz8Y8Zi2fBmYe1P9QbfBpXU2-5MT-707VbBb48eFuuaginbaQnucKq1akkHG5ss-qFUf2iO6-FC6D_57JGzQXEpsjq1vonxR-a=1_add=1>



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

busch...@msu.edu<mailto:busch...@msu.edu>

he/him/his





From:  on behalf of 
"Benedett, Barbara" 
Reply-To: "archivesspace_users_group@lyralists.lyrasis.org" 

Date: Wednesday, March 31, 2021 at 1:59 PM
To: "archivesspace_users_group@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.bened...@curtis.edu<mailto:barbara.bened...@curtis.edu>



[1485183964799_Signature]





From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
 on behalf of Busch, 
Ed 
Sent: Wednesday, March 31, 2021 1:51 PM
To: archivesspace_users_group@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<https://urldefense.com/v3/__https:/linkprotect.cudasvc.com/url?a=https*3a*2f*2fTemplateRule.java*3a371=E,1,d32Mjv2djUKMTl5kgWqbfBPYVvv2lJyeokdaDS4ItnSTQ5c5ocaEuUPOE5iKfPMIcWbWyf_SglYSy6MI-2MVq8C9yZfnpU63XnsoQq8G2w4h7j0,=1_add=1__;JSUlJQ!!HXCxUKc!jUSBHaL--Bf1E2b_joiWNFf4ERJc9xI208wzrN1L_cL-IpU4G6-PeUDnsFZ8Eek$>)

net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533<https://urldefense.com/v3/__https:/linkprotect.cudasvc.com/url?a=https*3a*2f*2fMode.java*3a533=E,1,GsfqtiG4ptqHPH-hoXf4yXKiBvJy8LtlG2RPUdGHY8KGW_yd0umlyTWL-nnqDpe3oSkK74Iv1s46o7ICmFK8P-ViFr0Exxqm4nFIjXFxXQVVR6QFCNFw_g,,=1_add=1__;JSUlJQ!!HXCxUKc!jUSBHaL--Bf1E2b_joiWNFf4ERJc9xI208wzrN1L_cL-IpU4G6-PeUDnsTZ6xQ4$>)

net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746<https://urldefense.com/v3/__https:/linkprotect.cudasvc.com/url?a=https*3a*2f*2fXsltController.java*3a746=E,1,KTU1P79lwENjw9plAdLQYulyVN8fViKdabtCBNWJ67Ij2GR6WwaANIC3nfQ_BcqZ72dl7qRaosVDedamzMk6rvdOq254V1x0m90wNwCv2Eo1QQ,,=1_add=1__;JSUlJQ!!HXCxUKc!jUSBHaL--Bf1E2b_joiWNFf4ERJc9xI208wzrN1L_cL-IpU4G6-PeUDnk3EoOuc$>)

net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441<https://urldefense.com/v3/__https:/linkprotect.cudasvc.com/url?a=https*3a*2f*2fXslt30Transformer.java*3a441=E,1,Y3pV6Iq1QhYDOCnRl5oLD78qmdz0pR0pb4zg7CxbXLy-hTlxllxVe-THgRDUr80i6xI44b9qW_TF1walobs7UgiWUhp66CeaAybmO8EbJOM,=1_add=1__;JSUlJQ!!HXCxUKc!jUSBHaL--Bf1E2b_joiWNFf4ERJc9xI208wzrN1L_cL-IpU4G6-PeUDn81fvKRk$>)

java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498<https://urldefense.com/v3/__https:/linkprotect.cudasvc.com/url?a=https*3a*2f*2fMethod.java*3a498=E,1,ML8pc6r7hcFFiUHnwWq4R6N2JOXHq8R39D5UauYh0EIBANVs-h9pNtcdebkkewsTjegQ1VjfmiHiwKSvH8wKetX_8HFJDK8BF9xS-JZOe76AYtEOXNRs-2w,=1_add=1__;JSUlJQ!!HXCxUKc!jUSBHaL--Bf1E2b_joiWNFf4ERJc9xI208wzrN1L_cL-IpU4G6-PeUDnuRtJrT0$>)

org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426<https://urldefense.com/v3/__https:/linkprotect.cudasvc.com/url?a=https*3a*2f*2fJavaMethod.java*3a426=E,1,wqxd8qg4wTL2fzZ1AP5zcJpvamgwBXi6kGCjHJsa62Pt7DytVV_Yc3w3Z2XHSpdaW5piwB3MBHK89pFCqOgPQ5SL-tYwkiIuy5P9ye

Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content?

2021-03-31 Thread Busch, Ed
Just curious, in the Preservica added Notes in their Subnote Text content do 
you have them begin with https://us.preservica.com/explorer/explorer.html#prop:4

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
busch...@msu.edu<mailto:busch...@msu.edu>
he/him/his


From:  on behalf of 
"Benedett, Barbara" 
Reply-To: "archivesspace_users_group@lyralists.lyrasis.org" 

Date: Wednesday, March 31, 2021 at 1:59 PM
To: "archivesspace_users_group@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.bened...@curtis.edu<mailto:barbara.bened...@curtis.edu>

[1485183964799_Signature]


From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
 on behalf of Busch, 
Ed 
Sent: Wednesday, March 31, 2021 1:51 PM
To: archivesspace_users_group@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<https://urldefense.com/v3/__https:/linkprotect.cudasvc.com/url?a=https*3a*2f*2fTemplateRule.java*3a371=E,1,d32Mjv2djUKMTl5kgWqbfBPYVvv2lJyeokdaDS4ItnSTQ5c5ocaEuUPOE5iKfPMIcWbWyf_SglYSy6MI-2MVq8C9yZfnpU63XnsoQq8G2w4h7j0,=1_add=1__;JSUlJQ!!HXCxUKc!jUSBHaL--Bf1E2b_joiWNFf4ERJc9xI208wzrN1L_cL-IpU4G6-PeUDnsFZ8Eek$>)

net.sf.saxon.trans.Mode.applyTemplates(net/sf/saxon/trans/Mode.java:533<https://urldefense.com/v3/__https:/linkprotect.cudasvc.com/url?a=https*3a*2f*2fMode.java*3a533=E,1,GsfqtiG4ptqHPH-hoXf4yXKiBvJy8LtlG2RPUdGHY8KGW_yd0umlyTWL-nnqDpe3oSkK74Iv1s46o7ICmFK8P-ViFr0Exxqm4nFIjXFxXQVVR6QFCNFw_g,,=1_add=1__;JSUlJQ!!HXCxUKc!jUSBHaL--Bf1E2b_joiWNFf4ERJc9xI208wzrN1L_cL-IpU4G6-PeUDnsTZ6xQ4$>)

net.sf.saxon.trans.XsltController.applyTemplates(net/sf/saxon/trans/XsltController.java:746<https://urldefense.com/v3/__https:/linkprotect.cudasvc.com/url?a=https*3a*2f*2fXsltController.java*3a746=E,1,KTU1P79lwENjw9plAdLQYulyVN8fViKdabtCBNWJ67Ij2GR6WwaANIC3nfQ_BcqZ72dl7qRaosVDedamzMk6rvdOq254V1x0m90wNwCv2Eo1QQ,,=1_add=1__;JSUlJQ!!HXCxUKc!jUSBHaL--Bf1E2b_joiWNFf4ERJc9xI208wzrN1L_cL-IpU4G6-PeUDnk3EoOuc$>)

net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(net/sf/saxon/s9api/Xslt30Transformer.java:441<https://urldefense.com/v3/__https:/linkprotect.cudasvc.com/url?a=https*3a*2f*2fXslt30Transformer.java*3a441=E,1,Y3pV6Iq1QhYDOCnRl5oLD78qmdz0pR0pb4zg7CxbXLy-hTlxllxVe-THgRDUr80i6xI44b9qW_TF1walobs7UgiWUhp66CeaAybmO8EbJOM,=1_add=1__;JSUlJQ!!HXCxUKc!jUSBHaL--Bf1E2b_joiWNFf4ERJc9xI208wzrN1L_cL-IpU4G6-PeUDn81fvKRk$>)

java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498<https://urldefense.com/v3/__https:/linkprotect.cudasvc.com/url?a=https*3a*2f*2fMethod.java*3a498=E,1,ML8pc6r7hcFFiUHnwWq4R6N2JOXHq8R39D5UauYh0EIBANVs-h9pNtcdebkkewsTjegQ1VjfmiHiwKSvH8wKetX_8HFJDK8BF9xS-JZOe76AYtEOXNRs-2w,=1_add=1__;JSUlJQ!!HXCxUKc!jUSBHaL--Bf1E2b_joiWNFf4ERJc9xI208wzrN1L_cL-IpU4G6-PeUDnuRtJrT0$>)

org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426<https://urldefense.com/v3/__https:/linkprotect.cudasvc.com/url?a=https*3a*2f*2fJavaMethod.java*3a426=E,1,wqxd8qg4wTL2fzZ1AP5zcJpvamgwBXi6kGCjHJsa62Pt7DytVV_Yc3w3Z2XHSpdaW5piwB3MBHK89pFCqOgPQ5SL-tYwkiIuy5P9yeKN0-NggtBucglF=1_add=1__;JSUlJQ!!HXCxUKc!jUSBHaL--Bf1E2b_joiWNFf4ERJc9xI208wzrN1L_cL-IpU4G6-PeUDnDpH-lV8$>)

org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293<https://urldefense.com/v3/__https:/linkprotect.cudasvc.com/url?a=https*3a*2f*2fJavaMethod.java*3a293=E,1,ifTYi-VG7G0MWgGUTn-nFc9pgy6zOUwKgipAa56wCqL068VGminGau3gn-ovE1KKVLT77DKK0fwmxn_1Byto2eEGcxHhlB2N93RwDg4knfPNL4HRW4SqYVJHlQ,,=1_add=1__;JSUlJQ!!HXCxUKc!jUSBHaL--Bf1E2b_joiWNFf4ERJc9xI208wzrN1L_cL-IpU4G6-PeUDnVN8-awA$>)

org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514<https://urldefense.com/v3/__https:/linkprotect.cuda

Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content?

2021-03-31 Thread Benedett, Barbara
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.bened...@curtis.edu

[1485183964799_Signature]


From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
 on behalf of Busch, 
Ed 
Sent: Wednesday, March 31, 2021 1:51 PM
To: archivesspace_users_group@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)