Θέμα: Re: [Dspace-general] exception when importing items-solved

anna mavroudi annamavroudi at yahoo.gr
Wed Nov 28 08:59:14 EST 2007


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") 
now, i suppose that i want to import a webpage as an item using the itemimporter from the command line.
Must all the files that consist the webpage be stored at the same level/depth of the subdirectory? 
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?
anna


anna mavroudi <annamavroudi at yahoo.gr> έγραψε: 
the directory path was D:/dspace_import_test1. After changing to
D:/import_item_test1, the test run was ok,as following:
**Test Run** - not actually importing items.
Destination Collections:
Owning Collection:????????    ?????????
Adding Items from directory:import_item_test1
Generating mapfile: mapfile3
***End of Test Run ***

But when i run the same command without the test flag, the item isn't inserted in dspace, only an empty mapfile is generated....
Anna

Claudia JΓΌrgen <Claudia.Juergen at ub.uni-dortmund.de> έγραψε: Hi Anna,

seems as if the source directory you specified is not valid, check the 
source path specified with the -s option.


hope that helps

Claudia


anna mavroudi schrieb:
> Hi all,
> 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:
> **Test Run** - not actually importing items.
> Destination Collections:
> Owning Collection:????????    ?????????
> Adding Items from directory:
> Generating mapfile:mapfile7
> java.lang.NullPointerException
> at org.dspace.app.itemimport.ItemImport.addItems
> at org.dspace.app.itemimport.ItemImport.main
> java.lang.NullPointerException
> ***End of Test Run ***
> Any ideas?
> Thanks in advance,
> Anna
> 
> 
>    
> ---------------------------------
>  Χρησιμοποιείτε Yahoo!
>  Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων 
>  http://login.yahoo.com/config/mail?.intl=gr 
> 
> 
>  ------------------------------------------------------------------------
> 
> _______________________________________________
> Dspace-general mailing list
> Dspace-general at mit.edu
> http://mailman.mit.edu/mailman/listinfo/dspace-general

    

---------------------------------
  Χρησιμοποιείτε Yahoo!
  Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων 
  http://login.yahoo.com/config/mail?.intl=gr 

 		
---------------------------------
 Χρησιμοποιείτε Yahoo!
 Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων 
 http://login.yahoo.com/config/mail?.intl=gr 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/dspace-general/attachments/20071128/5eed8b49/attachment.htm


More information about the Dspace-general mailing list