Josh,

I'm not familiar with the switches you are using:

-r -s n -f

You put these inside the content file?

-Jose

From: Gomez, Joshua [mailto:[email protected]] On Behalf Of Joshua Gomez
Sent: Tuesday, October 25, 2011 1:25 PM
To: Blanco, Jose
Cc: [email protected]
Subject: Re: [Dspace-tech] bitstream descriptions fail on import

Thank you for your suggestion Jose, but I don't see how it is significantly 
different from what I already tried. The only difference I see is that you may 
be using underscores instead of spaces in your descriptions. I tried that, but 
I still end up with null descriptions during the import process.

Here is an example contents file from my last attempt:

-r -s 1 -f gwu_ibt_irb_case_00208/data/PDF/gwu_ibt_irb_case_00208_ia.pdf    
description:Independent_Administrator_Decision
-r -s 1 -f gwu_ibt_irb_case_00208/data/PDF/gwu_ibt_irb_case_00208_ia2.pdf    
description:Independent_Administrator_Second_Decision
-r -s 1 -f gwu_ibt_irb_case_00208/data/PDF/gwu_ibt_irb_case_00208_dc.pdf    
description:District_Court_Decision
-r -s 1 -f gwu_ibt_irb_case_00208/data/PDF/gwu_ibt_irb_case_00208_dc2.pdf    
description:District_Court_Second_Decision
-r -s 1 -f gwu_ibt_irb_case_00208/data/PDF/gwu_ibt_irb_case_00208_dc3.pdf    
description:District_Court_Third_Decision


Why is it not reading my descriptions?

-Josh


Joshua Gomez

Digital Library Programmer Analyst

George Washington University Libraries

2130 H St, NW  Washington, DC 20052

On 10/21/2011 09:54 AM, Blanco, Jose wrote:
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]<mailto:[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