Bug 27812

Summary: butterfly crash when MSN unreachable (behind firewall)
Product: Telepathy Reporter: Rob Bradford <rob>
Component: butterflyAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED WORKSFORME QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium Keywords: NEEDINFO
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Rob Bradford 2010-04-23 04:05:07 UTC
telepathy-butterfly-0.5.8-1.1
papyon: 0.4.4

Reported originally as: http://bugs.meego.com/show_bug.cgi?id=1219
Seems very similar to https://bugs.freedesktop.org/show_bug.cgi?id=19857

connmgr.py:55:disconnected:KeyError: <butterfly.connection.ButterflyConnection at /org/freedesktop/Telepathy/Connection/butterfly/msn/cqdew_40hotmail_2ecom at 0x94c314c>

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/papyon/client.py", line 366, in disconnected
    self._state = ClientState.CLOSED
  File "/usr/lib/python2.6/site-packages/papyon/client.py", line 278, in fset
    self._dispatch("on_client_state_changed", state)
  File "/usr/lib/python2.6/site-packages/papyon/event/__init__.py", line 44, in _dispatch
    if event_handler._dispatch_event(name, *args):
  File "/usr/lib/python2.6/site-packages/papyon/event/__init__.py", line 65, in _dispatch_event
    handler(*params)
  File "/usr/lib/python2.6/site-packages/butterfly/connection.py", line 305, in on_client_state_changed
    self._advertise_disconnected()
  File "/usr/lib/python2.6/site-packages/butterfly/connection.py", line 393, in _advertise_disconnected
    self._manager.disconnected(self)
  File "/usr/lib/python2.6/site-packages/butterfly/connection_manager.py", line 82, in disconnected
    result = telepathy.server.ConnectionManager.disconnected(self, conn)
  File "/usr/lib/python2.6/site-packages/telepathy/server/connmgr.py", line 55, in disconnected
    self._connections.remove(conn)
KeyError: <butterfly.connection.ButterflyConnection at /org/freedesktop/Telepathy/Connection/butterfly/msn/cqdew_40hotmail_2ecom at 0x94c314c>

Local variables in innermost frame:
self: <butterfly.connection_manager.ButterflyConnectionManager at /org/freedesktop/Telepathy/ConnectionManager/butterfly at 0x94bbe6c>
conn: <butterfly.connection.ButterflyConnection at /org/freedesktop/Telepathy/Connection/butterfly/msn/cqdew_40hotmail_2ecom at 0x94c314c>
Comment 1 Simon McVittie 2010-04-23 05:46:37 UTC
That's not Haze. :-)
Comment 2 Jonny Lamb 2010-04-23 06:40:43 UTC
You said it was haze, you reported it against papyon, but the bug's actually in butterfly!

Can you reproduce this every time then? You just disconnect yourself from t'internet and force butterfly to connect?

(In reply to comment #0)
> Reported originally as: http://bugs.meego.com/show_bug.cgi?id=1219

"You are not authorized to access bug #1219." :-(
Comment 3 Rob Bradford 2010-04-23 10:11:12 UTC
It's sunny outside, can you help that i'm distracted. I've not reproduced this i'm just forwarding this report from our QA team who are behind a corporate firewall.

If you create a bugzilla account (on meego.com) you can have access but the original bug report doesn't have any more information.
Comment 4 Jonny Lamb 2010-05-03 09:03:26 UTC
Sorry, I'm stumped. Can you get some logs please? I really don't see how this can ever happen.

As a wild guess, I find it unlikely you're going to be coming back here with logs after having reproduced it, so I'll close this bug with WORKSFORME for now. Feel free to re-open.

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.