Hi,

 

I use dspace 6.2 xmlui and trying to import items from arxiv.org via BTE 
using dspace import command line as described here:

https://wiki.duraspace.org/pages/viewpage.action?pageId=68064788

 

The document is not clear if the "dspace import" command line will also 
work for xmlui?

 

If i run the command as dspace user i get this error, i verified all files 
and folders permission is correct and owned by dspace user with writable 
permission. 

 

[dspace@server ~]$ dspace import -b -m arXiv_mapFile -e [email protected] -c 
20.500.12111/891 -s imports/1804.04739.xml -i arxivXML

Destination collections:

Owning  Collection: researcher_name

INFO: Dataloader will load data from the file specified in the command 
prompt (and not from the Spring XML configuration file)

INFO: Dataloader org.dspace.submit.lookup.ArXivFileDataLoader@166ed1a3 will 
be used for the import!

Adding items from directory: /home/dspace/imports/20180417_1456_wsTJeodl

Generating mapfile: arXiv_mapFile

java.lang.Exception: Error, cannot open source directory 
/home/dspace/imports/20180417_1456_wsTJeodl

at 
org.dspace.app.itemimport.ItemImportServiceImpl.addItems(ItemImportServiceImpl.java:302)

at 
org.dspace.app.itemimport.ItemImportServiceImpl.addBTEItems(ItemImportServiceImpl.java:242)

at 
org.dspace.app.itemimport.ItemImportCLITool.main(ItemImportCLITool.java:381)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)

at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)

java.lang.Exception: Error, cannot open source directory 
/home/dspace/imports/20180417_1456_wsTJeodl

Started: 1523991357249

Ended: 1523991360119

Elapsed time: 2 secs (2870 msecs)

 

Thanks,

Mike

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to