-
Notifications
You must be signed in to change notification settings - Fork 19
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
AttributeError: module 'signal' has no attribute 'SIGALRM' - receive_test.py #7
Comments
Thanks for this bug report. I want to support Windows users and will need to remove references to the unix / Linux SIGALRM from the receive_test.py program but also from the imagenode.py call to the Patience class. The SIGALRM unix OS signal is a simple timer, but it runs asynchronously outside of Python. I will need to replace it with another algorithm. I should have a fix for this in a few days. Your work-around removes the timer function, which should work fine until then. |
I replaced the |
Hey Jeff, |
This following error occurs with Windows 10 while running
receive_test.py
:A work-around (not a fix) for this error can be made to
receive_test.py
. Add the following line of code to the import section ofreceive_test.py
.from sys import platform
Next, replace the following lines in function
receive_images_forever()
with the following:replace with
Note: This will stop the error from occurring, but the FPS test will not time out. This will allow you to run the script and tune the motion detection of your YAML file.
The text was updated successfully, but these errors were encountered: