[New-bugs-announce] [issue6510] zipfile: OSError File exists

Sridhar Ratnakumar report at bugs.python.org
Sat Jul 18 03:54:03 CEST 2009


New submission from Sridhar Ratnakumar <sridharr at activestate.com>:

sridharr at 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 at 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 at whymac:/tmp/i >

----------
components: Library (Lib)
messages: 90652
nosy: srid
severity: normal
status: open
title: zipfile: OSError File exists
type: behavior
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6510>
_______________________________________


More information about the New-bugs-announce mailing list