Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module 'signal' has no attribute 'SIGALRM' - Windows #7492

Open
RobAndrade opened this issue May 12, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@RobAndrade
Copy link

commented May 12, 2019

Hi Guys,
I am aware that they have not implemented the SIGALRM module module in wndows and for this reason the superset has problems running SQL Lab.

I would like to ask the community for help if we can switch in python into the utils.py file for something equivalent (commands or routines) in windows.

I know that we already had a similar question on the forum, but no real solution answer.

Expected results

what you expected to happen.

I hope I can use the tables of the databases added in the superset and also use SQL Lab

Screenshots

The SQL LAB Show the message: Module 'signal' has no attribute 'SIGALRM' and no work.

Environment

  • superset version: 0.32.0
  • python version: 3.7
    `
@issue-label-bot

This comment has been minimized.

Copy link

commented May 12, 2019

Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

@RobAndrade

This comment has been minimized.

Copy link
Author

commented May 17, 2019

Someone ?

Best Regards

@mistercrunch

This comment has been minimized.

Copy link
Contributor

commented May 17, 2019

We use it for this timeout "context manager":
https://github.com/apache/incubator-superset/blob/master/superset/utils/core.py#L520

Someone would have to re-write this in some other way like this
https://stackoverflow.com/questions/8420422/python-windows-equivalent-of-sigalrm

The real problem is we don't run test against windows and that no committers have committed to really get it to work or keeping it working. If someone from the community wants to actively work on this in a sustained kind of way, that could work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.