Hi all, I am trying to test importing into DSpace via simple archive format. This is a test on my local machine which has the following setup:
O/S: Ubuntu 15.10 DSpace: 4.1 Tomcat: 8 Java: OpenJDK 1.8.0 I'm using a command like: $ cd [dspace]/bin $ ./dspace import -a -e [email protected] -c 123456789/2 -s ./scans -m mapfile -t The output is: **Test Run** - not actually importing items. Destination collections: Owning Collection: Scanned Theses Adding items from directory: ./scans Generating mapfile: mapfile Adding item from directory 0000000613213139-GodboldJane_2012 Loading dublin core from ./scans/0000000613213139-GodboldJane_2012/dublin_core.xml Schema: dc Element: title Qualifier: none Value: The tale of a mermaid: a discourse of disharmony Schema: dc Element: date Qualifier: issued Value: 2012 Processing contents file: ./scans/0000000613213139-GodboldJane_2012/contents java.io.FileNotFoundException: ./scans/0000000613213139-GodboldJane_2012/0000000613213139-GodboldJane_2012.pdf (No such file or directory) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at java.io.FileInputStream.<init>(FileInputStream.java:93) at org.dspace.app.itemimport.ItemImport.processContentFileEntry(ItemImport.java:1521) at org.dspace.app.itemimport.ItemImport.processContentsFile(ItemImport.java:1453) at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:913) at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:780) at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:567) 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:497) at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77) java.io.FileNotFoundException: ./scans/0000000613213139-GodboldJane_2012/0000000613213139-GodboldJane_2012.pdf (No such file or directory) ***End of Test Run*** Started: 1457668369080 Ended: 1457668371751 Elapsed time: 2 secs (2671 msecs) Tomcat is running as user dspace. All directories and files under [dspace] are owned by the dspace user. I have even tried chmod 777 on said directories. I don't know what else to do - any help would be much appreciated. Thanks, Gary -- 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.
