- changed status to resolved
check_outdir() can crash with OSError: [Errno 17] File exists
Issue #27
resolved
This seems to happen when running on the cluster at times when the cluster is slow.
Specifically, the call to os.path.exists()
returns False, but the call to os.makedirs()
still raises OSError: [Errno 17] File exists
.
Typical console output includes
creating directory <some_directory>
...
OSError: [Errno 17] File exists: '<some_directory>'
We could dodge this with a try-catch block catching the OSError
.
Comments (1)
-
reporter - Log in to comment
fixed by b8b98ae