Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileExistsError #22

Open
marxt opened this issue Feb 19, 2021 · 0 comments
Open

FileExistsError #22

marxt opened this issue Feb 19, 2021 · 0 comments

Comments

@marxt
Copy link

marxt commented Feb 19, 2021

Happens when simultaneous tasks attempts to create different files that should be in the same non-existent folder e.g. divided tasks on an HPC. One task will be successful, while all others will fail and give out FileExistsError when trying to create the directory.

File "..../lib/python3.7/site-packages/geopathfinder/folder_naming.py", line 133, in make_dir os.makedirs(self.directory) File "..../lib/python3.7/os.py", line 223, in makedirs os.makedirs(self.directory)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant