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: [email protected] 
<[email protected]> on behalf of Corinne 
Chatnik <[email protected]>
Sent: Monday, March 16, 2020 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: #&lt;NoMethodError: undefined method `instances&#39; for 
#&lt;#&lt;Class:0x3471635c&gt;:0x2346a459&gt;

Did you mean?  instance_of?&gt;

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



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

Reply via email to