It looks like it does not like something about your map file. Take a look at it. There may be some problem with the xml.
-Jose On Tue, Apr 18, 2023 at 8:28 PM Tianyi Gu <[email protected]> wrote: > > Hello, > > I run a command to import AIP package data as below: > > import --add [email protected] -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 > > -- > All messages to this mailing list should adhere to the Code of Conduct: > https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx > --- > You received this message because you are subscribed to the Google Groups > "DSpace Technical Support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dspace-tech/2efc8e5f-23a4-4003-84ed-fd284bb70417n%40googlegroups.com. -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-tMHv1Bbk_4Z8wi%3DaN0asHZtF%3Dku%3DkKiihMOj%3D9vwOfAA%40mail.gmail.com.
