Commit 859e91c8 authored by Alessandro Elias's avatar Alessandro Elias
Browse files

Merge branch 'issue/443' into 'master'

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

See merge request !22
parents f9eb8db3 21b95b99
Pipeline #16233 passed with stages
in 8 minutes and 57 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