guylando edited a comment on issue #3766: on windows in superset sql lab error "module object has no attribute sigalrm" URL: https://github.com/apache/incubator-superset/issues/3766#issuecomment-403237709 It works after doing the following change: 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)`
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
