Open hellofinch opened 2 years ago
my command: python -m smac.examples.random_agents output:
python -m smac.examples.random_agents
Version: B75689 (SC2.4.10) Build: Aug 12 2019 17:16:57 Command Line: '"/home/ai/StarCraftII/Versions/Base75689/SC2_x64" -listen 127.0.0.1 -port 16951 -dataDir /home/ai/StarCraftII/ -tempDir /tmp/sc-84l7mdlz/' Starting up... Startup Phase 1 complete Startup Phase 2 complete Creating stub renderer... Listening on: 127.0.0.1:16951 Startup Phase 3 complete. Ready for commands. ConnectHandler: Request from 127.0.0.1:38870 accepted ReadyHandler: 127.0.0.1:38870 ready Traceback (most recent call last): File "/home/ai/anaconda3/envs/RL/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/home/ai/anaconda3/envs/RL/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/mnt/VMSTORE/smac/smac/examples/random_agents.py", line 44, in <module> main() File "/mnt/VMSTORE/smac/smac/examples/random_agents.py", line 19, in main env.reset() File "/mnt/VMSTORE/smac/smac/env/starcraft2/starcraft2.py", line 403, in reset self._launch() File "/mnt/VMSTORE/smac/smac/env/starcraft2/starcraft2.py", line 343, in _launch self._controller.create_game(create) File "/home/ai/anaconda3/envs/RL/lib/python3.7/site-packages/pysc2/lib/remote_controller.py", line 99, in _valid_status return func(self, *args, **kwargs) File "/home/ai/anaconda3/envs/RL/lib/python3.7/site-packages/pysc2/lib/remote_controller.py", line 74, in _check_error return check_error(func(*args, **kwargs), error_enum) File "/home/ai/anaconda3/envs/RL/lib/python3.7/site-packages/pysc2/lib/remote_controller.py", line 65, in check_error raise RequestError("%s.%s: '%s'" % (enum_name, error_name, details), res) pysc2.lib.remote_controller.RequestError: SC2APIProtocol.ResponseCreateGame.Error.InvalidMapData: 'temporary map '' has invalid data.' RequestQuit command received. Closing Application... DataHandler: unable to parse websocket frame. CloseHandler: 127.0.0.1:38870 disconnected ResponseThread: No connection, dropping the response.
The program exit with error. How can I fix this?
my command:
python -m smac.examples.random_agents
output:The program exit with error. How can I fix this?