[Archivesspace_Users_Group] EAD Import - cryptic error messages
Steven Majewski
sdm7g at virginia.edu
Fri Feb 28 08:32:32 EST 2014
Brad:
Can you express this requirement in terms of EAD elements instead of JSONModel schema types ?
It’s that mapping that is giving me trouble: trying to turn the schema references in those error messages
into elements in the imported EAD that need to be addressed.
Any ETA for that next release ?
I’ve managed to fixup some of the import problems with a stylesheet: I’m up to 2749 files out of 4074 parsing successfully ( up from 0 and 300+ on my
initial efforts ). That notes/0/content message is my greatest outstanding issue:
1210 #<:ValidationException: {:errors=>{"notes/0/content"=>["At least 1 item(s) is required"]}}>
31 Unexpected Object Type in Queue: Expected archival_object got container
30 #<:ValidationException: {:errors=>{"dates"=>["one or more required (or enter a Title)"], "title"=>["must not be an empty string (or enter a Date)"]}}>
11 #<:ValidationException: {:errors=>{"instances/0/container/indicator_1"=>["Property is required but was missing"]}}>
11 #<:ValidationException: {:errors=>{"id_0"=>["Property is required but was missing"]}}>
8 #<:ValidationException: {:errors=>{"extents"=>["At least 1 item(s) is required"], "notes/0/content"=>["At least 1 item(s) is required"]}}>
6 #<:ValidationException: {:errors=>{"extents"=>["At least 1 item(s) is required"]}}>
5 #<:ValidationException: {:errors=>{"notes/0/content"=>["At least 1 item(s) is required"], "id_0"=>["Property is required but was missing"]}}>
5 #<:ValidationException: {:errors=>{"ead_id"=>["Must be 255 characters or fewer"]}}>
2 #<:ValidationException: {:errors=>{"instances/0/container/type_1"=>["Property is required but was missing"]}}>
1 Invalid schema given: string
1 #<:ValidationException: {:errors=>{"record"=>["Can't unambiguously match {:reference_text=>\"(In non correspondence -legal)\"} against schema types: [\"JSONModel(:note_index_item) object\"]. Resolve this by adding a 'jsonmodel_type' property to {:reference_text=>\"(In non correspondence -legal)\"}"]}}>
1 #<:ValidationException: {:errors=>{"notes/7/subnotes/0/content"=>["Must be 65000 characters or fewer"]}}>
1 #<:ValidationException: {:errors=>{"notes/0/content"=>["At least 1 item(s) is required"], "notes/8/subnotes/0/content"=>["Must be 65000 characters or fewer"]}}>
1 #<:ValidationException: {:errors=>{"instances/0/container/type_1"=>["Property is required but was missing"], "instances/0/container/indicator_1"=>["Property is required but was missing"]}}>
1 #<:ValidationException: {:errors=>{"extents"=>["At least 1 item(s) is required"], "ead_id"=>["Must be 255 characters or fewer"]}}>
— Steve M.
On Feb 24, 2014, at 8:28 AM, Brad Westbrook <brad.westbrook at lyrasis.org> wrote:
> Hi.
>
> Yes, that is certainly an oblique error message..
>
> Again, we are very conscious of needing to improve the “readability” of the error messages.
>
> In some cases, we will eliminate the requirement causing the error message. If I understand this error report correctly, it is triggered by the requirement that a multi-part note have at least one part that is of the type ‘text’. That requirement will be eliminated in the next public release of ArchivesSpace. See https://www.pivotaltracker.com/story/show/65000166.
>
> Cheers,
>
> Brad W.
>
> Bradley D. Westbrook
> Program Manager
> brad.westbrook at lyrasis.org
> 800.999.8558 x2910
> 678.235.2910
> bradley_d_westbrook (Skype)
> <image001.png>
>
>
>
>
>
>
>
> From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org]On Behalf Of Steven Majewski
> Sent: Friday, February 21, 2014 1:34 PM
> To: Archivesspace Users Group
> Subject: Re: [Archivesspace_Users_Group] EAD Import - cryptic error messages
>
>
> Here’s another one where some context would help:
>
> Error: #<:ValidationException: {:errors=>{"notes/0/content"=>["At least 1 item(s) is required"]}}
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20140228/175d6300/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4943 bytes
Desc: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20140228/175d6300/attachment.bin>
More information about the Archivesspace_Users_Group
mailing list