[Twisted-Python] PerspectiveClientManager.disconnect() - results in Unhandled error in Deferred

Jean-Paul Calderone exarkun at divmod.com
Thu Jun 12 09:28:38 EDT 2008

On Wed, 11 Jun 2008 15:28:40 -0700, happybrowndog <happybrowndog at hotmail.com> wrote:
>I am calling the disconnect() method of an instance of the 
>PerspectiveClientManager class, but when is is called, I get the following 
>Unhandled error in Deferred:
>Traceback (most recent call last):
>Failure: twisted.spread.pb.PBConnectionLost: [Failure instance: Traceback 
>(failure with no frames): twisted.internet.error.ConnectionDone: Connection 
>was closed cleanly.
>I have no idea what to look for as to what is causing this error.  Does 
>someone have any idea?

Most likely this is a failure on a Deferred returned by PB's callRemote
method.  You can get more information about where it was created by
enabling Deferred debugging.  See the --debug option to twistd or


More information about the Twisted-Python mailing list