[Twisted-Python] difficulty in calling callLater from callback

Jp Calderone exarkun at intarweb.us
Wed Dec 10 13:58:30 EST 2003

On Wed, Dec 10, 2003 at 06:10:09PM +0000, Martin Waite wrote:
> Hi,
> [sni]p
> What happens is that read_db_response() runs exactly once.
> Does anyone know what I have done wrong here ?

  radix and itamar have pointed out the specific problem, but I'd like to
point out another: there are no errbacks in your code.

  Without error handlers, any exception that is raised asynchronously
(termed a "failure" in Twisted) will probably never be reported to you.

  More importantly, even if you manage to debug your application without
adding error handlers, you'll never know if it breaks once you deploy it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20031210/728fe9dd/attachment.pgp 

More information about the Twisted-Python mailing list