[issue36992] zipfile: AttributeError on extract (LZMA)

2019-06-01 Thread Berker Peksag
Berker Peksag added the comment: This is a duplicate of issue 36991 and will be fixed by the same PR. -- nosy: +berker.peksag resolution: not a bug -> duplicate superseder: -> zipfile: AttributeError on extract ___ Python tracker

[issue36992] zipfile: AttributeError on extract (LZMA)

2019-05-22 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi, Thank you for your report but do you have the lzma lib on your system, because without that, Python is not compiled with the support of this format. example, with a debian docker image: without all the needed libraries you would get this exception: P

[issue36992] zipfile: AttributeError on extract (LZMA)

2019-05-21 Thread alter-bug-tracer
New submission from alter-bug-tracer : The following code throws an AttributeError when attempting to extract a malformed archive (attached): import zipfile import sys zf = zipfile.ZipFile(sys.argv[1]) for info in zf.infolist(): zf.extract(info.filename) Result: Traceback (most recent call