Change the utils.py file
It works after doing the following change (sorry for the massed up alignment, problems with github formatting):
def __enter__(self):
try:
#signal.signal(signal.SIGALRM, self.handle_timeout)
#signal.alarm(self.seconds)
pass
except ValueError as e:
logging.warning("timeout can't be used in the current context")
logging.exception(e)
def __exit__(self, type, value, traceback):
try:
#signal.alarm(0)
pass
except ValueError as e:
logging.warning("timeout can't be used in the current context")
logging.exception(e)`
Similar Posts:
- Wait in Linux kernel_ event_ interruptible_ Analysis of timeout interface
- [reprint] extjs sets the timeout of Ajax request
- [Solved] Logback configuration error: SLF4J: Class path contains multiple SLF4J bindings.
- How to Solve Error: unclared identifier ‘handle’
- Latex Error: Misplaced alignment tab character & [How to Solve]
- [Solved] remote: HTTP Basic: Access denied Authentication failed for ‘https://’
- [Solved] ASP.NET Error: Request is not available in this context
- How to Solve Python RuntimeError: Working outside of application context.
- An error occurs when springboot sets the log level [How to Solve]
- VMware manually starts USB alignment service