[Twisted-Python] wxpython lockup
![](https://secure.gravatar.com/avatar/710bb35b7b65f97fa69b38c578b38247.jpg?s=120&d=mm&r=g)
Greets, I'm currently refactoring a multi threaded wxPython app to use twisted and adbapi. I've based my code ion the wx demo in the twisted distribution e.g: from twisted.internet import wxreactor wxreactor.install() from twisted.internet import reactor ... reactor.registerWxApp(app) reactor.run(0) The app loads and then freezes, sometimes some of the widgets remain active for a few seconds before freezing up. No other threads have been started by this time. What gives ? Is the wxreactor stable an ready for production ? Ubuntu 5.4 (2.6.10-5-386) wxPython 2.6 thanks -- Thys Meintjes <thys@quaint.co.za>
![](https://secure.gravatar.com/avatar/df54ee7d51b5ab063ae5850f3512e5af.jpg?s=120&d=mm&r=g)
Quoting Thys Meintjes <thys@quaint.co.za>: # # What gives ? Is the wxreactor stable an ready for production ? # I found many problems with wxreactor. try threadedselectreactor instead (its not released yet, find it in the twisted repository, threadedselectreactor.py is all you need, it works with the latest 'official' twisted release) I am using wxPython/threadedselectreactor and tada for database quite nicely, adbapi should work too. Clive ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
![](https://secure.gravatar.com/avatar/df54ee7d51b5ab063ae5850f3512e5af.jpg?s=120&d=mm&r=g)
Quoting Thys Meintjes <thys@quaint.co.za>: # # What gives ? Is the wxreactor stable an ready for production ? # I found many problems with wxreactor. try threadedselectreactor instead (its not released yet, find it in the twisted repository, threadedselectreactor.py is all you need, it works with the latest 'official' twisted release) I am using wxPython/threadedselectreactor and tada for database quite nicely, adbapi should work too. Clive ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
participants (3)
-
Antoine Pitrou
-
clive@darkarts.co.za
-
Thys Meintjes