Re: [Archivesspace_Users_Group] EAD Import Error

2020-03-16 Thread Mayo, Dave
You’re very welcome! I’ll add that to the checker as soon as I get a minute!

--
Dave Mayo (he/him)
Senior Digital Library Software Engineer
Harvard University > HUIT > LTS

From:  on behalf of 
Corinne Chatnik 
Reply-To: Archivesspace Users Group 

Date: Monday, March 16, 2020 at 2:36 PM
To: Archivesspace Users Group 
Subject: Re: [Archivesspace_Users_Group] EAD Import Error

That solved it thank you so much!

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

So, looking at the EAD converter code, there’s two places where .instances is 
called: handling  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 ’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: 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 on behalf of Corinne Chatnik 
mailto:corinne.chat...@nysed.gov>>
Reply-To: Archivesspace Users Group 
mailto:archivesspace_users_group@lyralists.lyrasis.org>>
Date: Monday, March 16, 2020 at 2:20 PM
To: Archivesspace Users Group 
mailto:archivesspace_users_group@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-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>
 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 On Behalf Of Mayo, Dave
Sent: Monday, March 16, 2020 2:18 PM
To: Archivesspace Users Group 
mailto:archivesspace_users_group@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:

"#: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: 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 on behalf of Corinne Chatnik 
mailto:corinne.chat...@nysed.gov>>
Reply-To: Archivesspace Users Group 
mailto:archivesspace_users_group@lyralists.lyrasis.org>>
Date: Monday, March 16, 2020 at 1:58 PM
To: 
"archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>"
 
mailto:archivesspace_users_group@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 -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.chat...@nysed.gov<mailto:corinne.chat...@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.

___
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group


Re: [Archivesspace_Users_Group] EAD Import Error

2020-03-16 Thread Corinne Chatnik
That solved it thank you so much!

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

So, looking at the EAD converter code, there’s two places where .instances is 
called: handling  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 ’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: 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 on behalf of Corinne Chatnik 
mailto:corinne.chat...@nysed.gov>>
Reply-To: Archivesspace Users Group 
mailto:archivesspace_users_group@lyralists.lyrasis.org>>
Date: Monday, March 16, 2020 at 2:20 PM
To: Archivesspace Users Group 
mailto:archivesspace_users_group@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-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>
 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 On Behalf Of Mayo, Dave
Sent: Monday, March 16, 2020 2:18 PM
To: Archivesspace Users Group 
mailto:archivesspace_users_group@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:

"#: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: 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 on behalf of Corinne Chatnik 
mailto:corinne.chat...@nysed.gov>>
Reply-To: Archivesspace Users Group 
mailto:archivesspace_users_group@lyralists.lyrasis.org>>
Date: Monday, March 16, 2020 at 1:58 PM
To: 
"archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>"
 
mailto:archivesspace_users_group@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 -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.chat...@nysed.gov<mailto:corinne.chat...@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.

___
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group


Re: [Archivesspace_Users_Group] EAD Import Error

2020-03-16 Thread Blake Carver
We've seen that error once before the problem was a random stray "1" 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-boun...@lyralists.lyrasis.org 
 on behalf of Corinne 
Chatnik 
Sent: Monday, March 16, 2020 2:20 PM
To: Archivesspace Users Group 
Subject: Re: [Archivesspace_Users_Group] EAD Import Error


Thanks for responding!



Yes that’s the complete error message.



From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
 On Behalf Of Mayo, 
Dave
Sent: Monday, March 16, 2020 2:18 PM
To: Archivesspace Users Group 
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:

"#: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: 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 on behalf of Corinne Chatnik 
mailto:corinne.chat...@nysed.gov>>
Reply-To: Archivesspace Users Group 
mailto:archivesspace_users_group@lyralists.lyrasis.org>>
Date: Monday, March 16, 2020 at 1:58 PM
To: 
"archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>"
 
mailto:archivesspace_users_group@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 -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.chat...@nysed.gov<mailto:corinne.chat...@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.


___
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group


Re: [Archivesspace_Users_Group] EAD Import Error

2020-03-16 Thread Mayo, Dave
So, looking at the EAD converter code, there’s two places where .instances is 
called: handling  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 ’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:  on behalf of 
Corinne Chatnik 
Reply-To: Archivesspace Users Group 

Date: Monday, March 16, 2020 at 2:20 PM
To: Archivesspace Users Group 
Subject: Re: [Archivesspace_Users_Group] EAD Import Error

Thanks for responding!

Yes that’s the complete error message.

From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
 On Behalf Of Mayo, 
Dave
Sent: Monday, March 16, 2020 2:18 PM
To: Archivesspace Users Group 
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:

