Hi Ahmed, Are you able to email the top 10 lines, as Andrea suggested? The likely problem is that one of your headings only has one element, for example:
title Everything needs at least two elements, schema.element, for example: dc.title (or dc.title.alternative, or dc.title.alternative[en_NZ]) If you are able to show us your file, we might be able to spot the issue. We are also aware that the error messages need to be improved with this, and hope to do this better in the next release of DSpace. Thanks, 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 On 2/03/2011, at 9:17 PM, Ahmed Maher wrote: > yes , > i tried all , > and i tried using the import command > ./dspace metadata-import -f bib-59.dublin-core.xml > > and it return this error " Error reading file: 1" > > > On 3/1/11, Andrea Schweer <schw...@waikato.ac.nz> wrote: >> Hi, >> >> On 02/03/11 01:26, Ahmed Maher wrote: >>> i have problem in metadata import >>> i try to import some dublin core records via metadata import through xmlui >>> this error appears java.lang.ArrayIndexOutOfBoundsException: 1 >> >> Make sure your metadata file follows the format described here: >> https://wiki.duraspace.org/display/DSDOC/System+Administration#SystemAdministration-TheCSVFiles >> >> Some more detail is needed to diagnose this error. Are there more lines >> in the error message? If so, could you send the top 10 lines or so? >> >> Have you tried submitting just a single record? Do you get the same >> error? If not, you could try submitting parts of your file at a time to >> find out which record is causing the problem. >> >> cheers, >> Andrea >> >> -- >> Andrea Schweer >> IRR Technical Specialist, ITS Information Systems >> The University of Waikato, Hamilton, New Zealand >> >> ------------------------------------------------------------------------------ >> Free Software Download: Index, Search & Analyze Logs and other IT data in >> Real-Time with Splunk. Collect, index and harness all the fast moving IT >> data >> generated by your applications, servers and devices whether physical, >> virtual >> or in the cloud. Deliver compliance at lower cost and gain new business >> insights. http://p.sf.net/sfu/splunk-dev2dev >> _______________________________________________ >> DSpace-tech mailing list >> DSpace-tech@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dspace-tech >> > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech