How to catch exception in twisted Deferred callback?

It's never called because the code under your comment that says it asks the reactor to stop itself in 4 seconds actually asks the reactor to stop itself in 1 second. The 2-second callLater never gets called, so d is never fired, so nextCall is never called Maybe you should try constructing this example without use of the reactor, just by calling callback on the appropriate deferred synchronously? You don't need the reactor to fire a simple Deferred and messing around with them synchronously can help to give you a more precise idea of what exactly happens when.

It's never called because the code under your comment that says it asks the reactor to stop itself in 4 seconds actually asks the reactor to stop itself in 1 second. The 2-second callLater never gets called, so d is never fired, so nextCall is never called. Maybe you should try constructing this example without use of the reactor, just by calling callback on the appropriate deferred synchronously?

You don't need the reactor to fire a simple Deferred and messing around with them synchronously can help to give you a more precise idea of what exactly happens when.

1 you right, thanks!. I don't undestand. How I missed that?!?

– Oduvan Oct 28 at 12:29.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions