[issue6120] zipfile.ZipFile's extractall works inproperly under Windows

2009-05-27 Thread Hirokazu Yamamoto

Hirokazu Yamamoto  added the comment:

Oops, sorry. I forgot to update working copy. I confirmed this was fixed
already.

--
status: pending -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6120] zipfile.ZipFile's extractall works inproperly under Windows

2009-05-27 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

I think this was fixed by r72893:
  Issue #6050: Don't fail extracting a directory from a zipfile if
  the directory already exists.

--
nosy: +amaury.forgeotdarc
resolution:  -> duplicate
status: open -> pending

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6120] zipfile.ZipFile's extractall works inproperly under Windows

2009-05-27 Thread Hirokazu Yamamoto

Hirokazu Yamamoto  added the comment:

Here is traceback for trunk(Py2.7)

Traceback (most recent call last):
  File "b.py", line 3, in 
f.extractall()
  File "e:\python-dev\trunk\lib\zipfile.py", line 947, in extractall
self.extract(zipinfo, path, pwd)
  File "e:\python-dev\trunk\lib\zipfile.py", line 935, in extract
return self._extract_member(member, path, pwd)
  File "e:\python-dev\trunk\lib\zipfile.py", line 974, in _extract_member
os.mkdir(targetpath)
WindowsError: [Error 183] 既に存在するファイルを作成することはできませ
ん。: 'E:\
\temp\\b'

# Error message says "Cannot create the file which already exists"

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6120] zipfile.ZipFile's extractall works inproperly under Windows

2009-05-27 Thread Hirokazu Yamamoto

Hirokazu Yamamoto  added the comment:

I confirmed error happened on Python2.6, 2.7, 3.0.
But not happen on Python3.1. Interesting.

--
versions: +Python 2.7, Python 3.0

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6120] zipfile.ZipFile's extractall works inproperly under Windows

2009-05-27 Thread Antoine Pitrou

Changes by Antoine Pitrou :


Removed file: http://bugs.python.org/file14090/unnamed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6120] zipfile.ZipFile's extractall works inproperly under Windows

2009-05-26 Thread Hirokazu Yamamoto

Hirokazu Yamamoto  added the comment:

I cannot reproduce this. Can you upload problematic zip file?

--
nosy: +ocean-city

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6120] zipfile.ZipFile's extractall works inproperly under Windows

2009-05-26 Thread Wentao Han

New submission from Wentao Han :

On Windows, if you extract all files from a zip file which containing 
subdirectories by zipfile.ZipFile's extractall method, a WindowsError will 
be raised.

--
components: Library (Lib)
messages: 88400
nosy: aerodonkey
severity: normal
status: open
title: zipfile.ZipFile's extractall works inproperly under Windows
type: behavior
versions: Python 2.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com