Closed brian9206 closed 1 year ago
Thanks for the report! I develop Mailrise solely for Linux and Docker and don't make a habit of testing for other operating systems.
I've opted to just catch NotImplementedError
and continue. It's nice to be able to gracefully stop the event loop, but it's not essential to do so.
If you try to run mailrise on Windows, you will get this error:
The root cause of this issue is
loop.add_signal_handler
is not available on Windows according to the Python Event Loop documentationTherefore, I changed it to call
signal.signal
on Windows. It may not be the best solution, but at least it can now run on Windows.