google-deepmind / google-deepmind/dm_control

Colab: OpenGL.raw.EGL._errors

Open
#392 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.7k
Forks
764
PR merge metrics
No merged PRs in 30d

Description

When I tried to run the Colab Notebook, the following error occurred at 2-v-2 Boxhead soccer.

```
Exception ignored in:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/dm_control/mujoco/wrapper/core.py", line 633, in __del__
File "/usr/local/lib/python3.9/dist-packages/dm_control/mujoco/wrapper/core.py", line 624, in free
File "/usr/lib/python3.9/contextlib.py", line 119, in __enter__
File "/usr/local/lib/python3.9/dist-packages/dm_control/_render/base.py", line 135, in make_current
RuntimeError: Cannot make context current on thread : this context is already current on another thread <_MainThread(MainThread, started 139896762632000)>.
Exception ignored in:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/dm_control/_render/base.py", line 118, in __del__
File "/usr/local/lib/python3.9/dist-packages/dm_control/_render/base.py", line 115, in _free_unconditionally
File "/usr/local/lib/python3.9/dist-packages/dm_control/_render/executor/render_executor.py", line 144, in terminate
File "/usr/local/lib/python3.9/dist-packages/dm_control/_render/base.py", line 96, in _free_on_executor_thread
File "/usr/local/lib/python3.9/dist-packages/dm_control/_render/pyopengl/egl_renderer.py", line 125, in _platform_make_current
File "/usr/local/lib/python3.9/dist-packages/OpenGL/error.py", line 230, in glCheckError
OpenGL.raw.EGL._errors.EGLError: EGLError(
err = EGL_BAD_ACCESS,
baseOperation = eglMakeCurrent,
cArguments = (
,
,
,
,
),
result = 0
)
```

Please let me know how to fix it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.