On Mon, Nov 24, 2008 at 8:37 AM, Nahuel Defossé <nahueldefosse@yahoo.com.ar> wrote:
Hi,
I'm trying to use a simple application based in twisted.internet.Protocol with
PyQt4.
PyQt has its own way of dealing with events, I've tried to run the reactor in
a thread, but it says it only can acquire SIGINT from the main thread :(


Hi Nahuel,

I don't have any way of testing qt4reactor.py easily, but if you run your reactor in a separate thread, make sure to instruct twisted not to install its signal handlers with a:

reactor.run(installSignalHandlers=0)

Hope that helps,
Reza


--
Reza Lotun
Senior Software Engineer
GetPeer Limited
reza@getpeer.com