[Telepathy] [Bug 19857] New: Crashed when disconnecting

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jan 31 03:44:17 PST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=19857

           Summary: Crashed when disconnecting
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: telepathy-butterfly
        AssignedTo: telepathy at lists.freedesktop.org
        ReportedBy: guillaume.desmottes at collabora.co.uk


Butterfly crashed when I disconnected all my account from Empathy. Then it
fails to reconnect:

INFO:protocol:switchboard_manager:requesting new switchboard
INFO:Butterfly.Connection:Disconnecting
DEBUG:Transport:>>> OUT 25
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/pymsn/client.py", line 301, in
disconnected
    self._state = ClientState.CLOSED
  File "/usr/lib/python2.5/site-packages/pymsn/client.py", line 225, in fset
    self._dispatch("on_client_state_changed", state)
  File "/usr/lib/python2.5/site-packages/pymsn/event/__init__.py", line 44, in
_dispatch
    if event_handler._dispatch_event(name, *args):
  File "/usr/lib/python2.5/site-packages/pymsn/event/__init__.py", line 65, in
_dispatch_event
    handler(*params)
  File "/home/cassidy/dev/telepathy-butterfly/butterfly/connection.py", line
227, in on_client_state_changed
    self._channel_manager.close()
  File "/home/cassidy/dev/telepathy-butterfly/butterfly/channel_manager.py",
line 45, in close
    channel.Close()
  File "/home/cassidy/dev/telepathy-butterfly/butterfly/channel/text.py", line
73, in Close
    telepathy.server.ChannelTypeText.Close(self)
  File "/usr/lib/python2.5/site-packages/telepathy/server/channel.py", line 86,
in Close
    self._conn.remove_channel(self)
  File "/usr/lib/python2.5/site-packages/telepathy/server/conn.py", line 188,
in remove_channel
    self._channels.remove(channel)
KeyError: <butterfly.channel.text.ButterflyTextChannel at
/org/freedesktop/Telepathy/Connection/butterfly/msn/bhshot_5fcassidy_40hotmail_2ecom/channel10
at 0x87e618c>
DEBUG:Transport:>>> OUT 3
DEBUG:Transport:>>> OUT 11
DEBUG:Transport:>>> OUT 33
DEBUG:Transport:>>> XFR 26 SB
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/pymsn/util/decorator.py", line 103, in
process_queue
    func(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/pymsn/msnp/notification.py", line 182,
in request_switchboard
    self._send_command('XFR', ('SB',))
  File "/usr/lib/python2.5/site-packages/pymsn/msnp/base.py", line 80, in
_send_command
    callback, *cb_args)
  File "/usr/lib/python2.5/site-packages/pymsn/transport.py", line 208, in
send_command_ex
    self.send_command(cmd, increment, callback, *cb_args)
  File "/usr/lib/python2.5/site-packages/pymsn/transport.py", line 273, in
send_command
    self._transport.send(str(command), self.__on_command_sent, *our_cb_args)
  File "/usr/lib/python2.5/site-packages/pymsn/gnet/io/iochannel.py", line 157,
in send
    assert(self._status == IoStatus.OPEN), self._status
AssertionError: 1
INFO:protocol:switchboard:Disconnected
INFO:protocol:switchboard:Disconnected
INFO:protocol:switchboard:Disconnected
INFO:Butterfly.Connection:Disconnecting
INFO:Butterfly.Connection:Disconnecting
INFO:Butterfly.Connection:Disconnecting
ERROR:Butterfly.Connection:Failed to create Connection
Traceback (most recent call last):
  File "/home/cassidy/dev/telepathy-butterfly/butterfly/connection.py", line
91, in __init__
    telepathy.server.Connection.__init__(self, 'msn', account, 'butterfly')
  File "/usr/lib/python2.5/site-packages/telepathy/server/conn.py", line 78, in
__init__
    _Connection.__init__(self, bus_name, object_path)
  File "/var/lib/python-support/python2.5/dbus/service.py", line 477, in
__init__
    self.add_to_connection(conn, object_path)
  File "/var/lib/python-support/python2.5/dbus/service.py", line 568, in
add_to_connection
    self._fallback)
KeyError: "Can't register the object-path handler for
'/org/freedesktop/Telepathy/Connection/butterfly/msn/bhshot_5fcassidy_40hotmail_2ecom':
there is already a handler"


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Telepathy mailing list