Issue2277
Created on 2015-03-03.10:37:57 by nazarlviv07, last changed 2015-03-03.17:58:46 by zyasoft.
msg9571 (view) |
Author: Nazar (nazarlviv07) |
Date: 2015-03-03.10:37:57 |
|
os.makedirs() fails with Errno 17 [File exists] when trying to execute on a UNC path ("\\\\deploy\\1.9.83-20150202083042\\docs\\doctrees\\subfolder").
List of code is below
================================================
dirname = "\\\\deploy\\1.9.83-20150202083042\\docs\\doctrees\\subfolder"
if not path.isdir(dirname):
os.makedirs(dirname)
=================================================
During execution os.makedirs(dirname) Errno 17 [File exists] occured.
I have checked manually folder "subfolder" is not exist before and after execution the program.
Could you help me resolve this problem?
|
msg9572 (view) |
Author: Jim Baker (zyasoft) |
Date: 2015-03-03.17:08:08 |
|
Likely a duplicate of http://bugs.jython.org/issue2120 - it's the same underlying code, and should be a straightforward fix if indeed it's a problem.
Please try the simpler case of os.mkdir to see if this is the case
|
msg9574 (view) |
Author: Jim Baker (zyasoft) |
Date: 2015-03-03.17:58:46 |
|
Confirmed, this is a duplicate of #2120
|
|
Date |
User |
Action |
Args |
2015-03-03 17:58:46 | zyasoft | set | status: open -> closed resolution: duplicate messages:
+ msg9574 |
2015-03-03 17:08:08 | zyasoft | set | nosy:
+ zyasoft messages:
+ msg9572 |
2015-03-03 10:37:57 | nazarlviv07 | create | |
|