<br>the problem with the names of the subdirectories of the items is now solved.i had to pay attention the name of the file "contents" (it's "contents", not "contents.txt") <br>now, i suppose that i want to import a webpage as an item using the itemimporter from the command line.<br>Must all the files that consist the webpage be stored at the same level/depth of the subdirectory? <br>And is there any way for a simple user (not admin) who has the rights to submit to a collection to insert items with multiple files using batch import tools?<br>anna<br><br><br><b><i>anna mavroudi <annamavroudi@yahoo.gr></i></b> έγραψε:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <br>the directory path was D:/dspace_import_test1. After changing to<br>D:/import_item_test1, the test run was ok,as following:<br>**Test Run** - not actually importing items.<br>Destination Collections:<br>Owning Collection:????????
?????????<br>Adding Items from directory:import_item_test1<br>Generating mapfile: mapfile3<br>***End of Test Run ***<br><br>But when i run the same command without the test flag, the item isn't inserted in dspace, only an empty mapfile is generated....<br>Anna<br><br><b><i>Claudia JΓΌrgen <Claudia.Juergen@ub.uni-dortmund.de></i></b> έγραψε:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi Anna,<br><br>seems as if the source directory you specified is not valid, check the <br>source path specified with the -s option.<br><br><br>hope that helps<br><br>Claudia<br><br><br>anna mavroudi schrieb:<br>> Hi all,<br>> i'm trying to import items in dspace using the item importer in org.dspace.app.itemimport.ItemImport, but i get an exception as following:<br>> **Test Run** - not actually importing items.<br>> Destination Collections:<br>> Owning Collection:???????? ?????????<br>> Adding
Items from directory:<br>> Generating mapfile:mapfile7<br>> java.lang.NullPointerException<br>> at org.dspace.app.itemimport.ItemImport.addItems<ItemImport.java:498><br>> at org.dspace.app.itemimport.ItemImport.main<ItemImport.java:415><br>> java.lang.NullPointerException<br>> ***End of Test Run ***<br>> Any ideas?<br>> Thanks in advance,<br>> Anna<br>> <br>> <br>> <br>> ---------------------------------<br>> Χρησιμοποιείτε Yahoo!<br>> Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων <br>> http://login.yahoo.com/config/mail?.intl=gr <br>> <br>> <br>> ------------------------------------------------------------------------<br>> <br>> _______________________________________________<br>> Dspace-general mailing list<br>> Dspace-general@mit.edu<br>>
http://mailman.mit.edu/mailman/listinfo/dspace-general<br></ItemImport.java:415></ItemImport.java:498></blockquote><br><div> </div><hr size="1"><font face="Arial" size="-1"> Χρησιμοποιείτε Yahoo!<br> Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων <br> <a href="http://login.yahoo.com/config/mail?.intl=gr">http://login.yahoo.com/config/mail?.intl=gr</a> </font></blockquote><br><p> 
                <hr size=1><font size=-1 face=Arial>
Χρησιμοποιείτε Yahoo!<br>
Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων <br>
<a href="http://login.yahoo.com/config/mail?.intl=gr">http://login.yahoo.com/config/mail?.intl=gr</a> </font>