[Archivesspace_Users_Group] Error from ead_export.sh
Steven Majewski
sdm7g at virginia.edu
Tue Nov 18 14:39:25 EST 2014
I’m getting this error trying the ead_export cli after about 1200+ of 3000+ items exported.
I suspect it’s because the item it’s failing on has slashes in the unitid :
<did>
<langmaterial>
<language langcode="eng">English</language>
</langmaterial>
<repository>
<corpname>University of Virginia, Special Collections Dept.</corpname>
</repository>
<unittitle>Papers of the Dean of Students</unittitle>
<unitid>18/2/1.072</unitid>
<physdesc altrender="whole">
<extent altrender="materialtype spaceoccupied">1 arbitrary_whole</extent>
</physdesc>
</did>
and the code appears to be using that id as part of the temporary filename.
archivesspace$ ./scripts/ead_export.sh admin admin 2
Loading ArchivesSpace configuration file from path: /projects/Archivespace/archivesspace/./config/config.rb
Loading ArchivesSpace configuration file from path: /projects/Archivespace/archivesspace/./config/config.rb
IOError: No such file or directory
create at file:/projects/Archivespace/archivesspace/gems/gems/jruby-jars-1.7.11/lib/jruby-stdlib-complete-1.7.11.jar!/META-INF/jruby.home/lib/ruby/shared/tmpdir.rb:0
initialize19 at org/jruby/ext/tempfile/Tempfile.java:94
new at org/jruby/RubyIO.java:852
main at ../launcher/ead_export/lib/ead_export.rb:93
each at org/jruby/RubyArray.java:1613
main at ../launcher/ead_export/lib/ead_export.rb:86
(root) at ../launcher/ead_export/lib/ead_export.rb:107
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20141118/449c55b2/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/20141118/449c55b2/attachment.bin>
More information about the Archivesspace_Users_Group
mailing list