On Mon, Nov 24, 2008 at 8:37 AM, Nahuel Defossé <span dir="ltr">&lt;<a href="mailto:nahueldefosse@yahoo.com.ar">nahueldefosse@yahoo.com.ar</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
I&#39;m trying to use a simple application based in twisted.internet.Protocol with<br>
PyQt4.<br>
PyQt has its own way of dealing with events, I&#39;ve tried to run the reactor in<br>
a thread, but it says it only can acquire SIGINT from the main thread :(<br><br>
</blockquote></div><br>Hi Nahuel,<br><br>I don&#39;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:<br>
<br>reactor.run(installSignalHandlers=0)<br><br>Hope that helps,<br>Reza<br><br clear="all"><br>-- <br>Reza Lotun<br>Senior Software Engineer<br>GetPeer Limited<br><a href="mailto:reza@getpeer.com">reza@getpeer.com</a><br>
<br><br>