Skip to content

UnityToGymWrapper Completely Broken due to Online Registry Being Down #6104

@Zach-Attach

Description

@Zach-Attach

Describe the bug
Around 12pm EDT May 1, mlagents started breaking without any changes on my part. It appears that it is being caused by a request to "https://storage.googleapis.com/mlagents-test-environments/1.1.0/manifest.yaml" which is returning a 404.

To Reproduce
Steps to reproduce the behavior:

  1. Run from mlagents_envs.envs.unity_gym_env import UnityToGymWrapper
  2. Get back an Error

Console logs / stack traces

File "/home/zlaborde/run.py", line 15, in <module> from mlagents_envs.envs.unity_gym_env import UnityToGymWrapper File "/home/zlaborde/miniconda3/envs/test/lib/python3.10/site-packages/mlagents_envs/envs/__init__.py", line 5, in <module> for key in default_registry: File "/home/zlaborde/miniconda3/envs/test/lib/python3.10/site-packages/mlagents_envs/registry/unity_env_registry.py", line 118, in __iter__ self._load_all_manifests() File "/home/zlaborde/miniconda3/envs/test/lib/python3.10/site-packages/mlagents_envs/registry/unity_env_registry.py", line 83, in _load_all_manifests manifest = load_remote_manifest(path_to_yaml) File "/home/zlaborde/miniconda3/envs/test/lib/python3.10/site-packages/mlagents_envs/registry/binary_utils.py", line 218, in load_remote_manifest request = urllib.request.urlopen(url, timeout=30) File "/home/zlaborde/miniconda3/envs/test/lib/python3.10/urllib/request.py", line 216, in urlopen return opener.open(url, data, timeout) File "/home/zlaborde/miniconda3/envs/test/lib/python3.10/urllib/request.py", line 525, in open response = meth(req, response) File "/home/zlaborde/miniconda3/envs/test/lib/python3.10/urllib/request.py", line 634, in http_response response = self.parent.error( File "/home/zlaborde/miniconda3/envs/test/lib/python3.10/urllib/request.py", line 563, in error return self._call_chain(*args) File "/home/zlaborde/miniconda3/envs/test/lib/python3.10/urllib/request.py", line 496, in _call_chain result = func(*args) File "/home/zlaborde/miniconda3/envs/test/lib/python3.10/urllib/request.py", line 643, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found 

Environment (please complete the following information):

  • Unity Version: Unity 2023.3.12
  • OS + version: Ubuntu 22.04
  • ML-Agents version: 1.0.0
  • Torch version: 2.2.0

Metadata

Metadata

Labels

bugIssue describes a potential bug in ml-agents.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions