You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2018/07/07 19:23:21 UTC

[GitHub] guylando edited a comment on issue #3766: on windows in superset sql lab error "module object has no attribute sigalrm"

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org