-
-
Notifications
You must be signed in to change notification settings - Fork 94
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 Report] Temporary XML file is written to fixed path #184
Comments
On second thought I can see that this behavior is probably intended because the temporary directory gets removed again, sorry. I think it is still problematic though and would like to inquire if there is a chance that this problem will be solved. |
I'm facing the same issue when running the code in a cluster. The funny thing is that it won't always crash, only sometimes. Please let me know if you fix this issue. |
The maze environments were made prior to PR #185 should fix the issue |
This solves it @Kallinteris-Andreas ! Thank you! |
Works perfectly for me. Thank you very much @Kallinteris-Andreas ! |
@rodrigodelazcano close |
Hey @Kallinteris-Andreas I just wanted to make sure that this issue is solved in every affected environment (mamujoco) as you mentioned in #185 (comment) before closing the issue |
Hi,
I would like to report a behavior of the Maze class that I believe to be a bug.
Describe the bug
The temporary XML file is always written to the same fixed path (on my system
/tmp/ant_maze.xml
). That leads to crashes if several processes try to instantiate an environment.Code example
This produces
among other parsing errors.
System Info
Additional context
It looks like the problem is caused by the use of
path.dirname(tmp_dir)
here which effectively discards the temporary directory created in the line above.Thank you for your help!
Checklist
The text was updated successfully, but these errors were encountered: