Hi Muhammad,
> I am technically moderate level proficient with IT systems, Linux etc.
> However, I have no experience of library management. My University's library
> folks would like to migrate their data from DBTextWorks to DSpace. They asked
> if I could help them do that data migration (as a volunteer). I'm using this
> webpage as the guide.
> I exported the data from a DBTextWorks collection into a CSV (attached). When
> I try ./dspace metadata-import -f Pamphlets.csv -e [email protected], I get
> an ArrayIndexOutOfBoundException Index: 1, Size: 1. How do I locate which
> line in the CSV file is causing this exception to be thrown?
This error (which is unhelpful - we need to fix it) usually means one of the
headings in the first row is incorrect.
The first two columns should have headers of 'id' and 'collection'.
All other columns after that need headers like:
schema.element.qualifier[language]
(qualifier and language are optional).
Check that everything has a schema and element, usually something like
'dc.title'.
The ArrayIndexOutOfBoundException occurs when you only have one piece of text,
with no periods ('.'), such as just 'title' instead of 'dc.title'.
I hope that helps,
Stuart Lewis
Digital Development Manager
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: +64 (0)9 373 7599 x81928
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Dspace-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-general