DSpace XMLUI Batch-Importer:导入失败(没有这样的文件或目录)

DSpace XMLUI Batch-Importer: Import fails (No such file or directory)

尝试通过 XMLUI 批量导入 SimpleArchiveFormat-zip 文件仍然失败。我收到的错误消息是 Import failed /home/dspace/dspace/imports/import.zip/item_001/dublin_core.xml (No such file or directory)。 这很奇怪,因为创建目录、创建映射文件和解压缩文件似乎都可以正常工作(请参阅下面的 dspace.log 和监视 "imports"-dir 的输出)。

dspace.log

2016-01-07 14:46:55,800 INFO  org.dspace.app.itemimport.ItemImport @ Created org.dspace.app.batchitemimport.work.dir of: /home/dspace/dspace/imports
2016-01-07 14:46:55,824 INFO  org.dspace.app.xmlui.aspect.administrative.FlowBatchImportUtils @ Attempt UIBatchImport to collection: Fakultätsratsprotokolle der Fakultät für Geisteswissenschaften, zip: import.zip, map: /home/dspace/dspace/imports/import.zip8386418726670935229.map
2016-01-07 14:46:55,825 ERROR org.dspace.app.itemimport.ItemImport @ Unable to create contents directory: /home/dspace/dspace/imports/import.zip/item_001/
2016-01-07 14:46:55,825 INFO  org.dspace.app.itemimport.ItemImport @ Extracting file: item_001/2011-01-12.pdf
2016-01-07 14:46:55,829 INFO  org.dspace.app.itemimport.ItemImport @ Extracting file: item_001/contents
2016-01-07 14:46:55,829 INFO  org.dspace.app.itemimport.ItemImport @ Extracting file: item_001/dublin_core.xml
2016-01-07 14:46:55,830 INFO  org.dspace.app.itemimport.ItemImport @ Extracting file: item_002/2011-02-09.pdf
2016-01-07 14:46:55,834 INFO  org.dspace.app.itemimport.ItemImport @ Extracting file: item_002/contents
2016-01-07 14:46:55,835 INFO  org.dspace.app.itemimport.ItemImport @ Extracting file: item_002/dublin_core.xml
2016-01-07 14:46:55,835 INFO  org.dspace.app.itemimport.ItemImport @ Extracting file: item_003/2011-04-06.pdf
2016-01-07 14:46:55,836 INFO  org.dspace.app.itemimport.ItemImport @ Extracting file: item_003/contents
2016-01-07 14:46:55,836 INFO  org.dspace.app.itemimport.ItemImport @ Extracting file: item_003/dublin_core.xml
2016-01-07 14:46:55,867 INFO  org.dspace.content.Item @ kai.woerner@uni-hamburg.de:session_id=AF948601DF1A1248669B8BE43058C912:ip_addr=134.100.73.56:update_item:item_id=23
2016-01-07 14:46:55,883 INFO  org.dspace.content.Item @ kai.woerner@uni-hamburg.de:session_id=AF948601DF1A1248669B8BE43058C912:ip_addr=134.100.73.56:create_item:item_id=23
2016-01-07 14:46:55,924 INFO  org.dspace.content.Item @ kai.woerner@uni-hamburg.de:session_id=AF948601DF1A1248669B8BE43058C912:ip_addr=134.100.73.56:update_item:item_id=23
2016-01-07 14:46:55,933 INFO  org.dspace.content.WorkspaceItem @ kai.woerner@uni-hamburg.de:session_id=AF948601DF1A1248669B8BE43058C912:ip_addr=134.100.73.56:create_workspace_item:workspace_item_id=-1item_id=23collection_id=2
2016-01-07 14:46:55,981 ERROR org.dspace.app.itemimport.ItemImport @ AddItems encountered an error, will try to revert. Error: /home/dspace/dspace/imports/import.zip/item_001/dublin_core.xml  (No such file or directory)
2016-01-07 14:46:55,985 INFO  org.dspace.event.EventManager @ 
2016-01-07 14:46:56,020 INFO  org.dspace.app.itemimport.ItemImport @ Attempted to delete partial (errored) import
2016-01-07 14:46:56,020 ERROR org.dspace.app.xmlui.aspect.administrative.FlowBatchImportUtils @ BatchImportUI - Failure during import: /home/dspace/dspace/imports/import.zip/item_001/dublin_core.xml  (No such file or directory)

来自inotifywait -mr --timefmt '%H:%M' --format '%T %w %e %f' /home/dspace/dspace/imports

的输出
14:36 /home/dspace/dspace/imports/ CREATE import.zip1190120347740836957.map
14:36 /home/dspace/dspace/imports/ OPEN import.zip1190120347740836957.map
14:36 /home/dspace/dspace/imports/ CLOSE_WRITE,CLOSE import.zip1190120347740836957.map
14:36 /home/dspace/dspace/imports/ CREATE,ISDIR import.zip
14:36 /home/dspace/dspace/imports/ OPEN,ISDIR import.zip
14:36 /home/dspace/dspace/imports/ CLOSE_NOWRITE,CLOSE,ISDIR import.zip
14:36 /home/dspace/dspace/imports/import.zip/ CREATE,ISDIR item_001
14:36 /home/dspace/dspace/imports/import.zip/ OPEN,ISDIR item_001
14:36 /home/dspace/dspace/imports/import.zip/ CLOSE_NOWRITE,CLOSE,ISDIR item_001
14:36 /home/dspace/dspace/imports/import.zip/item_001/ CREATE 2011-01-12.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_001/ OPEN 2011-01-12.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_001/ MODIFY 2011-01-12.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_001/ MODIFY 2011-01-12.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_001/ MODIFY 2011-01-12.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_001/ MODIFY 2011-01-12.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_001/ MODIFY 2011-01-12.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_001/ MODIFY 2011-01-12.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_001/ MODIFY 2011-01-12.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_001/ MODIFY 2011-01-12.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_001/ MODIFY 2011-01-12.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_001/ MODIFY 2011-01-12.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_001/ MODIFY 2011-01-12.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_001/ MODIFY 2011-01-12.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_001/ MODIFY 2011-01-12.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_001/ MODIFY 2011-01-12.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_001/ CLOSE_WRITE,CLOSE 2011-01-12.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_001/ CREATE contents
14:36 /home/dspace/dspace/imports/import.zip/item_001/ OPEN contents
14:36 /home/dspace/dspace/imports/import.zip/item_001/ MODIFY contents
14:36 /home/dspace/dspace/imports/import.zip/item_001/ CLOSE_WRITE,CLOSE contents
14:36 /home/dspace/dspace/imports/import.zip/item_001/ CREATE dublin_core.xml
14:36 /home/dspace/dspace/imports/import.zip/item_001/ OPEN dublin_core.xml
14:36 /home/dspace/dspace/imports/import.zip/item_001/ MODIFY dublin_core.xml
14:36 /home/dspace/dspace/imports/import.zip/item_001/ CLOSE_WRITE,CLOSE dublin_core.xml
14:36 /home/dspace/dspace/imports/import.zip/ CREATE,ISDIR item_002
14:36 /home/dspace/dspace/imports/import.zip/ OPEN,ISDIR item_002
14:36 /home/dspace/dspace/imports/import.zip/ CLOSE_NOWRITE,CLOSE,ISDIR item_002
14:36 /home/dspace/dspace/imports/import.zip/item_002/ CREATE 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ OPEN 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ CLOSE_WRITE,CLOSE 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ CREATE contents
14:36 /home/dspace/dspace/imports/import.zip/item_002/ OPEN contents
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY contents
14:36 /home/dspace/dspace/imports/import.zip/item_002/ CLOSE_WRITE,CLOSE contents
14:36 /home/dspace/dspace/imports/import.zip/item_002/ CREATE dublin_core.xml
14:36 /home/dspace/dspace/imports/import.zip/item_002/ OPEN dublin_core.xml
14:36 /home/dspace/dspace/imports/import.zip/item_002/ MODIFY dublin_core.xml
14:36 /home/dspace/dspace/imports/import.zip/item_002/ CLOSE_WRITE,CLOSE dublin_core.xml
14:36 /home/dspace/dspace/imports/import.zip/ CREATE,ISDIR item_003
14:36 /home/dspace/dspace/imports/import.zip/ OPEN,ISDIR item_003
14:36 /home/dspace/dspace/imports/import.zip/ CLOSE_NOWRITE,CLOSE,ISDIR item_003
14:36 /home/dspace/dspace/imports/import.zip/item_003/ CREATE 2011-04-06.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_003/ OPEN 2011-04-06.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_003/ MODIFY 2011-04-06.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_003/ MODIFY 2011-04-06.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_003/ MODIFY 2011-04-06.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_003/ MODIFY 2011-04-06.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_003/ MODIFY 2011-04-06.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_003/ MODIFY 2011-04-06.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_003/ CLOSE_WRITE,CLOSE 2011-04-06.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_003/ CREATE contents
14:36 /home/dspace/dspace/imports/import.zip/item_003/ OPEN contents
14:36 /home/dspace/dspace/imports/import.zip/item_003/ MODIFY contents
14:36 /home/dspace/dspace/imports/import.zip/item_003/ CLOSE_WRITE,CLOSE contents
14:36 /home/dspace/dspace/imports/import.zip/item_003/ CREATE dublin_core.xml
14:36 /home/dspace/dspace/imports/import.zip/item_003/ OPEN dublin_core.xml
14:36 /home/dspace/dspace/imports/import.zip/item_003/ MODIFY dublin_core.xml
14:36 /home/dspace/dspace/imports/import.zip/item_003/ CLOSE_WRITE,CLOSE dublin_core.xml
14:36 /home/dspace/dspace/imports/ MODIFY import.zip1190120347740836957.map
14:36 /home/dspace/dspace/imports/ OPEN import.zip1190120347740836957.map
14:36 /home/dspace/dspace/imports/ OPEN,ISDIR import.zip
14:36 /home/dspace/dspace/imports/import.zip/ OPEN,ISDIR
14:36 /home/dspace/dspace/imports/ CLOSE_NOWRITE,CLOSE,ISDIR import.zip
14:36 /home/dspace/dspace/imports/import.zip/ CLOSE_NOWRITE,CLOSE,ISDIR
14:36 /home/dspace/dspace/imports/import.zip/item_001/ OPEN dublin_core.xml
14:36 /home/dspace/dspace/imports/import.zip/item_001/ ACCESS dublin_core.xml
14:36 /home/dspace/dspace/imports/import.zip/item_001/ CLOSE_NOWRITE,CLOSE dublin_core.xml
14:36 /home/dspace/dspace/imports/import.zip/ OPEN,ISDIR item_001
14:36 /home/dspace/dspace/imports/import.zip/item_001/ OPEN,ISDIR
14:36 /home/dspace/dspace/imports/import.zip/ CLOSE_NOWRITE,CLOSE,ISDIR item_001
14:36 /home/dspace/dspace/imports/import.zip/item_001/ CLOSE_NOWRITE,CLOSE,ISDIR
14:36 /home/dspace/dspace/imports/import.zip/item_001/ OPEN contents
14:36 /home/dspace/dspace/imports/import.zip/item_001/ ACCESS contents
14:36 /home/dspace/dspace/imports/import.zip/item_001/ CLOSE_NOWRITE,CLOSE contents
14:36 /home/dspace/dspace/imports/ CLOSE_WRITE,CLOSE import.zip1190120347740836957.map
14:36 /home/dspace/dspace/imports/ OPEN import.zip1190120347740836957.map
14:36 /home/dspace/dspace/imports/ CLOSE_NOWRITE,CLOSE import.zip1190120347740836957.map
14:36 /home/dspace/dspace/imports/ OPEN import.zip1190120347740836957.map
14:36 /home/dspace/dspace/imports/ CLOSE_NOWRITE,CLOSE import.zip1190120347740836957.map
14:36 /home/dspace/dspace/imports/ OPEN,ISDIR
14:36 /home/dspace/dspace/imports/ CLOSE_NOWRITE,CLOSE,ISDIR
14:36 /home/dspace/dspace/imports/ DELETE import.zip1190120347740836957.map
14:36 /home/dspace/dspace/imports/ OPEN,ISDIR import.zip
14:36 /home/dspace/dspace/imports/import.zip/ OPEN,ISDIR
14:36 /home/dspace/dspace/imports/ CLOSE_NOWRITE,CLOSE,ISDIR import.zip
14:36 /home/dspace/dspace/imports/import.zip/ CLOSE_NOWRITE,CLOSE,ISDIR
14:36 /home/dspace/dspace/imports/import.zip/ OPEN,ISDIR item_001
14:36 /home/dspace/dspace/imports/import.zip/item_001/ OPEN,ISDIR
14:36 /home/dspace/dspace/imports/import.zip/ CLOSE_NOWRITE,CLOSE,ISDIR item_001
14:36 /home/dspace/dspace/imports/import.zip/item_001/ CLOSE_NOWRITE,CLOSE,ISDIR
14:36 /home/dspace/dspace/imports/import.zip/item_001/ DELETE contents
14:36 /home/dspace/dspace/imports/import.zip/item_001/ DELETE 2011-01-12.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_001/ DELETE dublin_core.xml
14:36 /home/dspace/dspace/imports/import.zip/item_001/ DELETE_SELF
14:36 /home/dspace/dspace/imports/import.zip/ DELETE,ISDIR item_001
14:36 /home/dspace/dspace/imports/import.zip/ OPEN,ISDIR item_003
14:36 /home/dspace/dspace/imports/import.zip/item_003/ OPEN,ISDIR
14:36 /home/dspace/dspace/imports/import.zip/ CLOSE_NOWRITE,CLOSE,ISDIR item_003
14:36 /home/dspace/dspace/imports/import.zip/item_003/ CLOSE_NOWRITE,CLOSE,ISDIR
14:36 /home/dspace/dspace/imports/import.zip/item_003/ DELETE contents
14:36 /home/dspace/dspace/imports/import.zip/item_003/ DELETE 2011-04-06.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_003/ DELETE dublin_core.xml
14:36 /home/dspace/dspace/imports/import.zip/item_003/ DELETE_SELF
14:36 /home/dspace/dspace/imports/import.zip/ DELETE,ISDIR item_003
14:36 /home/dspace/dspace/imports/import.zip/ OPEN,ISDIR item_002
14:36 /home/dspace/dspace/imports/import.zip/item_002/ OPEN,ISDIR
14:36 /home/dspace/dspace/imports/import.zip/ CLOSE_NOWRITE,CLOSE,ISDIR item_002
14:36 /home/dspace/dspace/imports/import.zip/item_002/ CLOSE_NOWRITE,CLOSE,ISDIR
14:36 /home/dspace/dspace/imports/import.zip/item_002/ DELETE contents
14:36 /home/dspace/dspace/imports/import.zip/item_002/ DELETE 2011-02-09.pdf
14:36 /home/dspace/dspace/imports/import.zip/item_002/ DELETE dublin_core.xml
14:36 /home/dspace/dspace/imports/import.zip/item_002/ DELETE_SELF
14:36 /home/dspace/dspace/imports/import.zip/ DELETE,ISDIR item_002
14:36 /home/dspace/dspace/imports/import.zip/ DELETE_SELF
14:36 /home/dspace/dspace/imports/ DELETE,ISDIR import.zip
14:36 /home/dspace/dspace/imports/ DELETE_SELF

这是我的错:我将 dublin_core.xml 添加到内容文件 where it does not belong。对不起。