Commit 21b95b99 authored by Rafael S Castilho's avatar Rafael S Castilho
Browse files

SCRUM#443: Add error mesage when epoptes can't connect with le-lab


Signed-off-by: Rafael S Castilho's avatarRafael S Castilho <rsc15@inf.ufpr.br>
parent f9eb8db3
Pipeline #14900 passed with stages
in 9 minutes and 33 seconds
le-epoptes (0.0.20) testing; urgency=medium
* Add error message when epoptes can not connect with le-lab
-- Rafael Sanfelice Castilho <rsc15@inf.ufpr.br> Tue, 20 Mar 2018 09:59:34 -0300
le-epoptes (0.0.19) testing; urgency=medium
* Update manual page
......
......@@ -115,11 +115,14 @@ class LEEpoptes(object):
timeout += 1
if timeout == 10:
call_error_dialog("Epoptes was unable to establish a connection with le-lab. Please check your internet connection.")
return False
logging.debug("Waiting for le-lab to detect the local epoptes service...")
time.sleep(1)
return True
def get_lock(proc_name):
get_lock._lock_socket = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)
try:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment