New submission from pleed <felix.maten...@rwth-aachen.de>: zipfile.ZipFile("bla.apk") crashes, but should not since other tools work perfectly with this file.
Python 2.7.2+ (default, Oct 4 2011, 20:06:09) [GCC 4.6.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import zipfile >>> zipfile.ZipFile("bla.apk") Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/zipfile.py", line 710, in __init__ self._GetContents() File "/usr/lib/python2.7/zipfile.py", line 744, in _GetContents self._RealGetContents() File "/usr/lib/python2.7/zipfile.py", line 803, in _RealGetContents x._decodeExtra() File "/usr/lib/python2.7/zipfile.py", line 369, in _decodeExtra tp, ln = unpack('<HH', extra[:4]) struct.error: unpack requires a string argument of length 4 ---------- components: None files: bla.apk messages: 155874 nosy: pleed priority: normal severity: normal status: open title: zipfile.ZipFile() unable to open zip File type: crash versions: Python 2.7 Added file: http://bugs.python.org/file24860/bla.apk _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14315> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com