[Twisted-Python] deferred graph?

Laurens Van Houtven _ at lvh.cc
Thu Jun 28 18:00:10 EDT 2012

You should still see the unhandled deferred in your logs if that's truly
the case.

On Thursday, June 28, 2012, Dan Stromberg wrote:

> Hi.
> I'm a Twisted neophyte, but I've been using Python a long time.
> My question:
> Is there a way of producing a deferred graph in a Python program at a
> given point in time?  Perhaps something based on graphviz and objgraph.py?
>  We're able to detect when we're having the problem, we just don't (yet)
> know its cause.
> Background:
> I'm looking at some code with a bit over 200
> addCallback/addErrback/addCallbacks in it.
> It's got a problem where sometimes the deferreds seem to just stop
> executing.  I see in the doc it says that this can happen if you've
> neglected to add an errback to the end of one or more of your deferred
> chains.
> One of the people who's been here longer than me, indicated that he's gone
> through the code looking for such issues, and didn't find any.  This
> suggests to me that either there's some other cause, or that it really is a
> deferred without a final errback, but it's hidden in a dark corner of the
> code somewhere.
> Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20120629/67957113/attachment.htm 

More information about the Twisted-Python mailing list