google-deepmind / google-deepmind/lab
Raise more meaningful error message when environment is not running anymore
Open
- Dominant language
- C
- Stars
- 7.4k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
Upon environment timeout python client will only receive the error message "Environment in wrong status for call to observations()". Might be good to provide more information why the environment is not running anymore (due to timeout etc.)
```
if (!is_running(self)) {
PyErr_SetString(PyExc_RuntimeError,
"Environment in wrong status for call to observations()");
return NULL;
}
```
Contributor guide
Assessment
This issue has not been assessed yet.