When I make 10 calls with tests/manual/loopback.py in a single session, they all work, but after disconnecting I get this traceback on the receiver's cluster node: DEBUG:fargo.component:[RECV] ----------------------------------- <presence xmlns='jabber:component:accept' to='receiver2%cross.virt@gw.jabbercluster.virt/gateway' from='initiator2@jabbercluster.virt/loopback' type='unavailable'/> ----------------------------------- 2010-01-29 22:18:39+0000 [XmlStream,client] Unhandled error in Deferred: 2010-01-29 22:18:39+0000 [XmlStream,client] Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/twisted/words/xish/utility.py", line 106, in callback methodwrapper(*args, **kwargs) File "/usr/lib/python2.5/site-packages/twisted/words/xish/utility.py", line 27, in __call__ self.method(*nargs, **nkwargs) File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/component.py", line 290, in got_presence reply = f(stanza) File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 822, in unwindGenerator return _inlineCallbacks(None, f(*args, **kwargs), Deferred()) --- <exception caught here> --- File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 737, in _inlineCallbacks result = g.send(result) File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/component.py", line 359, in got_presence_unavailable conn.got_presence_unavailable(stanza) exceptions.UnboundLocalError: local variable 'conn' referenced before assignment When I try to make a call after this error, the receiver never sends session-accept to the initiator.
That traceback is a red herring; the real failure is due to twisted_telepathy not having any concept of object lifetimes (Bug #26283). *** This bug has been marked as a duplicate of bug 26283 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.