Re: issue with twisted and reactor. Can't stop reactor

2009-05-12 Thread Jean-Paul Calderone
On Tue, 12 May 2009 14:30:04 -0500, Nick Craig-Wood wrote: Gabriel wrote: Jean-Paul Calderone escribió: > None of the reactors in Twisted are restartable. You can run and stop them > once. After you've stopped a reactor, you cannot run it again. This is > the > cause of your problem. > >

Re: issue with twisted and reactor. Can't stop reactor

2009-05-12 Thread Nick Craig-Wood
Gabriel wrote: > Jean-Paul Calderone escribió: > > None of the reactors in Twisted are restartable. You can run and > stop them > > once. After you've stopped a reactor, you cannot run it again. This is > > the > > cause of your problem. > > > > Jean-Paul > > I see. > Is it possible to d

Re: issue with twisted and reactor. Can't stop reactor

2009-05-11 Thread Gabriel
Jean-Paul Calderone escribió: > None of the reactors in Twisted are restartable. You can run and stop them > once. After you've stopped a reactor, you cannot run it again. This is > the > cause of your problem. > > Jean-Paul I see. Is it possible to do what I want using twisted? or I should f

Re: issue with twisted and reactor. Can't stop reactor

2009-05-11 Thread Jean-Paul Calderone
On Mon, 11 May 2009 17:40:57 -0300, Gabriel wrote: Hello all!, I'm trying to implement a simple one way communication using twisted. [snip] When I call send the first time it works fine, when I call send a second time the sender hangs. [snip] None of the reactors in Twisted are restartable.

[silly] Re: issue with twisted and reactor. Can't stop reactor

2009-05-11 Thread Tim Harig
On 2009-05-11, Gabriel wrote: > Subject: issue with twisted and reactor. Can't stop reactor Not having written anything using twisted I cannot help you much with your code; but, I cannot resist commenting about your subject line: I suspect that if are having an issue with your react

issue with twisted and reactor. Can't stop reactor

2009-05-11 Thread Gabriel
Hello all!, I'm trying to implement a simple one way communication using twisted. Sender: > send message > close connection Receiver: > receive > do something > wait for other message I'm testing with this simple examples: Sender: [code] class SenderClient(protocol.Protocol): def __init__(