You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi braza2. I tried replacing that line but it didn't work. It raises a FileNotFoundError. The f"/tmp/DSSAT{VERSION}" folder is created when the module is imported. I understand that when you create the folder using tempfile.TemporaryDirectory() the folder is removed after the context is finished, then the entire run module have to be included within that context. Please let me know if I am missing something.
issue: Running parallel sessions leads to race conditions where each session tries to access or write to f"/tmp/DSSAT{VERSION}".
Replace line 50 in run.py
Py_DSSATTools/DSSATTools/run.py
Line 50 in c9d9e14
which creates the folder /tmp/ with
each session now creates a unique temporary folder, thus solving the issue.
The text was updated successfully, but these errors were encountered: