-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Probably a certificate issue that can be fixed by adding a flag in download( function
wget --no-check-certificate -O catalog.fits "https://zenodo.org/records/13622599/files/catalog.fits?download=1" works for me when using --no-check-certificate
SSLCertVerificationError Traceback (most recent call last)
File /usr/local/lib/python3.10/urllib/request.py:1348, in AbstractHTTPHandler.do_open(self, http_class, req, **http_conn_args)
1347 try:
-> 1348 h.request(req.get_method(), req.selector, req.data, headers,
1349 encode_chunked=req.has_header('Transfer-encoding'))
1350 except OSError as err: # timeout error
File /usr/local/lib/python3.10/http/client.py:1283, in HTTPConnection.request(self, method, url, body, headers, encode_chunked)
1282 """Send a complete request to the server."""
-> 1283 self._send_request(method, url, body, headers, encode_chunked)
File /usr/local/lib/python3.10/http/client.py:1329, in HTTPConnection._send_request(self, method, url, body, headers, encode_chunked)
1328 body = _encode(body, 'body')
-> 1329 self.endheaders(body, encode_chunked=encode_chunked)
File /usr/local/lib/python3.10/http/client.py:1278, in HTTPConnection.endheaders(self, message_body, encode_chunked)
1277 raise CannotSendHeader()
-> 1278 self._send_output(message_body, encode_chunked=encode_chunked)
File /usr/local/lib/python3.10/http/client.py:1038, in HTTPConnection._send_output(self, message_body, encode_chunked)
1037 del self._buffer[:]
-> 1038 self.send(msg)
1040 if message_body is not None:
1041
...
64 finally:
65 if not good and not keep:
---> 66 os.unlink(path)
FileNotFoundError: [Errno 2] No such file or directory: 'catalog.fits'