[Archivesspace_Users_Group] Issues when running AT Migrator plugin 1.0.7 and 1.0.9

Mang Sun mang.sun at rice.edu
Thu Oct 23 16:04:44 EDT 2014


Nathan,

You are right. Those server errors were generated when running migrator 
1.0.7 again a  v1.0.9 AS  instance.
Now using the lastest v.1.0.9-v.1.1.0 migrator against an AS 1.1.0 
instance, I can see most of the server error problems gone except

{
   "errors": ["Server error: #<:ValidationException: 
{:errors=>{\"instances/0/instance_type\"=>[\"Property is required but 
was missing\"]}}>"],
   "saved": []

which I think can be fixed at the AT side.

Also there are a couple of issues with digital objects as follows.

http://xxx.xxxedu/handle/1911/9246
Status code: 400
Status text: Bad Request
{"error":{"file_versions/0/file_uri":["Property is required but was 
missing"]},"warning":null,"invalid_object":"#<JSONModel(:digital_object) 
{\"digital_object_id\"=>\"http://xxxx.xxx/handle/1911/9246\", 
\"title\"=>\"unspecified\", \"restrictions\"=>false, 
\"digital_object_type\"=>\"text\", 
\"file_versions\"=>[{\"xlink_show_attribute\"=>\"new\", 
\"xlink_actuate_attribute\"=>\"onRequest\"}], 
\"external_ids\"=>[{\"external_id\"=>\"15\", \"source\"=>\"Archivists 
Toolkit Database::DIGITAL_OBJECT\"}], \"publish\"=>true, \"notes\"=>[], 
\"jsonmodel_type\"=>\"digital_object\", \"subjects\"=>[], 
\"linked_events\"=>[], \"extents\"=>[], \"dates\"=>[], 
\"external_documents\"=>[], \"rights_statements\"=>[], 
\"linked_agents\"=>[], \"linked_instances\"=>[]}>"}


Anyway, huge progress. Thank you a lot Nathan.

Mang


On 10/23/2014 7:55 AM, Nathan Stevens wrote:
> Good Morning Mang,
>
> Can you test the migration again using the latest version (v1.1.0) of 
> ArchivesSpace, and the most up to date migration plugin (see attached) 
> and let us know if you still see these errors?
>
> Remember to only migrate into an empty ASpace database, and not use 
> the Advance Migrator Window.
>
>
>
> On Wed, Oct 22, 2014 at 3:57 PM, Mang Sun <mang.sun at rice.edu 
> <mailto:mang.sun at rice.edu>> wrote:
>
>     Hello,
>
>     When playing around with AT Migrator plugin 1.0.7, I run into
>     seeing a series of  server errors like below
>
>     Endpoint: http://xx.xx.xx.xx:8089/repositories/2/batch_imports
>     AT Identifier: xxx
>     Status Code: 200
>     Status text: OK
>     {
>     "error" :["sever error: Problem creating ' xxxx for example a
>     resource name': Couldn't create version of :#
>     <subject:0x595207f>"],
>     "saved": []
>     }
>
>
>     But when trying with v 1.0.9 plugin, it will fail at a  very early
>     stage during Repository Check.
>     Unrecoverable exception, migration stopped ...
>     Current record type: resouce Record
>     Record Identifier: DB ID: 29
>     AT ID: xxx (resource identfier)
>     java.lang.NullpointerException
>      at
>     org.archiviststoolkit.plugin.utils.aspace.ASpaceMapper.addNotes(ASpaceMapper.java:1817)
>     at
>     org.archiviststoolkit.plugin.utils.aspace.ASpaceMapper.convertResource(ASpaceMapper.java:1419)
>     at
>     org.archiviststoolkit.plugin.utils.aspace.ASpaceMapper.convert(ASpaceMapper.java:1079)
>     at
>     org.archiviststoolkit.plugin.utils.aspace.ASpaceMapper.ASpaceCopyUtil.copyResourceRecords(ASpaceCopyUtil.java:1146)
>     at
>     org.archiviststoolkit.plugin.util.dbCopyFrameS1.run(dbCopyFrame.java.:367)
>
>     Did you ever see similar problems when using v.1.0.7 or v.1.0.9
>     migrators to migrate AT data into AS?
>
>
>     Thank you
>
>     Mang Sun
>     Fondren Library
>     Rice U.
>     _______________________________________________
>     Archivesspace_Users_Group mailing list
>     Archivesspace_Users_Group at lyralists.lyrasis.org
>     <mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
>     http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>
>
>
>
> -- 
> Nathan Stevens
> Programmer/Analyst
> Digital Library Technology Services
> New York University
>
> 1212-998-2653
> ns96 at nyu.edu <mailto:ns96 at nyu.edu>
>
>
> _______________________________________________
> 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/20141023/66132b78/attachment.html>


More information about the Archivesspace_Users_Group mailing list