[Twisted-Python] Dealing with an intermittent PB server

Dave Cook daverz at gmail.com
Thu Feb 17 14:31:24 EST 2005

On Thu, 17 Feb 2005 01:05:22 +0000, Phil Mayers <p.mayers at imperial.ac.uk> wrote:
>     try:
>       self.root.callRemote('start').addCallbacks(self.start2, self.err)

I never get this far.  In my code:

    def data_tableList(self, ctx, data):
        d = self.pbClientFactory.login(creds).addCallbacks(self._cbLogin,
        return d
Neither _cbLogin or _ebLogin ever get called, so there's no possiblity
of the DeadReferenceError getting called.  I guess this could be a
Nevow bug (I hate bugging people if it's just my misunderstanding)?  I
think what I'll do is keep a reference to the original SSLClient
object and check client.running before I try factory.login().

More information about the Twisted-Python mailing list