This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author shivaprasanth
Recipients shivaprasanth
Date 2015-08-17.00:53:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1439772827.06.0.277077492924.issue24877@psf.upfronthosting.co.za>
In-reply-to
Content
Python 2.7.9 (default, Apr  2 2015, 15:33:21) 
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import zipfile
>>> s=zipfile.ZipFile('random.zip')
>>> s.extractall(pwd='getlost')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/zipfile.py", line 1040, in extractall
    self.extract(zipinfo, path, pwd)
  File "/usr/lib/python2.7/zipfile.py", line 1028, in extract
    return self._extract_member(member, path, pwd)
  File "/usr/lib/python2.7/zipfile.py", line 1082, in _extract_member
    with self.open(member, pwd=pwd) as source, \
  File "/usr/lib/python2.7/zipfile.py", line 1007, in open
    raise RuntimeError("Bad password for file", name)
RuntimeError: ('Bad password for file', <zipfile.ZipInfo object at 0x7faf1d1921e0>)
History
Date User Action Args
2015-08-17 00:53:47shivaprasanthsetrecipients: + shivaprasanth
2015-08-17 00:53:47shivaprasanthsetmessageid: <1439772827.06.0.277077492924.issue24877@psf.upfronthosting.co.za>
2015-08-17 00:53:47shivaprasanthlinkissue24877 messages
2015-08-17 00:53:47shivaprasanthcreate