"#: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: 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 on behalf of Corinne Chatnik 
mailto:corinne.chat...@nysed.gov>>
Reply-To: Archivesspace Users Group 
mailto:archivesspace_users_group@lyralists.lyrasis.org>>
Date: Monday, March 16, 2020 at 1:58 PM
To: 
"archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>"
 
mailto:archivesspace_users_group@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 -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.chat...@nysed.gov<mailto:corinne.chat...@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.

___
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group


Re: [Archivesspace_Users_Group] EAD Import Error

2020-03-16 Thread Corinne Chatnik
Thanks for responding!

Yes that’s the complete error message.

From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
 On Behalf Of Mayo, 
Dave
Sent: Monday, March 16, 2020 2:18 PM
To: Archivesspace Users Group 
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:

"#: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: 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 on behalf of Corinne Chatnik 
mailto:corinne.chat...@nysed.gov>>
Reply-To: Archivesspace Users Group 
mailto:archivesspace_users_group@lyralists.lyrasis.org>>
Date: Monday, March 16, 2020 at 1:58 PM
To: 
"archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>"
 
mailto:archivesspace_users_group@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 -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.chat...@nysed.gov<mailto:corinne.chat...@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.

___
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group


Re: [Archivesspace_Users_Group] EAD Import Error

2020-03-16 Thread Mayo, Dave
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:

"#: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:  on behalf of 
Corinne Chatnik 
Reply-To: Archivesspace Users Group 

Date: Monday, March 16, 2020 at 1:58 PM
To: "archivesspace_users_group@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 -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.chat...@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.

___
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group


Re: [Archivesspace_Users_Group] EAD import error - indicator mismatch

2017-01-25 Thread Bria Lynn Parker
Well, so it turns out the issue wasn't so much with my data, but that I did
not realize that deleting a resource does not also delete the top
containers created when importing a resource and associated with that
resource. So my own testing was my downfall! Thankfully this was all on a
test server, so I could easily purge all the old top containers...

Thanks all for the guidance, though!

On Tue, Jan 24, 2017 at 11:24 AM, Majewski, Steven Dennis (sdm7g) <
sd...@eservices.virginia.edu> wrote:

>
> I was getting that error on 1.5.2 migration ( see other email thread ) and
> that one turned out to be due to an erroneous duplicate  barcode assigned
> to different containers with different indicators.
>
> In the other cases, where there were trailing spaces in one of the
> barcodes, the message was a mismatch between barcode and barcode_1 — the
> inverse error of the one above: same container, different barcodes.
>
> — Steve.
>
>
>
> On Jan 24, 2017, at 11:10 AM, Bria Lynn Parker  wrote:
>
> I should add:
>
> I'm running 1.5.2, and I have checked for sneaky whitespaces within any of
> these attributes and have found none.
>
> On Tue, Jan 24, 2017 at 11:06 AM, Bria Lynn Parker  wrot
> e:
>
>> Hi all - I'm hoping someone has a tip or hint at where I'm going wrong:
>>
>> We've finished cleaning up/normalizing our EAD (including implementing
>> container attributes and the like for container management). The majority
>> are importing fine, no errors (or, at least no errors I can't find and fix,
>> like bad begin/ends). However, for some of our finding aids, I'm getting
>> the following:
>>
>> indicator_1 : Mismatch when mapping between indicator and indicator_1
>>
>> No other info about location, etc. I've about torn my hair out trying to
>> find *any* mismatch of container data - I've checked every instance's
>> dummy barcode (which is constructed in part from the id), id, and parent
>> against itself, crosschecked with the container indicator, and they all
>> match within themselves. We're importing barcodes in the label attribute,
>> which
>> works (except when it doesn't here?). The error message getting thrown is
>> from this ruby function https://github.com/archivesspa
>> ce/archivesspace/blob/5e1ca66f1f04f142f2695024efb72008250463
>> 25/backend/app/lib/aspace_json_to_managed_container_mapper.rb#L173
>>
>> Help? If someone has encountered this and figured it out, let me know -
>> I'd love some help. If you want to contact me off list, I can sent you a
>> full xml file.
>> Here's an example from my xml:
>>
>>
>>
>> 
>>   
>> Financial Records -- General -- Bound Volumes --
>> Financial Reports
>> 1905-1908
>> 1
>> 1.0
>>   
>> 
>>
>>
>>   
>> Financial Records -- General -- Bound Volumes --
>> Financial Reports
>> 1909
>> 1
>> 2.0
>>   
>> 
>>
>>
>> 
>>   
>> Financial Records -- General -- Bound Volumes --
>> Financial Reports
>> 1910-1911
>> 1
>> 3.0
>>   
>> 
>>
>> (historical background - some of our series restart box numbers at 1, and
>> the container ids reflect that, so 89.1 is the 89th box in the collection,
>> but 1st in the series. This is not causing the error as far as I can tell,
>> since other collections with same numbering style import fine)
>>
>>
>> --
>> Bria L. Parker
>> Metadata Librarian
>> 2200 McKeldin Library
>> University of Maryland
>> College Park, MD 20742-7011
>> (301) 405-9067
>> blpar...@umd.edu
>>
>
>
>
> --
> Bria L. Parker
> Metadata Librarian
> 2200 McKeldin Library
> University of Maryland
> College Park, MD 20742-7011
> (301) 405-9067
> blpar...@umd.edu
> ___
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group@lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>
>
>
> ___
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group@lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>
>


-- 
Bria L. Parker
Metadata Librarian

2200 McKeldin Library

University of Maryland

College Park, MD 20742-7011

(301) 405-9067

blpar...@umd.edu
___
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group


Re: [Archivesspace_Users_Group] EAD import error - indicator mismatch

2017-01-24 Thread Majewski, Steven Dennis (sdm7g)

I was getting that error on 1.5.2 migration ( see other email thread ) and that 
one turned out to be due to an erroneous duplicate  barcode assigned to 
different containers with different indicators.

In the other cases, where there were trailing spaces in one of the barcodes, 
the message was a mismatch between barcode and barcode_1 — the inverse error of 
the one above: same container, different barcodes.

— Steve.



On Jan 24, 2017, at 11:10 AM, Bria Lynn Parker 
> wrote:

I should add:

I'm running 1.5.2, and I have checked for sneaky whitespaces within any of 
these attributes and have found none.

On Tue, Jan 24, 2017 at 11:06 AM, Bria Lynn Parker 
> wrote:
Hi all - I'm hoping someone has a tip or hint at where I'm going wrong:

We've finished cleaning up/normalizing our EAD (including implementing 
container attributes and the like for container management). The majority are 
importing fine, no errors (or, at least no errors I can't find and fix, like 
bad begin/ends). However, for some of our finding aids, I'm getting the 
following:

