[Archivesspace_Users_Group] EAC Export ErrorY

Chris Fitzpatrick Chris.Fitzpatrick at lyrasis.org
Tue Mar 22 14:29:02 EDT 2016



Yeah, looks like ther exporter assumes there's going to be something the Xlink section...if that's empty it causes a problem.

Made a bug ticket here:

https://archivesspace.atlassian.net/browse/AR-1453




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 Maura Carbone <mauraa at brandeis.edu>
Sent: Tuesday, March 22, 2016 6:56 PM
To: Archivesspace Users Group
Subject: [Archivesspace_Users_Group] EAC Export Error

Hi all,
I'm attempting to export some EAC for my agents and I've run into an error on the following export:
http://findingaids.brandeis.edu/agents/59?agent_type=agent_person

When I attempt to export this within my EAC I get the following error:

<biogHist>
        <aspace_export_error>ASPACE EXPORT ERROR : YOU HAVE A PROBLEM WITH YOUR EXPORT OF YOUR RESOURCE. THE FOLLOWING INFORMATION MAY HELP:

 undefined method `map' for nil:NilClass
 ["/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/exporters/serializers/eac.rb:119:in `_cpfdesc'", "org/jruby/RubyArray.java:1613:in `each'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/exporters/serializers/eac.rb:112:in `_cpfdesc'", "org/jruby/RubyProc.java:271:in `call'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/nokogiri-1.6.6.2-java/lib/nokogiri/xml/builder.rb:391:in `insert'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/nokogiri-1.6.6.2-java/lib/nokogiri/xml/builder.rb:375:in `method_missing'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/exporters/lib/exporter.rb:177:in `method_missing'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/exporters/serializers/eac.rb:111:in `_cpfdesc'", "org/jruby/RubyArray.java:1613:in `each'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/exporters/serializers/eac.rb:109:in `_cpfdesc'", "org/jruby/RubyProc.java:271:in `call'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/nokogiri-1.6.6.2-java/lib/nokogiri/xml/builder.rb:391:in `insert'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/nokogiri-1.6.6.2-java/lib/nokogiri/xml/builder.rb:375:in `method_missing'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/exporters/lib/exporter.rb:177:in `method_missing'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/exporters/serializers/eac.rb:99:in `_cpfdesc'", "org/jruby/RubyProc.java:271:in `call'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/nokogiri-1.6.6.2-java/lib/nokogiri/xml/builder.rb:391:in `insert'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/nokogiri-1.6.6.2-java/lib/nokogiri/xml/builder.rb:375:in `method_missing'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/exporters/lib/exporter.rb:177:in `method_missing'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/exporters/serializers/eac.rb:82:in `_cpfdesc'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/exporters/serializers/eac.rb:23:in `_eac'", "org/jruby/RubyProc.java:271:in `call'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/nokogiri-1.6.6.2-java/lib/nokogiri/xml/builder.rb:391:in `insert'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/nokogiri-1.6.6.2-java/lib/nokogiri/xml/builder.rb:375:in `method_missing'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/exporters/lib/exporter.rb:177:in `method_missing'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/exporters/serializers/eac.rb:16:in `_eac'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/exporters/serializers/eac.rb:7:in `serialize'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/nokogiri-1.6.6.2-java/lib/nokogiri/xml/builder.rb:293:in `initialize'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/exporters/serializers/eac.rb:6:in `serialize'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/exporters/lib/exporter.rb:94:in `serialize'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/export.rb:108:in `generate_eac'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/controllers/exports.rb:208:in `ArchivesSpaceService'", "org/jruby/RubyBasicObject.java:1574:in `instance_eval'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/rest.rb:241:in `returns'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/model/db.rb:123:in `open'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/model/db.rb:99:in `transaction'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/transactions.rb:134:in `_transaction'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/transactions.rb:122:in `_transaction'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/transactions.rb:108:in `transaction'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:98:in `hold'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:87:in `hold'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/connecting.rb:255:in `synchronize'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/transactions.rb:97:in `transaction'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/model/db.rb:98:in `transaction'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/model/db.rb:122:in `open'", "org/jruby/RubyFixnum.java:280:in `times'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/model/db.rb:119:in `open'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/rest.rb:223:in `returns'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:24:in `open'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/request_context.rb:23:in `open'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/rest.rb:207:in `returns'", "org/jruby/RubyMethod.java:116:in `call'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:1293:in `compile!'", "org/jruby/RubyProc.java:271:in `call'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:860:in `route!'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:876:in `route_eval'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:860:in `route!'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:897:in `process_route'", "org/jruby/RubyKernel.java:1242:in `catch'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:895:in `process_route'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:859:in `route!'", "org/jruby/RubyArray.java:1613:in `each'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:858:in `route!'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:963:in `dispatch!'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:946:in `invoke'", "org/jruby/RubyKernel.java:1242:in `catch'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:946:in `invoke'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:960:in `dispatch!'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:794:in `call!'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:946:in `invoke'", "org/jruby/RubyKernel.java:1242:in `catch'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:946:in `invoke'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:794:in `call!'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:780:in `call'", "/usr/local/archivesspace-v1.4.1/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:277:in `call'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/rack-1.4.7/lib/rack/nulllogger.rb:9:in `call'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/rack-1.4.7/lib/rack/head.rb:9:in `call'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:124:in `call'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:1417:in `call'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:1499:in `synchronize'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:1417:in `call'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/jruby-rack-1.1.19/lib/jruby-rack-1.1.19.jar!/vendor/rack-1.5.5/rack/builder.rb:138:in `call'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/rack-1.4.7/lib/rack/urlmap.rb:64:in `call'", "org/jruby/RubyArray.java:1613:in `each'", "/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/rack-1.4.7/lib/rack/urlmap.rb:49:in `call'", "file:/usr/local/archivesspace-v1.4.1/archivesspace/gems/gems/jruby-rack-1.1.19/lib/jruby-rack-1.1.19.jar!/rack/handler/servlet.rb:22:in `call'"]</aspace_export_error>
      </biogHist>

After the bioghist section I get the rest of the EAC. Our bioghist has 3 subnotes (text and 2 citations) none of which come across.

Any idea why this is happening? I'm running 1.4.1 so I don't know if this is fixed in 1.4.2. I didn't see a ticket about this when I looked in JIRA but I might have missed it.
--
Maura Carbone
Digital Initiatives Librarian
Brandeis University
Library and Technology Services
(781) 736-4659
415 South Street, (MS 017/P.O. Box 549110)
Waltham, MA 02454-9110
email: mauraa at brandeis.edu<mailto:mauraa at brandeis.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20160322/5a75d107/attachment.html>


More information about the Archivesspace_Users_Group mailing list