It's probably not finding your source directory.  If you're using the
long command form, then you should state
"--source=/path/to/folder_item".
Also, in 1.5.x you no longer have to use dsrun. You can use
dspace/bin/import instead.
-- 



>>> On 6/25/2009 at 11:16 PM, in message
<[email protected]>, "Suvarsha W. Minj"
<[email protected]> wrote:

> Jason,
> 
> This is the command: from the dsapce/bin directory
> 
> ./dsrun org.dspace.app.itemimport.ItemImport --add
[email protected] 
> --collection=123456789/34 --source /path/to/folder_item 
> --mapfile=2009062578.ingest.map
> 
> --- On Thu, 6/25/09, Jason Stirnaman <[email protected]> wrote:
> 
>> From: Jason Stirnaman <[email protected]>
>> Subject: Re: [Dspace-tech] Batch Upload - blank mapfile
>> To: [email protected], "Suvarsha W. Minj" 
> <[email protected]>
>> Date: Thursday, June 25, 2009, 11:02 AM
>> Suvarsha,
>> What commands are you sending?
>> 
>> > Or is this a 
>> > DSpace Ver. 1.5.2 bug?
>> 
>> I've been using the item importer in 1.5.2 and it works as
>> you'd
>> expect.
>> 
>> Regards,
>> 
>> Jason
>> -- 
>> 
>> 
>> 
>> >>> On 6/25/2009 at 9:50 AM, in message
>> <[email protected]>,
>> "Suvarsha W. Minj"
>> <[email protected]>
>> wrote:
>> 
>> > Hello everyone,
>> > 
>> > We are trying to batch upload files into DSpace ver.
>> 1.5.2
>> > 
>> > The command is going through with the following
>> output:
>> > -----------------------------
>> > Destination collections:
>> > Owning  Collection: Images Collection
>> > Adding items from directory: /path/to/folder/
>> > Generating mapfile: 2009062578.ingest.map
>> > -----------------------------
>> > 
>> > Though it does not show errors, the import does not
>> seem to be
>> complete. It 
>> > does not show in the collection. And from what I read
>> on forums the
>> output 
>> > should show much more if import is successful. 
>> > 
>> > The source folder seems fine too - containing the file
>> to be
>> imported, the 
>> > metadata xml file and the 'contents' file.
>> > 
>> > The mapfile generated is blank. Is DSpace having
>> trouble generating a
>> 
>> > handle? (It works however with the normal browser
>> uploading). Or is
>> this a 
>> > DSpace Ver. 1.5.2 bug? Any ideas to help resolve this
>> issue? 
>> > 
>> > Thanks,
>> > 
>> > Suvarsha
>> > 
>> > 
>> >       
>> > 
>> >
>>
------------------------------------------------------------------------------
>> > _______________________________________________
>> > DSpace-tech mailing list
>> > [email protected] 
>> 
>> > https://lists.sourceforge.net/lists/listinfo/dspace-tech 
>> 

------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to