indicator_1 : Mismatch when mapping between indicator and indicator_1

No other info about location, etc. I've about torn my hair out trying to find 
any mismatch of container data - I've checked every instance's dummy barcode 
(which is constructed in part from the id), id, and parent against itself, 
crosschecked with the container indicator, and they all match within 
themselves. We're importing barcodes in the label attribute, which
works (except when it doesn't here?). The error message getting thrown is from 
this ruby function 
https://github.com/archivesspace/archivesspace/blob/5e1ca66f1f04f142f2695024efb7200825046325/backend/app/lib/aspace_json_to_managed_container_mapper.rb#L173

Help? If someone has encountered this and figured it out, let me know - I'd 
love some help. If you want to contact me off list, I can sent you a full xml 
file.
Here's an example from my xml:





  
Financial Records -- General -- Bound Volumes -- 
Financial Reports
1905-1908
1
1.0
  



   
  
Financial Records -- General -- Bound Volumes -- 
Financial Reports
1909
1
2.0
  



  
Financial Records -- General -- Bound Volumes -- 
Financial Reports
1910-1911
1
3.0
  


(historical background - some of our series restart box numbers at 1, and the 
container ids reflect that, so 89.1 is the 89th box in the collection, but 1st 
in the series. This is not causing the error as far as I can tell, since other 
collections with same numbering style import fine)


--
Bria L. Parker
Metadata Librarian
2200 McKeldin Library
University of Maryland
College Park, MD 20742-7011
(301) 405-9067
blpar...@umd.edu



--
Bria L. Parker
Metadata Librarian
2200 McKeldin Library
University of Maryland
College Park, MD 20742-7011
(301) 405-9067
blpar...@umd.edu
___
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

___
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group


Re: [Archivesspace_Users_Group] EAD import error - indicator mismatch

2017-01-24 Thread Galligan, Patrick
Bria,

I can’t tell you where exactly this is happening, but mismatch between 
indicators usually means that you have two different top container indicators 
assigned to the same barcode.

You’d have to look at the barcodes that are already in the system, and any 
indicators associated with the import. I don’t see anything wrong in the 
snippet you sent below, but I also don’t really know what’s already in your 
database.

We had a lot of these errors when we migrated to 1.5.0.

-Patrick Galligan

From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
[mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org] On Behalf Of 
Bria Lynn Parker
Sent: Tuesday, January 24, 2017 11:10 AM
To: Archivesspace Users Group <Archivesspace_Users_Group@lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] EAD import error - indicator mismatch

I should add:

I'm running 1.5.2, and I have checked for sneaky whitespaces within any of 
these attributes and have found none.

On Tue, Jan 24, 2017 at 11:06 AM, Bria Lynn Parker 
<blpar...@umd.edu<mailto:blpar...@umd.edu>> wrote:
Hi all - I'm hoping someone has a tip or hint at where I'm going wrong:

We've finished cleaning up/normalizing our EAD (including implementing 
container attributes and the like for container management). The majority are 
importing fine, no errors (or, at least no errors I can't find and fix, like 
bad begin/ends). However, for some of our finding aids, I'm getting the 
following:

indicator_1 : Mismatch when mapping between indicator and indicator_1

No other info about location, etc. I've about torn my hair out trying to find 
any mismatch of container data - I've checked every instance's dummy barcode 
(which is constructed in part from the id), id, and parent against itself, 
crosschecked with the container indicator, and they all match within 
themselves. We're importing barcodes in the label attribute, which
works (except when it doesn't here?). The error message getting thrown is from 
this ruby function 
https://github.com/archivesspace/archivesspace/blob/5e1ca66f1f04f142f2695024efb7200825046325/backend/app/lib/aspace_json_to_managed_container_mapper.rb#L173

Help? If someone has encountered this and figured it out, let me know - I'd 
love some help. If you want to contact me off list, I can sent you a full xml 
file.
Here's an example from my xml:


  
Financial Records -- General -- Bound Volumes -- 
Financial Reports
1905-1908
1
1.0
  


   
  
Financial Records -- General -- Bound Volumes -- 
Financial Reports
1909
1
2.0
  



  
Financial Records -- General -- Bound Volumes -- 
Financial Reports
1910-1911
1
3.0
  


(historical background - some of our series restart box numbers at 1, and the 
container ids reflect that, so 89.1 is the 89th box in the collection, but 1st 
in the series. This is not causing the error as far as I can tell, since other 
collections with same numbering style import fine)


--
Bria L. Parker
Metadata Librarian

2200 McKeldin Library

University of Maryland

College Park, MD 20742-7011

(301) 405-9067<tel:%28301%29%20405-9067>

blpar...@umd.edu<mailto:blpar...@umd.edu>



--
Bria L. Parker
Metadata Librarian

2200 McKeldin Library

University of Maryland

College Park, MD 20742-7011

(301) 405-9067<tel:%28301%29%20405-9067>

blpar...@umd.edu<mailto:blpar...@umd.edu>
___
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group


Re: [Archivesspace_Users_Group] EAD import error - indicator mismatch

2017-01-24 Thread Bria Lynn Parker
I should add:

I'm running 1.5.2, and I have checked for sneaky whitespaces within any of
these attributes and have found none.

On Tue, Jan 24, 2017 at 11:06 AM, Bria Lynn Parker  wrote:

> Hi all - I'm hoping someone has a tip or hint at where I'm going wrong:
>
> We've finished cleaning up/normalizing our EAD (including implementing
> container attributes and the like for container management). The majority
> are importing fine, no errors (or, at least no errors I can't find and fix,
> like bad begin/ends). However, for some of our finding aids, I'm getting
> the following:
>
> indicator_1 : Mismatch when mapping between indicator and indicator_1
>
> No other info about location, etc. I've about torn my hair out trying to
> find *any* mismatch of container data - I've checked every instance's
> dummy barcode (which is constructed in part from the id), id, and parent
> against itself, crosschecked with the container indicator, and they all
> match within themselves. We're importing barcodes in the label attribute,
> which
> works (except when it doesn't here?). The error message getting thrown is
> from this ruby function https://github.com/archivesspace/archivesspace/
> blob/5e1ca66f1f04f142f2695024efb7200825046325/backend/app/lib/
> aspace_json_to_managed_container_mapper.rb#L173
>
> Help? If someone has encountered this and figured it out, let me know -
> I'd love some help. If you want to contact me off list, I can sent you a
> full xml file.
> Here's an example from my xml:
>
> 
>   
> Financial Records -- General -- Bound Volumes --
> Financial Reports
> 1905-1908
>  "box" id="89.1">1
> 1.0
>   
> 
>
>
>   
> Financial Records -- General -- Bound Volumes --
> Financial Reports
> 1909
>  "box" id="89.1">1
> 2.0
>   
> 
>
>
> 
>   
> Financial Records -- General -- Bound Volumes --
> Financial Reports
> 1910-1911
>  "box" id="89.1">1
> 3.0
>   
> 
>
> (historical background - some of our series restart box numbers at 1, and
> the container ids reflect that, so 89.1 is the 89th box in the collection,
> but 1st in the series. This is not causing the error as far as I can tell,
> since other collections with same numbering style import fine)
>
>
> --
> Bria L. Parker
> Metadata Librarian
>
> 2200 McKeldin Library
>
> University of Maryland
>
> College Park, MD 20742-7011
>
> (301) 405-9067
>
> blpar...@umd.edu
>



-- 
Bria L. Parker
Metadata Librarian

2200 McKeldin Library

University of Maryland

College Park, MD 20742-7011

(301) 405-9067

blpar...@umd.edu
___
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group