Hi List. OAI is not able to harvest filenames with spaces. I´m trying to
harvest a Dspace 6.3 server from a DSpace 5.10 and everything goes OK until
I upload a document with spaces. Then I have a couple of error messages.
Sometimes I get:
Initializing the harvester... failed. Provided collection is not set up for
harvesting
Exception: Unable to harvest
java.lang.IllegalStateException: Unable to harvest
at org.dspace.app.harvest.Harvest.runHarvest(Harvest.java:413)
at org.dspace.app.harvest.Harvest.main(Harvest.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.dspace.app.launcher.ScriptLauncher.runOneCommand(
ScriptLauncher.java:226)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:
78)
Caused by: org.dspace.harvest.OAIHarvester$HarvestingException: Provided
collection is not set up for harvesting
at org.dspace.harvest.OAIHarvester.<init>(OAIHarvester.java:131)
at org.dspace.app.harvest.Harvest.runHarvest(Harvest.java:407)
But it is impossible that the collection is not setup for harvesting
because I harvested it before adding the new document with spaces.
The other error is:
java.io.IOException: Server returned HTTP response code: 400 for URL:
http://..../xmlui/bitstream/handle/123456789/4145/DOCUMENTO
DE PRUEBA.pdf;jsessionid=936BB6863D05BA62B8D4347286E1F0F6?sequence=1
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(
HttpURLConnection.java:1894)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(
HttpURLConnection.java:1492)
at java.net.URL.openStream(URL.java:1045)
at org.dspace.content.crosswalk.OREIngestionCrosswalk.ingest(
OREIngestionCrosswalk.java:174)
at org.dspace.harvest.OAIHarvester.processRecord(OAIHarvester.java:
520)
at org.dspace.harvest.OAIHarvester.runHarvest(OAIHarvester.java:354)
at org.dspace.app.harvest.Harvest.runHarvest(Harvest.java:425)
at org.dspace.app.harvest.Harvest.main(Harvest.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.dspace.app.launcher.ScriptLauncher.runOneCommand(
ScriptLauncher.java:226)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:
78)
I read it was supposed to be fixed as explained
here: https://jira.duraspace.org/browse/DS-3050 but the problems still
remains. Harvesting through XMLUI interface is broken too.
Any help.
Thanks.
--
All messages to this mailing list should adhere to the DuraSpace Code of
Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.