[Twisted-Python] wxpython, threadselectreactor and thread

Bob Ippolito bob at redivi.com
Mon May 30 12:12:49 EDT 2005


On May 30, 2005, at 8:17 AM, Itamar Shtull-Trauring wrote:

> On Mon, 2005-05-30 at 14:35 +0200, Michele Petrazzo wrote:
>
>
>> 3) Why into your demo the reactor.stop() work and into my code I  
>> receive
>> this error:
>> RuntimeError: can't stop reactor that isn't running
>> I use the same code initialization of the demo.
>>
>
> You are not calling reactor.run() anywhere, as far as I can tell.

That shouldn't be the problem.. reactor.interleave() is being  
called.  reactor.interleave is effectively a non-blocking version of  
stop.

-bob





More information about the Twisted-Python mailing list