Page MenuHomeSoftware Heritage
Paste P578

vlorentz: failure to load

Authored by ardumont on Dec 19 2019, 3:51 PM.
Dec 19 14:47:07 worker2 python3[30717]: [2019-12-19 14:47:07,898: ERROR/ForkPoolWorker-1] Fail to load
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/swh/core/", line 72, in uncompress
shutil.unpack_archive(tarpath, extract_dir=dest)
File "/usr/lib/python3.7/", line 999, in unpack_archive
func(filename, extract_dir, **kwargs)
File "/usr/lib/python3.7/", line 896, in _unpack_zipfile
raise ReadError("%s is not a zip file" % filename)
shutil.ReadError: /tmp/tmp8x0l824p/ is not a zip file
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/swh/loader/package/", line 299, in load
dl_artifacts, dest=tmpdir)
File "/usr/lib/python3/dist-packages/swh/loader/package/", line 212, in uncompress
uncompress(a_path, dest=uncompressed_path)
File "/usr/lib/python3/dist-packages/swh/core/", line 74, in uncompress
raise ValueError(f'Problem during unpacking {tarpath}. Reason: {e}')
ValueError: Problem during unpacking /tmp/tmp8x0l824p/ Reason: /tmp/tmp8x0l824p/ is not a zip file

Event Timeline

that's actually douardda's fix i think D2473