Games-and-Simulations / sc-docker

Multi-platform Version of StarCraft: Brood War in a Docker Container, ready to use for bot play simulations.
MIT License
230 stars 41 forks source link

Error when launching sc-docker #83

Open Jabbo16 opened 5 years ago

Jabbo16 commented 5 years ago

expected behaviour

Containers get up and game gets started

actual behaviour

2018-10-21 18:49:36 DEBUG scbw.docker_utils[12848] checking if game has launched properly...
2018-10-21 18:49:37 ERROR scbw.cli[12848] some containers exited prematurely, please check logs
Traceback (most recent call last):
  File "c:\python37\lib\site-packages\scbw\cli.py", line 231, in main
    game_result = run_game(args)
  File "c:\python37\lib\site-packages\scbw\game.py", line 108, in run_game
    _wait_callback)
  File "c:\python37\lib\site-packages\scbw\docker_utils.py", line 378, in launch_game
    'some containers exited prematurely, please check logs')
scbw.error.DockerException: some containers exited prematurely, please check logs

When checking error logs with docker logs containername:

+ '[' --game == --headful ']'
+ IS_HEADFUL=0
+ LOG_GAME=/app/logs/game.log
+ LOG_BOT=/app/logs/bot.log
+ BOT_TYPE=jar
++ date +%Y-%m-%d
+ DATE=2018-10-21
+ REPLAY_FILE=GAME_40B9A5EC_0.rep
+ . play_common.sh
+ check_bot_requirements
+ '[' '!' -f /app/bot/AI/Ecgberht.jar ']'
+ LOG 'Bot not found in '\''/app/bot/AI/Ecgberht.jar'\'''
++ date +%Y-%m-%dT%H:%M:%S
2018-10-21T16:49:35 Bot not found in '/app/bot/AI/Ecgberht.jar'
+ echo 2018-10-21T16:49:35 'Bot not found in '\''/app/bot/AI/Ecgberht.jar'\'''
+ exit 1

steps to reproduce

Just launching a game between two bots.

operating system

Windows 10 Pro

docker version

Client:
 Version:           18.06.1-ce
 API version:       1.38
 Go version:        go1.10.3
 Git commit:        e68fc7a
 Built:             Tue Aug 21 17:21:34 2018
 OS/Arch:           windows/amd64
 Experimental:      false

Server:
 Engine:
  Version:          18.06.1-ce
  API version:      1.38 (minimum version 1.12)
  Go version:       go1.10.3
  Git commit:       e68fc7a
  Built:            Tue Aug 21 17:29:02 2018
  OS/Arch:          linux/amd64
  Experimental:     false

scbw version

1.0.4