Title: Why does swallow InvalidHeaderError
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.7
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: jan.schatz
Priority: normal Keywords:

Created on 2020-10-19 08:55 by jan.schatz, last changed 2020-10-19 08:55 by jan.schatz.

Messages (1)
msg378934 - (view) Author: Jan Schatz (jan.schatz) Date: 2020-10-19 08:55
I have a tar gz archive that fails to be extracted via tarfile.extractall(). By adding some debug code I found that at some point InvalidHeaderError is raised inside But the function just swallows the exception, because the offset isn't 0 (see Why does the function behave like this? I would expect an except rather than silently stopping extraction if the archive is damaged.
Date User Action Args
2020-10-19 08:55:37jan.schatzcreate