[elbe-devel] [PATCH] soapclient: remove filtering of exception for retry

Manuel Traut manut at linutronix.de
Fri Apr 5 16:11:03 CEST 2019


i ran into another error, so the retry was not done:

--8<--
Fri Apr  5 01:21:12 2019 -- pmstatus:libxinerama1:44.8745:Preparing to configure libxinerama1 (armhf)
timed out
Traceback (most recent call last):
  File "./elbe", line 55, in <module>
    cmdmod.run_command(sys.argv[2:])
  File "/elbe/elbepack/commands/control.py", line 169, in run_command
    action.execute(control, opt, args[1:])
  File "/elbe/elbepack/soapclient.py", line 599, in execute
    raise e
socket.timeout: timed out
--8<--

for better debugging in the future i suggest to disable the filtering

Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 elbepack/soapclient.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/elbepack/soapclient.py b/elbepack/soapclient.py
index a5b26500..6ae1bd21 100644
--- a/elbepack/soapclient.py
+++ b/elbepack/soapclient.py
@@ -595,8 +595,6 @@ class WaitProjectBusyAction(ClientAction):
             # here
             except socket.error as e:
                 print(e.message, file=sys.stderr)
-                if e.errno != 104:
-                    raise e
                 print("socket error during wait busy occured, retry..",
                       file=sys.stderr)
                 continue
-- 
2.20.1




More information about the elbe-devel mailing list