[Archivesspace_Users_Group] EAD Import Error

Blake Carver blake.carver at lyrasis.org
Mon Mar 16 14:31:34 EDT 2020


We've seen that error once before the problem was a random stray "<container type="Box">1</container>" in the collection level description. I don't know that you'd have the exact same thing in there, but maybe you have something random in a place it shouldn't be in that EAD.
________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Corinne Chatnik <Corinne.Chatnik at nysed.gov>
Sent: Monday, March 16, 2020 2:20 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] EAD Import Error


Thanks for responding!



Yes that’s the complete error message.



From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> On Behalf Of Mayo, Dave
Sent: Monday, March 16, 2020 2:18 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] EAD Import Error



So, this isn’t actually an error about a character entity – those character entities are the result of a Ruby error being double-escaped in HTML.

The error actually being emitted is:

"#<NoMethodError: undefined method `instances' for #<#<Class:0x3471635c>:0x2346a459>\nDid you mean?  instance_of?>"



Where that’s coming from, I’m not sure, unfortunately – is that the full error message?



--

Dave Mayo (he/him)

Senior Digital Library Software Engineer
Harvard University > HUIT > LTS



From: <archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org>> on behalf of Corinne Chatnik <Corinne.Chatnik at nysed.gov<mailto:Corinne.Chatnik at nysed.gov>>
Reply-To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Date: Monday, March 16, 2020 at 1:58 PM
To: "archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>" <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Subject: [Archivesspace_Users_Group] EAD Import Error



Hi,



When I try to run the background job of Import Data, EAD I get the following error:

==================================================

13036.xml

==================================================





!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

IMPORT ERROR

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!





Error: #<NoMethodError: undefined method `instances' for #<#<Class:0x3471635c>:0x2346a459>

Did you mean?  instance_of?>

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!



I have replaced any stylized characters and looked for rogue symbols and empty tags. I tried reformatting the dates to YYYY-MM-DD.

I’ve also run it through Harvard Archivesspace_checker and it passes.



Attached is the ead file.



If anyone can let me know what the error message means that would be fantastic.



Thanks!

Corinne Chatnik
Digital Strategies
New York State Archives
archives.nysed.gov
Corinne.Chatnik at nysed.gov<mailto:Corinne.Chatnik at nysed.gov>
518-473-4153





Confidentiality Notice

This email including all attachments is confidential and intended solely for the use of the individual or entity to which it is addressed. This communication may contain information that is protected from disclosure under State and/or Federal law. Please notify the sender immediately if you have received this communication in error and delete this email from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200316/43aae22a/attachment.html>


More information about the Archivesspace_Users_Group mailing list