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

Issues with latest version of dm_control #1

Closed
vandrw opened this issue Oct 20, 2021 · 1 comment
Closed

Issues with latest version of dm_control #1

vandrw opened this issue Oct 20, 2021 · 1 comment

Comments

@vandrw
Copy link

vandrw commented Oct 20, 2021

Problem
The latest version of dm_control does not seem compatible with this project. When running the provided bash script, the program crashes.

Fix (temporary)
We managed to temporarily fix this issue by downgrading to dm-control==0.0.364896371 in requirements.txt.

Stdout:

[/tmpfs/src/git/dm_robotics-kokoro/cpp/support/include/dm_robotics/support/logging.h:
Fatal Python error: Aborted

Current thread 0x00007f7c42bab740 (most recent call first):
  File "rob_project/rgb_env/lib/python3.9/site-packages/dm_robotics/moma/effectors/cartesian_6d_velocity_effector.py", line 363 in after_compile
  File "rob_project/rgb_env/lib/python3.9/site-packages/dm_robotics/moma/effectors/cartesian_4d_velocity_effector.py", line 150 in after_compile
  File "rob_project/rgb_env/lib/python3.9/site-packages/dm_robotics/moma/effectors/constrained_actions_effectors.py", line 110 in after_compile
  File "rob_project/rgb_env/lib/python3.9/site-packages/dm_robotics/moma/base_task.py", line 200 in after_compile
  File "rob_project/rgb_env/lib/python3.9/site-packages/dm_control/composer/environment.py", line 118 in after_compile
  File "rob_project/rgb_env/lib/python3.9/site-packages/dm_control/composer/environment.py", line 241 in _recompile_physics_and_update_observables
  File "rob_project/rgb_env/lib/python3.9/site-packages/dm_control/composer/environment.py", line 221 in __init__
  File "rob_project/rgb_env/lib/python3.9/site-packages/dm_control/composer/environment.py", line 324 in __init__
  File "rob_project/rgb_env/lib/python3.9/site-packages/dm_robotics/moma/subtask_env_builder.py", line 83 in build_base_env
  File "rob_project/rgb_stacking/environment.py", line 161 in rgb_stacking
  File "rob_project/rgb_stacking/main.py", line 30 in main
  File "rob_project/rgb_env/lib/python3.9/site-packages/absl/app.py", line 250 in _run_main
  File "rob_project/rgb_env/lib/python3.9/site-packages/absl/app.py", line 299 in run
  File "rob_project/rgb_stacking/main.py", line 37 in <module>
  File "/usr/lib/python3.9/runpy.py", line 87 in _run_code
  File "/usr/lib/python3.9/runpy.py", line 197 in _run_module_as_main
[1]    47081 abort (core dumped)  python3 -m rgb_stacking.main

Linux version:
Linux manjaro 5.14.10-1-MANJARO #1 SMP PREEMPT Thu Oct 7 06:43:34 UTC 2021 x86_64 GNU/Linux
Python version: 3.9.7

@alaurens
Copy link
Collaborator

Hello,

Thanks for pointing this out. We've fixed the issue by freezing the dependency version. Everything should work now

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

2 participants