Josh,

This is what I do.

I run the import command like this:

./import org.dspace.app.itemimport.ItemImport -a -e admin_id -c 
collection_handle -s directory_to_data -m mapfile

And the in the content file you want to make sure you have

File_name\tdescription:The_actual_description

-Jose




From: Joshua Gomez [mailto:[email protected]]
Sent: Thursday, October 20, 2011 8:36 PM
To: [email protected]
Subject: [Dspace-tech] bitstream descriptions fail on import

When importing items I try to add a description to each bitstream in the 
contents file. The manual says to follow this format (I am registering the 
items, hence the '-r' at the beginning):

-r -s n -f filepath\tbundle:bundlename\tpermissions: -[r|w] 'group 
name'\tdescription: some text

When I use this format the bitstreams don't end up with any description in the 
interface. What is strange is that when I watch the import processing it says:

Registering Bitstream: [filename] Assetstore: 1  Bundle:ORIGINAL 
Description:ORIGINAL

Why is it putting ORIGINAL in the description when that is definitely not 
what's in the contents file?

I tried doing something different. I used the following format which skips the 
bundle and permissions:

-r -s n -f filepath\tdescription: some text

This gave me the following output:

Registering Bitstream: [filename] Assetstore: 1  Bundle:null Description:null

It seems the import script is only looking at the bundle option.  Anyone 
understand why this isn't working for me? Is there a bug with the arguments for 
the import script or am I missing something?

FYI: I'm using DSpace 1.7 on Ubuntu 10.04, but I noticed this same problem in 
DSpace 1.6.

Thanks,
Josh
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to