Module 'signal' has no attribute 'SIGALRM' - Windows
See original GitHub issueHi 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 Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Why is signal.SIGALRM not working in Python on windows?
So SIGALRM is not available on Windows so you get an attribute error instead. Note that Windows also does not have a /dev...
Read more >module 'signal' has no attribute 'SIGALRM' - receive_test.py ...
This following error occurs with Windows 10 while running receive_test.py : python imagenode\tests\receive_test.py FPS Test Program: imagenode\ ...
Read more >No attribute 'SIGALRM' issue in Windows 10 - AIcrowd Forum
I think it is caused by the ambiguous name of library 'signal'. SIGALRM exists in signal.pyi.
Read more >Solved: Getting module 'signal' has no attribute 'SIGALRM'...
Getting module 'signal' has no attribute 'SIGALRM' error from f5-sdk on Windows. Go to solution. Nasim_67664. Nimbostratus. Options.
Read more >cross platform alternative for signal.SIGALRM? - Google Groups
Windows : File "fexit.py", line 674, in formdata_post signal.signal(signal.SIGALRM,timeout_handler) AttributeError: 'module' object has no attribute 'SIGALRM ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.
as a fix, I replaced the timeout class in utils/core.py with following class (this requires the eventlet library though)