8000 raise ConnectError("Failed to connect to the SC2 websocket. Is it up?") · Issue #120 · oxwhirl/smac · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
raise ConnectError("Failed to connect to the SC2 websocket. Is it up?") #120
Open
@YuZheng23

Description

@YuZheng23

(marl) zhengyu@gpu-v02 /workspace/S/zhengyu $ python -m smac.examples.random_agents
Version: B75689 (SC2.4.10)
Build: Aug 12 2019 17:16:57
Command Line: '"/workspace/S/zhengyu/StarCraftII/Versions/Base75689/SC2_x64" -listen 127.0.0.1 -port 42830 -dataDir /workspace/S/zhengyu/StarCraftII/ -tempDir /tmp/sc-1gvy92/'
Starting up...
Startup Phase 1 complete
Fatal error encountered!
Backtrace:
/workspace/S/zhengyu/StarCraftII/Versions/Base75689/SC2_x64[0x65e838]
/workspace/S/zhengyu/StarCraftII/Versions/Base75689/SC2_x64[0x65f270]
/workspace/S/zhengyu/StarCraftII/Versions/Base75689/SC2_x64[0x65ecc2]
/workspace/S/zhengyu/StarCraftII/Versions/Base75689/SC2_x64[0x5fc0d8]
/workspace/S/zhengyu/StarCraftII/Versions/Base75689/SC2_x64[0x1b946e8]
/workspace/S/zhengyu/StarCraftII/Versions/Base75689/SC2_x64[0x5f855c]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f5f04497555]
/workspace/S/zhengyu/StarCraftII/Versions/Base75689/SC2_x64[0x5f7f59]
Error condition code: '9'
Error suffix: 'Error'
Error preface: 'A fatal error occurred:'
Error failure: 'e_fileCorruptRepairable'
Error unique: '(NGDP:E_FAILURE)'
Error details: '"AppErrors.txt"'
Error description: 'AppErrors.txt'
WARNING:absl:SC2 isn't running, so bailing early on the websocket connection.
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/workspace/S/zhengyu/anaconda3/envs/marl/lib/python3.11/site-packages/smac/examples/random_agents.py", line 44, in
main()
File "/workspace/S/zhengyu/anaconda3/envs/marl/lib/python3.11/site-packages/smac/examples/random_agents.py", line 19, in main
env.reset()
File "/workspace/S/zhengyu/anaconda3/envs/marl/lib/python3.11/site-packages/smac/env/starcraft2/starcraft2.py", line 403, in reset
self._launch()
File "/workspace/S/zhengyu/anaconda3/envs/marl/lib/python3.11/site-packages/smac/env/starcraft2/starcraft2.py", line 323, in _launch
self._sc2_proc = self._run_config.start(
^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/S/zhengyu/anaconda3/envs/marl/lib/python3.11/site-packages/pysc2/run_configs/platforms.py", line 200, in start
return super(Linux, self).start(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/S/zhengyu/anaconda3/envs/marl/lib/python3.11/site-packages/pysc2/run_configs/platforms.py", line 83, in start
return sc_process.StarcraftProcess(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/S/zhengyu/anaconda3/envs/marl/lib/python3.11/site-packages/pysc2/lib/sc_process.py", line 137, in init
self._controller = remote_controller.RemoteController(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/S/zhengyu/anaconda3/envs/marl/lib/python3.11/site-packages/pysc2/lib/remote_controller.py", line 142, in init
sock = self._connect(host, port, proc, timeout_seconds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/S/zhengyu/anaconda3/envs/marl/lib/python3.11/site-packages/pysc2/lib/stopwatch.py", line 205, in _stopwatch
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/workspace/S/zhengyu/anaconda3/envs/marl/lib/python3.11/site-packages/pysc2/lib/remote_controller.py", line 176, in _connect
raise ConnectError("Failed to connect to the SC2 websocket. Is it up?")
pysc2.lib.remote_controller.ConnectError: Failed to connect to the SC2 websocket. Is it up?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0