[Archivesspace_Users_Group] EAD Import Error
Mayo, Dave
dave_mayo at harvard.edu
Mon Mar 16 14:30:41 EDT 2020
So, looking at the EAD converter code, there’s two places where .instances is called: handling <container> elements and handling digital objects. Based on how the code is written, I think it’s _much_ more likely that this is a container – from what I can see, any case where a container is nested in a way where its context_object isn’t an AO or resource (or other thing that can have instances). My first suspect is maybe the container in the <archdesc>’s DID? I’m not _positive_ and I don’t have time right now to do more digging, but it’s the one I immediately see that is different than any others.
--
Dave Mayo (he/him)
Senior Digital Library Software Engineer
Harvard University > HUIT > LTS
From: <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Corinne Chatnik <Corinne.Chatnik at nysed.gov>
Reply-To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Date: Monday, March 16, 2020 at 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/2a36c746/attachment.html>
More information about the Archivesspace_Users_Group
mailing list