Training the model on Ubuntu with SC2 4.10.0 and get some replay files. However, when I run
python -m pysc2.bin.play --render --rgb_minimap_size 0 --replay 3m_2020-07-24-05-34-35.SC2Replay
to watch the replay, it failed and returned the following messages.
I0724 18:53:20.919057 173520 remote_controller.py:163] Connecting to: ws://127.0.0.1:23181/sc2api, attempt: 19, running: True
I0724 18:53:23.921703 173520 remote_controller.py:163] Connecting to: ws://127.0.0.1:23181/sc2api, attempt: 20, running: True
I0724 18:53:26.929005 173520 remote_controller.py:163] Connecting to: ws://127.0.0.1:23181/sc2api, attempt: 21, running: True
I0724 18:53:32.214189 173520 sc_process.py:201] Shutdown gracefully.
I0724 18:53:32.214189 173520 sc_process.py:182] Shutdown with return code: 0
Traceback (most recent call last):
File "C:\Users\me\AppData\Local\Continuum\anaconda3\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Users\me\AppData\Local\Continuum\anaconda3\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\me\AppData\Local\Continuum\anaconda3\lib\site-packages\pysc2\bin\play.py", line 218, in <module>
app.run(main)
File "C:\Users\me\AppData\Roaming\Python\Python36\site-packages\absl\app.py", line 300, in run
_run_main(main, args)
File "C:\Users\me\AppData\Roaming\Python\Python36\site-packages\absl\app.py", line 251, in _run_main
sys.exit(main(argv))
File "C:\Users\me\AppData\Local\Continuum\anaconda3\lib\site-packages\pysc2\bin\play.py", line 156, in main
info = controller.replay_info(replay_data)
File "C:\Users\me\AppData\Local\Continuum\anaconda3\lib\site-packages\pysc2\lib\remote_controller.py", line 71, in _check_error
return check_error(func(*args, **kwargs), error_enum)
File "C:\Users\me\AppData\Local\Continuum\anaconda3\lib\site-packages\pysc2\lib\remote_controller.py", line 62, in check_error
raise RequestError("%s.%s: '%s'" % (enum_name, error_name, details), res)
pysc2.lib.remote_controller.RequestError: SC2APIProtocol.ResponseReplayInfo.Error.ParsingError: 'Could not open initData for the replay: C:\Users\me\AppData\Local\Temp\StarCraft II\TempReplayInfo.SC2Replay'
The version are SMAC==1.0 and PySC2==3.0 and OS==ubuntu, Why using the replay generated by the training process failed? Is there something wrong with the Linux version of PySC2?
It seems that I can run on Ubuntu without rendering but failed on macOS and Windows.