Error when Harvester is not able to fetch the codemeta file from an OSSR record
There is an issue with the Harvester where requests to fetch the codemeta file time out, leading to Python exceptions. Fix: Modify harvester code to handle a failed request to get the codemeta file. Exception:
with ZipFile(BytesIO(self.content.content)) as zipobj:
File "/usr/lib/python3.8/zipfile.py", line 1269, in __init__
self._RealGetContents()
File "/usr/lib/python3.8/zipfile.py", line 1336, in _RealGetContents
raise BadZipFile("File is not a zip file")
Edited by Stelios