mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Update notes for 2017-12-17
This commit is contained in:
@ -212,3 +212,30 @@ UPDATE 1
|
||||
```
|
||||
$ JAVA_OPTS="-Xmx512m -Dfile.encoding=UTF-8" ~/dspace/bin/dspace import --add --eperson=aorth@mjanja.ch --collection=10568/89338 --source /Users/aorth/Downloads/2016\ bulk\ upload\ thumbnails/SimpleArchiveFormat --mapfile=/tmp/ccafs.map &> /tmp/ccafs.log
|
||||
```
|
||||
|
||||
- It's the same on DSpace Test, I can't import the SAF bundle without specifying the collection:
|
||||
|
||||
```
|
||||
$ dspace import --add --eperson=aorth@mjanja.ch --mapfile=/tmp/ccafs.map --source=/tmp/ccafs-2016/SimpleArchiveFormat
|
||||
No collections given. Assuming 'collections' file inside item directory
|
||||
Adding items from directory: /tmp/ccafs-2016/SimpleArchiveFormat
|
||||
Generating mapfile: /tmp/ccafs.map
|
||||
Processing collections file: collections
|
||||
Adding item from directory item_1
|
||||
java.lang.NullPointerException
|
||||
at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:865)
|
||||
at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:736)
|
||||
at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:498)
|
||||
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:226)
|
||||
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78)
|
||||
java.lang.NullPointerException
|
||||
Started: 1513521856014
|
||||
Ended: 1513521858573
|
||||
Elapsed time: 2 secs (2559 msecs)
|
||||
```
|
||||
|
||||
- For now I'll import into a collection in DSpace Test but I'm really not sure what's up with this!
|
||||
|
Reference in New Issue
Block a user