I am trying to harvest articles from our DSPace instance using the oai-harvert tool [1].
DEBUG Writing to file /home/user/arena/oai-harvest/oai:dspace.example.org:10488%2F7694.oai_dc.xml
DEBUG Writing to file /home/user/arena/oai-harvest/oai:dspace.example.org:10488%2F7717.oai_dc.xml
DEBUG Writing to file /home/user/arena/oai-harvest/oai:dspace.example.org:10488%2F7662.oai_dc.xml
DEBUG Writing to file /home/user/arena/oai-harvest/oai:dspace.example.org:10488%2F7712.oai_dc.xml
DEBUG Writing to file /home/user/arena/oai-harvest/oai:dspace.example.org:10488%2F7691.oai_dc.xml
DEBUG Writing to file /home/user/arena/oai-harvest/oai:dspace.example.org:10488%2F6578.oai_dc.xml
DEBUG Writing to file /home/user/arena/oai-harvest/oai:dspace.example.org:10488%2F7726.oai_dc.xml
DEBUG Writing to file /home/user/arena/oai-harvest/oai:dspace.example.org:10488%2F7827.oai_dc.xml
DEBUG Writing to file /home/user/arena/oai-harvest/oai:dspace.example.org:10488%2F1050.oai_dc.xml
DEBUG Writing to file /home/user/arena/oai-harvest/oai:dspace.example.org:10488%2F96.oai_dc.xml
DEBUG Writing to file /home/user/arena/oai-harvest/oai:dspace.example.org:10488%2F7835.oai_dc.xml
DEBUG Writing to file /home/user/arena/oai-harvest/oai:dspace.example.org:10488%2F1066.oai_dc.xml
DEBUG Writing to file /home/user/arena/oai-harvest/oai:dspace.example.org:10488%2F234.oai_dc.xml
DEBUG Writing to file /home/user/arena/oai-harvest/oai:dspace.example.org:10488%2F1040.oai_dc.xml
DEBUG Writing to file /home/user/arena/oai-harvest/oai:dspace.example.org:10488%2F162.oai_dc.xml
DEBUG Writing to file /home/user/arena/oai-harvest/oai:dspace.example.org:10488%2F209.oai_dc.xml
DEBUG Writing to file /home/user/arena/oai-harvest/oai:dspace.example.org:10488%2F6602.oai_dc.xml
DEBUG Writing to file /home/user/arena/oai-harvest/oai:dspace.example.org:10488%2F224.oai_dc.xml
DEBUG Writing to file /home/user/arena/oai-harvest/oai:dspace.example.org:10488%2F207.oai_dc.xml
DEBUG Writing to file /home/user/arena/oai-harvest/oai:dspace.example.org:10488%2F1139.oai_dc.xml
ERROR HTTP Error 500:
Traceback (most recent call last):
File "/home/user/arena/oai-harvest/venv/lib/python3.6/site-packages/oaiharvest/harvest.py", line 339, in main
**kwargs
File "/home/user/arena/oai-harvest/venv/lib/python3.6/site-packages/oaiharvest/harvest.py", line 173, in harvest
**kwargs):
File "/home/user/arena/oai-harvest/venv/lib/python3.6/site-packages/oaiharvest/harvest.py", line 125, in _listRecords
for record in client.listRecords(**kwargs):
File "/home/user/arena/oai-harvest/venv/lib/python3.6/site-packages/oaipmh/client.py", line 365, in ResumptionListGenerator
result, token = nextBatch(token)
File "/home/user/arena/oai-harvest/venv/lib/python3.6/site-packages/oaipmh/client.py", line 194, in nextBatch
resumptionToken=token)
File "/home/user/arena/oai-harvest/venv/lib/python3.6/site-packages/oaipmh/client.py", line 286, in makeRequestErrorHandling
xml = self.makeRequest(**kw)
File "/home/user/arena/oai-harvest/venv/lib/python3.6/site-packages/oaipmh/client.py", line 346, in makeRequest
return retrieveFromUrlWaiting(request)
File "/home/user/arena/oai-harvest/venv/lib/python3.6/site-packages/oaipmh/client.py", line 373, in retrieveFromUrlWaiting
f = urllib2.urlopen(request)
File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.6/urllib/request.py", line 532, in open
response = meth(req, response)
File "/usr/lib/python3.6/urllib/request.py", line 642, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.6/urllib/request.py", line 570, in error
return self._call_chain(*args)
File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/usr/lib/python3.6/urllib/request.py", line 650, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 500:
Using the tools against other DSPace instances works without issues retrieving all records. Our DSPace-CRIS version is 5.10.0.