Hello,
I run a command to import AIP package data as below:
import --add --eperson=te...@test.edu -c 123456789/1885 --source=/import --zip=Authors_AAFC.zip --mapfile=/export/author_aafc
The AIP package is attached. I am testing the relationship file and get an error message as following:
......
158 item99
Processing relationships file: relationships
Started: 1681863513493
Ended: 1681863524808
Elapsed time: 11 secs (11315 msecs)
java.lang.Exception: Error committing changes to database: Bad mapfile line:
</dublin_core>, aborting most recent changes
at org.dspace.app.itemimport.ItemImport.internalRun(ItemImport.java:229)
at org.dspace.scripts.DSpaceRunnable.run(DSpaceRunnable.java:104)
at org.dspace.app.launcher.ScriptLauncher.executeScript(ScriptLauncher.java:149)
at org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:131)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98)
Caused by: java.lang.Exception: Bad mapfile line:
</dublin_core>
at org.dspace.app.itemimport.ItemImportServiceImpl.processRelationshipFile(ItemImportServiceImpl.java:501)
at org.dspace.app.itemimport.ItemImportServiceImpl.addRelationships(ItemImportServiceImpl.java:349)
at org.dspace.app.itemimport.ItemImportServiceImpl.addItems(ItemImportServiceImpl.java:323)
at org.dspace.app.itemimport.ItemImportCLI.process(ItemImportCLI.java:87)
at org.dspace.app.itemimport.ItemImport.internalRun(ItemImport.java:222)
... 4 more
Please advice.
Thank you,
Tianyi