Message109346
Tried it with a variety of unencrypted zips. Zipped with WinZip 11.1. Looks like it tries to unzip a second time after it completes the first unzip.
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from zipfile import ZipFile
>>> zip = ZipFile("example_1.zip")
>>> zip.extractall()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/zipfile.py", line 935, in extractall
self.extract(zipinfo, path, pwd)
File "/usr/lib/python2.6/zipfile.py", line 923, in extract
return self._extract_member(member, path, pwd)
File "/usr/lib/python2.6/zipfile.py", line 960, in _extract_member
os.mkdir(targetpath)
OSError: [Errno 17] File exists: '/home/andy/projects/codedropvalidator/testdata/example'
>>> |
|
Date |
User |
Action |
Args |
2010-07-05 18:37:11 | aymill | set | recipients:
+ aymill |
2010-07-05 18:37:11 | aymill | set | messageid: <1278355031.26.0.155948134842.issue9172@psf.upfronthosting.co.za> |
2010-07-05 18:37:10 | aymill | link | issue9172 messages |
2010-07-05 18:37:09 | aymill | create | |
|