Pulling Docker images fails

6 views
Skip to first unread message

ezra.j.rice

unread,
Jan 10, 2019, 1:47:14 PM1/10/19
to Tethys Platform
Using the install_tethys.sh script, running the command

$ bash install_tethys.sh --skip-tethys-install --install-docker --docker-options "'-d -c postgis'"

results in the following traceback

Pulling Docker images...
Traceback (most recent call last):
  File "/home/ubuntu/tethys/miniconda/envs/tethys/bin/tethys", line 11, in <module>
    load_entry_point('tethys-platform', 'console_scripts', 'tethys')()
  File "/home/ubuntu/tethys/src/tethys_apps/cli/__init__.py", line 312, in tethys_command
    args.func(args)
  File "/home/ubuntu/tethys/src/tethys_apps/cli/docker_commands.py", line 1225, in docker_command
    docker_init(containers=args.containers, defaults=args.defaults)
  File "/home/ubuntu/tethys/src/tethys_apps/cli/docker_commands.py", line 999, in docker_init
    log_pull_stream(pull_stream)
  File "/home/ubuntu/tethys/src/tethys_apps/cli/docker_commands.py", line 370, in log_pull_stream
    lines = [l for l in block.split('\r\n') if l]
TypeError: a bytes-like object is required, not 'str'
/home/ubuntu/tethys/miniconda/envs/tethys/etc/conda/deactivate.d/tethys-deactivate.sh: line 20: unalias: trs: not found

Any ideas on how to get around this?

swainn

unread,
Feb 15, 2019, 10:53:51 AM2/15/19
to Tethys Platform
We have just issued a patch release: 2.1.1 that should address these issues with Docker. I would recommend a fresh install of 2.1 for best effect. Please review and let me know if you are still having issues.
Reply all
Reply to author
Forward
0 new messages