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

BUG: Desired files with long file names used in variations cannot be created. #163

Open
ahobeost opened this issue Aug 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ahobeost
Copy link
Contributor

On windows, the standard python 'open' command cannot handle paths that are too long:
with open(fileNamePath, w): ...
This will throw the following error:
FileNotFoundError: [Errno 2] No such file or directory: 'results\\simulationName-variation1Value1-variation2Value2-variation3Value3......\\'simulationName-variation1Value1-variation2Value2-variation3Value3......-result.json'

Firstly, this error isn't helpful, as the most common reason for this error is that the folder doesn't exist (not the case here).
Next, it would be helpful if this issue wouldn't occur.

@ahobeost ahobeost added the bug Something isn't working label Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant