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.
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.