[Archivesspace_Users_Group] ArchiveSpace Failing to Import Two Legacy EAD Finding Aids
Jared Campbell
jlecampbell at ucdavis.edu
Wed Aug 5 14:29:55 EDT 2015
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/20150805/e2c1aaf8/attachment.html>
More information about the Archivesspace_Users_Group
mailing list