[issue14313] zipfile does not unpack files from archive (files extracted have zero length)

2012-03-16 Thread Glenn Linderman
Glenn Linderman v+pyt...@g.nevcal.com added the comment: While Amaury's comment is no doubt true, shouldn't z.read raise an exception if it encounters an unsupported compression type? -- nosy: +v+python ___ Python tracker rep...@bugs.python.org

[issue14313] zipfile does not unpack files from archive (files extracted have zero length)

2012-03-16 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +alanmcintyre, eric.araujo stage: needs patch - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14313 ___

[issue14313] zipfile does not unpack files from archive (files extracted have zero length)

2012-03-15 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: This ZIP file uses a compression method unsupported by Python: z.getinfo('19A7B5A4.PKT').compress_type 6 which corresponds to Imploded. Only Stored and Deflated are supported. Note that previous versions don't work either: they just

[issue14313] zipfile does not unpack files from archive (files extracted have zero length)

2012-03-14 Thread Sergey Dorofeev
New submission from Sergey Dorofeev fido...@users.sourceforge.net: unzip does extract files but zipfile no works fine with python2.7 but fails with python 3.2.2 tested on solaris 11 express and windows xp import zipfile zipfile.ZipFile(test.zip) zipfile.ZipFile object at 0x903e50 z=_