community
community copied to clipboard
Kivy 2.3.0 support reactor shutdown error twisted 24.7.0
Software Versions Twisted 24.7.0
- Python: 3.11
- OS: Windows 10
- Kivy: 2.3.0
- Kivy installation method: pip
Describe the bug Upgraded to twisted==24.7.0 Kivy application integrated with twisted reactor fails on application shutdown. File support.py line 230 method call _mainLoopShutdown(self) fails with missing attribute error in twisted internet._threadedselect.py Checking the source compared to revision 24.3.0 the previous released version, shows the method has been removed. Because of the exception the program doesn't shutdown
I rolled back to twisted 24.3.0 all good.
Expected behavior No exception when program stopped.
To Reproduce Example echo server app run then observe problem when it is stopped.
Code and Logs and screenshots
Get the echo server application example from the reactor integration to kivy docs
I did not modify.
Traceback (most recent call last):
Other stuff removed.....
File "C:\Users\ronmc\Dev\venv\Lib\site-packages\kivy\support.py", line 230, in reactor_stop
reactor._mainLoopShutdown()
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ThreadedSelectReactor' object has no attribute '_mainLoopShutdown'
Additional context Add any other context about the problem here.