Skip to content

Error when launching sc-docker #83

@Jabbo16

Description

@Jabbo16

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

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