Bug 26141 - Doesn't know how to deal with a presence probe
Summary: Doesn't know how to deal with a presence probe
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: fargo (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: David Laban
QA Contact: Simon McVittie
URL: http://git.collabora.co.uk/?p=user/sm...
Whiteboard: correctness
Keywords: patch
Depends on:
Blocks:
 
Reported: 2010-01-20 10:51 UTC by Simon McVittie
Modified: 2010-01-25 09:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Simon McVittie 2010-01-20 10:51:20 UTC
When I disconnect from Gabble and reconnect, my XMPP server probes fargo, and fargo doesn't know how to deal with that. It should reply with its own available presence, probably?

2010-01-20 18:47:44+0000 [XmlStream,client] [RECV]
	            -----------------------------------
	            <presence xmlns='jabber:component:accept' to='gw.jabbercluster.virt' from='smcv@jabbercluster.virt/X' type='probe'/>
	            -----------------------------------
	        
2010-01-20 18:47:44+0000 [XmlStream,client] Unhandled Error
	Traceback (most recent call last):
	  File "/usr/lib/python2.5/site-packages/twisted/words/xish/domish.py", line 780, in _onEndElement
	    self.ElementEvent(self.currElem)
	  File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/component.py", line 118, in onElement
	    self.xmlstream.onElement(element)
	  File "/usr/lib/python2.5/site-packages/twisted/words/xish/xmlstream.py", line 106, in onElement
	    self.dispatch(element)
	  File "/usr/lib/python2.5/site-packages/twisted/words/xish/utility.py", line 316, in dispatch
	    callbacklist.callback(obj)
	--- <exception caught here> ---
	  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 258, in presence
	    f = self.presence_dispatch[type]
	exceptions.KeyError: u'probe'
Comment 1 Simon McVittie 2010-01-25 07:38:38 UTC
Fixed in my 'presence' branch along with Bug #26208


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.