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.

classification
Title: zipfile: OSError File exists
Type: behavior Stage:
Components: Library (Lib) Versions: Python 2.6
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: amaury.forgeotdarc, srid
Priority: normal Keywords:

Created on 2009-07-18 01:54 by srid, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg90652 - (view) Author: Sridhar Ratnakumar (srid) Date: 2009-07-18 01:54
sridharr@whymac:/tmp/i > wget http://google-chartwrapper.googlecode.com/
files/GChartWrapper-0.8.osx-10.5.zip
Saving to: `GChartWrapper-0.8.osx-10.5.zip'
sridharr@whymac:/tmp/i > apy -c "import zipfile; zipfile.ZipFile
('GChartWrapper-0.8.osx-10.5.zip').extractall()"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
zipfile.py", line 935, in extractall
    self.extract(zipinfo, path, pwd)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
zipfile.py", line 923, in extract
    return self._extract_member(member, path, pwd)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
zipfile.py", line 960, in _extract_member
    os.mkdir(targetpath)
OSError: [Errno 17] File exists: '/private/tmp/i/GChartWrapper/charts/
templatetags'
sridharr@whymac:/tmp/i >
msg90752 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2009-07-21 09:30
This was already fixed with issue6050, and will be part of 2.6.3.
Thanks for the report
History
Date User Action Args
2022-04-11 14:56:51adminsetgithub: 50759
2009-07-21 09:30:24amaury.forgeotdarcsetstatus: open -> closed

nosy: + amaury.forgeotdarc
messages: + msg90752

resolution: duplicate
2009-07-18 01:54:01sridcreate