-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Expected behavior
Using the README.md on windows and linux starts the script without errors.
Received behavior
Starting the script on windows with the described userflow in the README.md : python main.py
throws an error:
Traceback (most recent call last):
File "C:\Users\annat\OmnAIView2.0FE\DevDataServerOrigin\OmnAIView-DevDataServer\example_python\main.py", line 111, in <module>
loop.add_signal_handler(signal.SIGINT, _on_shutdown)
File "C:\Users\annat\AppData\Local\Programs\Python\Python312\Lib\asyncio\events.py", line 582, in add_signal_handler
raise NotImplementedError
NotImplementedError
Reason
After a quick research I found that add_signal_handler is not provided on windows systems. See https://stackoverflow.com/questions/45987985/asyncio-loops-add-signal-handler-in-windows
Input on how to solve this would be greatly appreciated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working