[Archivesspace_Users_Group] Training Announcement: ArchivesSpace Community-wide Training Program

2021-04-01 Thread Jessica Crouch
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 
archivesspaceh...@lyrasis.org.

Jessica Dowd Crouch
Community Engagement Coordinator for ArchivesSpace
jessica.cro...@lyrasis.org
[page1image482511520]

___
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group


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
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
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>>
Date: Wednesday, March 31, 2021 at 4:06 PM
To: 
"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
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 

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
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
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>>
Date: Wednesday, March 31, 2021 at 4:06 PM
To: 
"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
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 

[Archivesspace_Users_Group] Entering a Second Location through the API

2021-04-01 Thread Herbert, Kate F
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.herb...@maine.gov

(she/her/hers)



___
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group


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/
>  
> 
>  
> 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 
> 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 
> 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 
> 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 

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/">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-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/

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

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 

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
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
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
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>>
Date: Wednesday, March 31, 2021 at 4:06 PM
To: 
"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: 

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
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>>
Date: Thursday, April 1, 2021 at 11:35 AM
To: 
"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>>
 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
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>>
Date: Wednesday, March 31, 2021 at 4:06 PM
To: 
"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: 

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
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>>
Date: Wednesday, March 31, 2021 at 4:06 PM
To: 
"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
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 

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
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
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: