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: <[email protected]> on behalf of Corinne Chatnik <[email protected]> Reply-To: Archivesspace Users Group <[email protected]> Date: Monday, March 16, 2020 at 2:20 PM To: Archivesspace Users Group <[email protected]> Subject: Re: [Archivesspace_Users_Group] EAD Import Error Thanks for responding! Yes that’s the complete error message. From: [email protected] <[email protected]> On Behalf Of Mayo, Dave Sent: Monday, March 16, 2020 2:18 PM To: Archivesspace Users Group <[email protected]> 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: <[email protected]<mailto:[email protected]>> on behalf of Corinne Chatnik <[email protected]<mailto:[email protected]>> Reply-To: Archivesspace Users Group <[email protected]<mailto:[email protected]>> Date: Monday, March 16, 2020 at 1:58 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> 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 [email protected]<mailto:[email protected]> 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.
_______________________________________________ Archivesspace_Users_Group mailing list [email protected] http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
