[Archivesspace_Users_Group] PDF generates on staff side but not on PUI

Kyle Breneman kbreneman at ubalt.edu
Mon Jul 25 17:01:27 EDT 2022


Thanks for your reply, Andrew.  I did succeed in getting the PDF to print.  I think that there was something wrong in the MySQL database (we refreshed the database with the MySQL database from our development instance), but it may also have been the full re-index that I did which solved the problem.

Kyle Breneman
Integrated Digital Services Librarian
The University of Baltimore
kbreneman at ubalt.edu<mailto:kbreneman at ubalt.edu>
I believe in freedom of thought and
freedom of speech. Do you?

From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> On Behalf Of Andrew Morrison
Sent: Monday, July 25, 2022 7:26 AM
To: archivesspace_users_group at lyralists.lyrasis.org
Subject: Re: [Archivesspace_Users_Group] PDF generates on staff side but not on PUI

[EXTERNAL EMAIL: This message originated from a non-UBalt email system. Hover over any links before clicking and use caution when opening attachments.]


Staff PDFs are generated by first exporting to EAD, then converting that via XSL-FO to PDF. Whereas PUI PDFs are generated by first creating a HTML file, then using a third-party library that effectively opens the HTML in a web browser's rendering engine, then prints it to PDF. In the former process, exporting to EAD falls back to retrieving records from the MySQL database if, for some reason, it finds a mismatch with what's on Solr. I do not believe the PUI does that, it only fetches from Solr. Hence your problem might be fixed by doing a soft re-index:

https://archivesspace.github.io/tech-docs/administration/indexes.html

Andrew.


On 20/07/2022 21:57, Kyle Breneman wrote:
We are setting up two new Windows server environments for ArchivesSpace 3.2.0.  On one of our servers, we have a collection where the PDF will generate on the staff side, but not through the PUI.  (Both servers are using copies of the same backend ArchivesSpace database.)

Any troubleshooting tips or solutions?  I’m not sure what to do with RecordNotFound when the PDF will print on the staff side.

Here’s what I see in the log:

[cid:image001.png at 01D8A048.2D02D740]

Kyle Breneman
Integrated Digital Services Librarian
The University of Baltimore
kbreneman at ubalt.edu<mailto:kbreneman at ubalt.edu>
I believe in freedom of thought and
freedom of speech. Do you?




_______________________________________________

Archivesspace_Users_Group mailing list

Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>

http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20220725/856a6324/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 89181 bytes
Desc: image001.png
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20220725/856a6324/attachment.png>


More information about the Archivesspace_Users_Group mailing list