Failed ItemImport (Robert Roggenbuck)
Try reversing the process, that is:
1/ setup your meta schema registry names, dct, marc, uos and vCard
2/ add an item to your repository utlising fields from these meta data
registry names
3/ Export the item, that is, run ItemExport
4/ this will create the required directory with the exported files,
handle file, xml files, contents file
5/ From there you can import the item, to check the syntax, running
ItemImport
regards
Graeme Fox
Project Manager
Information Technology Services
Massey University
Private Bag 11222 Email: [EMAIL PROTECTED]
Palmerston North Phone: +64 6 350-5799 ext 2109
New Zealand Mobile: 027 3584848
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Saturday, 28 June 2008 7:05 a.m.
To: [email protected]
Subject: DSpace-tech Digest, Vol 26, Issue 69
Send DSpace-tech mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/dspace-tech
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of DSpace-tech digest..."
Today's Topics:
1. Re: encoding in introductory text (xmlui) (Dorothea Salo)
2. Failed ItemImport (Robert Roggenbuck)
3. DSpace 1.5 -- index-all (Olive Lee)
4. Index and display (Jeffrey Trimble)
5. Re: DSpace 1.5 -- index-all (Stuart Lewis)
----------------------------------------------------------------------
Message: 1
Date: Fri, 27 Jun 2008 09:03:16 -0500
From: "Dorothea Salo" <[EMAIL PROTECTED]>
Subject: Re: [Dspace-tech] encoding in introductory text (xmlui)
To: [email protected]
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=UTF-8
On Fri, Jun 27, 2008 at 7:46 AM, Xaquin Lores <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm having troubles with encodings when writing introductory text (html) of
> communities with Manakin.
Encodings are headache-inducing!
Have you tried "holé"?
Dorothea
--
Dorothea Salo [EMAIL PROTECTED]
Digital Repository Librarian AIM: mindsatuw
University of Wisconsin
Rm 218, Memorial Library
(608) 262-5493
------------------------------
Message: 2
Date: Fri, 27 Jun 2008 16:04:04 +0200
From: Robert Roggenbuck <[EMAIL PROTECTED]>
Subject: [Dspace-tech] Failed ItemImport
To: "[email protected] Tech"
<[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Hi all,
I tried to import metadata containing more then 1 file and using more
then 1 metatdata schema. As far as I see in the code of ItemImport.java
this should be possible. But I encounter the an error whent I try to do
the import:
$ ./import -a -e [EMAIL PROTECTED] -c 123456789/4 -s /tmp/dc -m
080627.map --test
**Test Run** - not actually importing items.
Destination collections:
Owning Collection: Osnabr?cker E-Dissertationen
Adding items from directory: /tmp/dc
Generating mapfile: 080627.map
java.lang.NullPointerException
at
org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:506)
at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:421)
java.lang.NullPointerException
***End of Test Run***
Here is the data I work with:
The content of /tmp/dc is only 1 directory named dc0. dc0 contains:
contents
dublin_core.xml
E-Diss6_hepp.tar.gz
E-Diss6_hepp.tar.gz.sha2
E-Diss6_Int_Hepp.pdf
E-Diss6_Int_Hepp.pdf.sha2
license_text
metadata_dct.xml
metadata_marc.xml
metadata_uos.xml
metadata_vCard.xml
The content of dublin_core.xml is
<?xml version="1.0"?>
<dublin_core schema="dc">
<dcvalue element="creator" qualifier="">Hepp, Alexander</dcvalue>
<dcvalue element="identifier" qualifier="">6</dcvalue>
<dcvalue element="title" qualifier="">Isolobale Substitution in
Tetraphosphortrisulfid und in seinen Derivaten</dcvalue>
<dcvalue element="type" qualifier="">diss</dcvalue>
</dublin_core>
And metadata_marc.xml, as an example for the other schemas:
<?xml version="1.0"?>
<dublin_core schema="marc">
<dcvalue element="edt" qualifier="">fangmeier</dcvalue>
<dcvalue element="rev" qualifier="">Prof. Dr. Roger Blachnik; Dr. habil.
Konstantin Karaghiosoff</dcvalue>
<dcvalue element="ths" qualifier="">Prof. Dr. Roger Blachnik</dcvalue>
</dublin_core>
The file 'license_text' is empty and 'contents' contains just the
filenames of the 4 files of the bundle.
What did I wrong?
Greetings
Robert
--
===================================
Robert Roggenbuck
Universitaetsbibliothek Osnabrueck
Germany
===================================
------------------------------
Message: 3
Date: Fri, 27 Jun 2008 09:43:30 -0700
From: "Olive Lee" <[EMAIL PROTECTED]>
Subject: [Dspace-tech] DSpace 1.5 -- index-all
To: "[email protected] Tech"
<[email protected]>
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"
Hi All,
We just upgraded DSpace from 1.4 to 1.5. When I ran re-indexing script, I
found there was no index-all under [dspace]/bin. I would like to
verify does DSpace 1.5 still support "index-all"? Thanks.
Olive Lee
UCI Library IT Dept.
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 4
Date: Fri, 27 Jun 2008 13:43:43 -0400
From: Jeffrey Trimble <[EMAIL PROTECTED]>
Subject: [Dspace-tech] Index and display
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
Okay, I've got the index issues resolved. Thanks to Graham and the
issue with the documentation.
I have two remaining issues for this conversion and I'm up and running:
1. Browse the whole IR and Collection main page is blank. See # 1
and 2 below.
1.
ERROR WITH BROWSE link. IN the default jspui screen, if you click on
one of the browses: Titles, Authors, Subject, BY Date, you receive :
Error: Document not Found;
The error looks like this in the log file:
2008-06-28 08:46:32,754 INFO org.dspace.browse.BrowseEngine @
[EMAIL PROTECTED]
:session_id=8F5453D92831C920360C9F42682D4B75:ip_addr=150.134.130.127:bro
wse_mini
:
2008-06-28 08:46:32,774 ERROR org.apache.catalina.core.ContainerBase.
[Catalina].
[localhost].[/jspui].[jsp] @ Servlet.service() for servlet jsp threw
exception
java.lang.NullPointerException
at org.apache.jsp.collection_002dhome_jsp._jspService
(collection_002dhom
e_jsp.java:478)
at org.apache.jasper.runtime.HttpJspBase.service
(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
2008-06-28 08:46:32,754 INFO org.dspace.browse.BrowseEngine @
[EMAIL PROTECTED]
:session_id=8F5453D92831C920360C9F42682D4B75:ip_addr=150.134.130.127:bro
wse_mini
:
2008-06-28 08:46:32,774 ERROR org.apache.catalina.core.ContainerBase.
[Catalina].
[localhost].[/jspui].[jsp] @ Servlet.service() for servlet jsp threw
exception
java.lang.NullPointerException
at org.apache.jsp.collection_002dhome_jsp._jspService
(collection_002dhome_jsp.java:478)
at org.apache.jasper.runtime.HttpJspBase.service
(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol
$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)
2. Click on a Collection screen and it displays BLANK. No error,
nothing.
TIA,
Jeff
Jeffrey Trimble
Systems Librarian
Maag Library
Youngstown State University
330-941-2483 (Office)
[EMAIL PROTECTED]
http://www.maag.ysu.edu
http://digital.maag.ysu.edu
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 5
Date: Fri, 27 Jun 2008 19:05:58 +0100
From: Stuart Lewis <[EMAIL PROTECTED]>
Subject: Re: [Dspace-tech] DSpace 1.5 -- index-all
To: "[email protected] Tech"
<[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="US-ASCII"
Hi Olive,
> We just upgraded DSpace from 1.4 to 1.5. When I ran re-indexing script, I
> found there was no index-all under [dspace]/bin. I would like to verify does
> DSpace 1.5 still support "index-all"? Thanks.
There is now [dspace]/bin/index-init and [dspace]/bin/index-update instead.
index-init must be run when you have first upgraded, and index-update can be
run periodically. Index-init must be run as it creates new tables in the
database for the new browse system.
Thanks,
Stuart
_________________________________________________________________
Gwasanaethau Gwybodaeth Information Services
Prifysgol Aberystwyth Aberystwyth University
E-bost / E-mail: [EMAIL PROTECTED]
Ffon / Tel: (01970) 622860
_________________________________________________________________
------------------------------
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
------------------------------
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
End of DSpace-tech Digest, Vol 26, Issue 69
*******************************************
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech