[Archivesspace_Users_Group] ArchiveSpace Failing to Import Two Legacy EAD Finding Aids
Chris Fitzpatrick
Chris.Fitzpatrick at lyrasis.org
Thu Aug 6 06:35:13 EDT 2015
Hi Jared,
So, would it be possible for you to send the EAD files?
For snyder.xml, there's a <cronitem> that seems to be causing an issue.
For eastman.xml, its a daodesc, but that one seems a little more complicated...I might need to look at the EAD to figure that one out.
b,chris.
Chris Fitzpatrick | Developer, ArchivesSpace
Skype: chrisfitzpat | Phone: 918.236.6048
http://archivesspace.org/
________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Jared Campbell <jlecampbell at ucdavis.edu>
Sent: Wednesday, August 5, 2015 8:29 PM
To: archivesspace_users_group at lyralists.lyrasis.org
Subject: [Archivesspace_Users_Group] ArchiveSpace Failing to Import Two Legacy EAD Finding Aids
Hello Fellow ASpacers,
I am wondering if anybody out there can shed some light on the following error messages I'm getting when I try to import two large (17MB and 9.2MB) and "old" legacy EAD FA's into ASpace. No doubt there are some issues mapping the older encoding in these files to ASpace but all I'm getting are <NoMethodError>'s, so I am not sure if it is the encoding or the size of the FA's that are causing the problems (or some other completely separate issue).
First the error messages from the import page:
==================================================
eastman.xml
==================================================
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
IMPORT ERROR
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Error: #<NoMethodError: undefined method `+' for nil:
AND
==================================================
snyder.xml
==================================================
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
IMPORT ERROR
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Error: #<NoMethodError: undefined method `items' for #<#<Class:0x7c31e28f>:0x7d5a8b45>>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
And from ASpace system log:
snyder.xml
E, [2015-07-07T12:36:29.710000 #5901] ERROR -- : Thread-22066: Job 71 failed: undefined method `items' for #<#<Class:0x7c31e28f>:0x7d5a8b45> ["/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/converters/ead_converter.rb:386:in `_chronitem'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/converters/lib/xml_sax.rb:139:in `handle_opener'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/converters/lib/xml_sax.rb:91:in `run'", "/usr/local/archivesspace-1.2.0/gems/gems/nokogiri-1.6.6.2-java/lib/nokogiri/xml/reader.rb:107:in `each'", "org/jruby/RubyEnumerable.java:977:in `each_with_index'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/converters/lib/xml_sax.rb:75:in `run'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/batch_import_runner.rb:72:in `run'", "org/jruby/RubyArray.java:1613:in `each'", "org/jruby/RubyEnumerable.java:977:in `each_with_index'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/batch_import_runner.rb:68:in `run'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/model/db.rb:117:in `open'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/model/db.rb:93:in `transaction'", "/usr/local/archivesspace-1.2.0/gems/gems/sequel-4.20.0/lib/sequel/database/transactions.rb:134:in `_transaction'", "/usr/local/archivesspace-1.2.0/gems/gems/sequel-4.20.0/lib/sequel/database/transactions.rb:122:in `_transaction'", "/usr/local/archivesspace-1.2.0/gems/gems/sequel-4.20.0/lib/sequel/database/transactions.rb:108:in `transaction'", "/usr/local/archivesspace-1.2.0/gems/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:98:in `hold'", "/usr/local/archivesspace-1.2.0/gems/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:87:in `hold'", "/usr/local/archivesspace-1.2.0/gems/gems/sequel-4.20.0/lib/sequel/database/connecting.rb:255:in `synchronize'", "/usr/local/archivesspace-1.2.0/gems/gems/sequel-4.20.0/lib/sequel/database/transactions.rb:97:in `transaction'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/model/db.rb:92:in `transaction'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/model/db.rb:116:in `open'", "org/jruby/RubyFixnum.java:280:in `times'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/model/db.rb:113:in `open'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/batch_import_runner.rb:64:in `run'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:100:in `run_pending_job'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:128:in `start_background_thread'"]
eastman.xml:
E, [2015-07-07T12:40:01.988000 #5901] ERROR -- : Thread-22066: Job 72 failed: undefined method `+' for nil:NilClass ["/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/converters/ead_converter.rb:667:in `_daogrp'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/converters/lib/xml_sax.rb:286:in `ancestor'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/converters/ead_converter.rb:667:in `_daogrp'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/converters/lib/xml_sax.rb:139:in `handle_opener'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/converters/lib/xml_sax.rb:91:in `run'", "/usr/local/archivesspace-1.2.0/gems/gems/nokogiri-1.6.6.2-java/lib/nokogiri/xml/reader.rb:107:in `each'", "org/jruby/RubyEnumerable.java:977:in `each_with_index'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/converters/lib/xml_sax.rb:75:in `run'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/batch_import_runner.rb:72:in `run'", "org/jruby/RubyArray.java:1613:in `each'", "org/jruby/RubyEnumerable.java:977:in `each_with_index'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/batch_import_runner.rb:68:in `run'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/model/db.rb:117:in `open'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/model/db.rb:93:in `transaction'", "/usr/local/archivesspace-1.2.0/gems/gems/sequel-4.20.0/lib/sequel/database/transactions.rb:134:in `_transaction'", "/usr/local/archivesspace-1.2.0/gems/gems/sequel-4.20.0/lib/sequel/database/transactions.rb:122:in `_transaction'", "/usr/local/archivesspace-1.2.0/gems/gems/sequel-4.20.0/lib/sequel/database/transactions.rb:108:in `transaction'", "/usr/local/archivesspace-1.2.0/gems/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:98:in `hold'", "/usr/local/archivesspace-1.2.0/gems/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:87:in `hold'", "/usr/local/archivesspace-1.2.0/gems/gems/sequel-4.20.0/lib/sequel/database/connecting.rb:255:in `synchronize'", "/usr/local/archivesspace-1.2.0/gems/gems/sequel-4.20.0/lib/sequel/database/transactions.rb:97:in `transaction'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/model/db.rb:92:in `transaction'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/model/db.rb:116:in `open'", "org/jruby/RubyFixnum.java:280:in `times'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/model/db.rb:113:in `open'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/batch_import_runner.rb:64:in `run'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:100:in `run_pending_job'", "/usr/local/archivesspace-1.2.0/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/background_job_queue.rb:128:in `start_background_thread'"]
Thanks in advance for any insight,
--JC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150806/7bd383d8/attachment.html>
More information about the Archivesspace_Users_Group
mailing list