Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Bug ML Agents GoogleAPI Storage returns 404

Discussion in 'ML-Agents' started by ZachAttach, May 1, 2024.

  1. ZachAttach

    ZachAttach

    Joined:
    Jun 6, 2023
    Posts:
    1
    Around 12pm EDT, 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.

    using ml-agents version 1.0.0

    Here is the stack trace:

    Traceback (most recent call last):
    ```
    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
    ```