[Archivesspace_Users_Group] EAD import problem id_0 already in use

Elizabeth Dunham Elizabeth.Dunham at asu.edu
Fri May 16 18:32:58 EDT 2014


Might it be a problem with the indexer?

I got the same error when importing guides, and it turned out that the indexer wasn't running.  I'd try to import a guide, it would report success, I would look for the guide and not find it, try to import the guide again, and it would tell me it couldn't do that because the ID was in use.  Restarting the server works, but that is my only indexer maintenance option - you can probably find something a little more nuanced.  I've actually had a lot of trouble with the indexer conking out after 48-72 hours of restart/upgrade, but I don't know why.

Hope that helps!

Elizabeth Dunham 

------------------------
Assistant Archivist
Arizona State University Libraries
Archives and Special Collections
Tempe, AZ 85287-1006
Elizabeth.Dunham at asu.edu

-----Original Message-----
From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Bridger Dyson-Smith
Sent: Friday, May 16, 2014 12:18 PM
To: archivesspace_users_group at lyralists.lyrasis.org
Subject: Re: [Archivesspace_Users_Group] EAD import problem id_0 already in use

On 05/16/2014 11:19, Kottman, Miloche wrote:
> How fortuitous!  I was just going to test to see if this was still an issue in version 1.0.9.
>
Oh dear...

> In version 1.0.7, that message showed up when the EAD had a related or separated materials section AND you'd already loaded the EAD for the related or separated material.
>
> This happens because instead of using the <unittitle> and <unitid> for the described materials, the importer is using the last <unittitle> <unitid> combination it finds in either the related or separated material section (we have EADs listing multiple related materials and I've noticed it selects the last title).  This title and id is, of course, going to match the title and id in the related or separated EAD.
>
That's odd, because the <unittitle> and <unitid> in the EAD that threw the error only appear in two EADs: in the error-throwing EAD and in another that wasn't in my test batch. I've just checked a couple of other EADs that use <relatedmaterial> and we aren't using <unittitle>/<unitid> in that element.

I don't doubt you - I don't know enough Ruby (or enough about
ArchivesSpace) to get what's going on with the import feature.

I do think it's a bit odd, though. Is there a published rational for that behavior? I'd like to know more.

> Even if you don't get this message when loading an EAD, if it has a 
> related or separated materials section, you should check the EAD in 
> ArchivesSpace to ensure the correct title and id are in the record 
> (it's likely to be one of the titles in the related/separated section)
>
> And FYI...  just tested in version 1.0.9 and it still errors out, but 
> I get a different error message:  Error: #<:ValidationException: 
> {:errors=>{"extents"=>["At least 1 item(s) is required"]}}>
>
> --Miloche
>
> -----Original Message-----
> From: archivesspace_users_group-bounces at lyralists.lyrasis.org 
> [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On 
> Behalf Of Bridger Dyson-Smith
> Sent: Friday, May 16, 2014 9:39 AM
> To: Archivesspace Users Group
> Subject: [Archivesspace_Users_Group] EAD import problem id_0 already 
> in use
>
> Hi all,
>
> I'm getting the following error from a test import of ~100 EADs:
> "Error: Problem creating 'University of Tennessee President's Papers':
> id_0 That ID is already in use, ead_id Must be unique"
>
> My <eadid> values are unique across our collections, so I'm not sure how/why this is happening. Could someone shed some light on this?
>
>
> Thanks,
> Bridger
> --
> Bridger Dyson-Smith
> University of Tennessee Libraries
> Digital Initiatives
> _______________________________________________

Thank you for the response.

Best,
Bridger

_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group



More information about the Archivesspace_Users_Group mailing list