In some cases, after downloading a product (with id), and when we try to extract it... it gives the following error
File "/home/hamed/grass-addons/src/imagery/i.eodag/./i.eodag.py", line 384, in <module>
sys.exit(main())
^^^^^^
File "/home/hamed/grass-addons/src/imagery/i.eodag/./i.eodag.py", line 280, in main
download_by_ids(ids_set)
File "/home/hamed/grass-addons/src/imagery/i.eodag/./i.eodag.py", line 189, in download_by_ids
download_by_id(product_id)
File "/home/hamed/grass-addons/src/imagery/i.eodag/./i.eodag.py", line 159, in download_by_id
dag.download(product[0])
File "/home/hamed/genv/lib/python3.11/site-packages/eodag/api/core.py", line 2093, in download
path = product.download(
^^^^^^^^^^^^^^^^^
File "/home/hamed/genv/lib/python3.11/site-packages/eodag/api/product/_product.py", line 365, in download
fs_path = self.downloader.download(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hamed/genv/lib/python3.11/site-packages/eodag/plugins/download/http.py", line 394, in download
fs_path, record_filename = self._prepare_download(
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hamed/genv/lib/python3.11/site-packages/eodag/plugins/download/base.py", line 256, in _prepare_download
self._finalize(fs_path, progress_callback=progress_callback, **kwargs),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hamed/genv/lib/python3.11/site-packages/eodag/plugins/download/base.py", line 400, in _finalize
zfile.extract(
File "/usr/lib/python3.11/zipfile.py", line 1660, in extract
return self._extract_member(member, path, pwd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/zipfile.py", line 1732, in _extract_member
shutil.copyfileobj(source, target)
File "/usr/lib/python3.11/shutil.py", line 200, in copyfileobj
fdst_write(buf)
OSError: [Errno 28] No space left on device
Suspecting that it might be the file that is corrupted, because there is plenty of disk space.. needs more investigation.
To replicate try to download the product with the following command:
In some cases, after downloading a product (with id), and when we try to extract it... it gives the following error
Suspecting that it might be the file that is corrupted, because there is plenty of disk space.. needs more investigation.
To replicate try to download the product with the following command: