From 04a167239ac3ee363634ad87b84af274fd3a3ea3 Mon Sep 17 00:00:00 2001 From: zenghsh3 Date: Wed, 22 Jul 2020 14:16:50 +0800 Subject: [PATCH] fix bug of checking the startup of log_server (#355) * fix bug of checking the startup of log_server * add notification * add notification * fix rarfile error in python2 --- .teamcity/requirements.txt | 1 + parl/remote/scripts.py | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.teamcity/requirements.txt b/.teamcity/requirements.txt index 8ed9454..4cd7707 100644 --- a/.teamcity/requirements.txt +++ b/.teamcity/requirements.txt @@ -1,4 +1,5 @@ # requirements for unittest +rarfile==3.1 paddlepaddle-gpu==1.6.1.post97 gym details diff --git a/parl/remote/scripts.py b/parl/remote/scripts.py index 51cf3ca..cbae1cc 100644 --- a/parl/remote/scripts.py +++ b/parl/remote/scripts.py @@ -88,7 +88,9 @@ def is_log_server_started(ip_address, port): started = True break except: - time.sleep(3) + pass + time.sleep(3) + click.echo("Checking status of log_server...") return started -- GitLab