telepathy-butterfly crashed with KeyError in remove_channel()

Bug #222511 reported by tutuca
256
This bug affects 22 people
Affects Status Importance Assigned to Milestone
telepathy-butterfly
Unknown
Medium
telepathy-butterfly (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: telepathy-butterfly

I've just updated to hardy. The crash was on restart

ProblemType: Crash
Architecture: i386
Date: Mon Apr 21 15:26:22 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/lib/telepathy/telepathy-butterfly
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: nvidia
Package: telepathy-butterfly 0.3.1-0ubuntu2
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/lib/telepathy/telepathy-butterfly
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=es_AR.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/lib/telepathy/telepathy-butterfly']
SourcePackage: telepathy-butterfly
Title: telepathy-butterfly crashed with KeyError in remove_channel()
Uname: Linux 2.6.24-16-generic i686

Tags: apport-crash
Revision history for this message
tutuca (tutuca) wrote :
Changed in telepathy-butterfly:
importance: Undecided → Medium
Revision history for this message
In , Guillaume-desmottes (guillaume-desmottes) wrote :
Download full text (3.5 KiB)

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, ...

Read more...

Revision history for this message
In , Guillaume-desmottes (guillaume-desmottes) wrote :
Revision history for this message
In , Freedesktop-bugs-nullinfinity (freedesktop-bugs-nullinfinity) wrote :

*** Bug 19966 has been marked as a duplicate of this bug. ***

visibility: private → public
Revision history for this message
Neil Munro (neilmunro-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and help make Ubuntu better.

Can you please test this on a more recent Ubuntu release and see if the bug still occurs? If it does we can investigate further, additionally if it does occur in a more recent release can you please try the PPA for Empathy and confirm it exists there too?

Changed in telepathy-butterfly (Ubuntu):
status: New → Incomplete
Revision history for this message
Michael Moroni (airon90) wrote :

When I have a offline PM, Empathy crashed when logging in but not when logging out and it didn't visualize that PM

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Could you please try with latest version from the telepathy PPA? https://edge.launchpad.net/~telepathy/+archive/ppa Thanks in advance.

Revision history for this message
Michael Moroni (airon90) wrote : Re: [Bug 222511] Re: telepathy-butterfly crashed with KeyError in remove_channel()

Thank you for what? :D
When I log in it crashed again but I cannot report the bug because it isn't
a genuine package. Now, again, it crashed when I log out (before I updated
Empathy, on my pc it didn't crash when logging out :| ).

2009/6/30 Pedro Villavicencio <email address hidden>

> Could you please try with latest version from the telepathy PPA?
> https://edge.launchpad.net/~telepathy/+archive/ppa<https://edge.launchpad.net/%7Etelepathy/+archive/ppa>Thanks in advance.
>
> --
> telepathy-butterfly crashed with KeyError in remove_channel()
> https://bugs.launchpad.net/bugs/222511
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “telepathy-butterfly” package in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: telepathy-butterfly
>
> I've just updated to hardy. The crash was on restart
>
> ProblemType: Crash
> Architecture: i386
> Date: Mon Apr 21 15:26:22 2008
> DistroRelease: Ubuntu 8.04
> ExecutablePath: /usr/lib/telepathy/telepathy-butterfly
> InterpreterPath: /usr/bin/python2.5
> NonfreeKernelModules: nvidia
> Package: telepathy-butterfly 0.3.1-0ubuntu2
> PackageArchitecture: all
> ProcCmdline: /usr/bin/python /usr/lib/telepathy/telepathy-butterfly
> ProcEnviron:
>
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> LANG=es_AR.UTF-8
> SHELL=/bin/bash
> PythonArgs: ['/usr/lib/telepathy/telepathy-butterfly']
> SourcePackage: telepathy-butterfly
> Title: telepathy-butterfly crashed with KeyError in remove_channel()
> Uname: Linux 2.6.24-16-generic i686
>

Revision history for this message
Michael Moroni (airon90) wrote :

Stupid question: if I take those PPA off my sources.list, will Empathy
downgrade or I have to unistall it in order to reinstall it?

2009/6/30 Michael Moroni <email address hidden>

> Thank you for what? :D
> When I log in it crashed again but I cannot report the bug because it isn't
> a genuine package. Now, again, it crashed when I log out (before I updated
> Empathy, on my pc it didn't crash when logging out :| ).
>
> 2009/6/30 Pedro Villavicencio <email address hidden>
>
> Could you please try with latest version from the telepathy PPA?
>> https://edge.launchpad.net/~telepathy/+archive/ppa<https://edge.launchpad.net/%7Etelepathy/+archive/ppa>Thanks in advance.
>>
>> --
>> telepathy-butterfly crashed with KeyError in remove_channel()
>> https://bugs.launchpad.net/bugs/222511
>> You received this bug notification because you are a direct subscriber
>> of a duplicate bug.
>>
>> Status in “telepathy-butterfly” package in Ubuntu: Incomplete
>>
>> Bug description:
>> Binary package hint: telepathy-butterfly
>>
>> I've just updated to hardy. The crash was on restart
>>
>> ProblemType: Crash
>> Architecture: i386
>> Date: Mon Apr 21 15:26:22 2008
>> DistroRelease: Ubuntu 8.04
>> ExecutablePath: /usr/lib/telepathy/telepathy-butterfly
>> InterpreterPath: /usr/bin/python2.5
>> NonfreeKernelModules: nvidia
>> Package: telepathy-butterfly 0.3.1-0ubuntu2
>> PackageArchitecture: all
>> ProcCmdline: /usr/bin/python /usr/lib/telepathy/telepathy-butterfly
>> ProcEnviron:
>>
>> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
>> LANG=es_AR.UTF-8
>> SHELL=/bin/bash
>> PythonArgs: ['/usr/lib/telepathy/telepathy-butterfly']
>> SourcePackage: telepathy-butterfly
>> Title: telepathy-butterfly crashed with KeyError in remove_channel()
>> Uname: Linux 2.6.24-16-generic i686
>>
>
>

Revision history for this message
Siegfried Gevatter (rainct) wrote : Re: [Bug 222511] Re: telepathy-butterfly crashed with KeyError in remove_channel()

2009/6/30 Michael Moroni <email address hidden>:
> Stupid question: if I take those PPA off my sources.list, will Empathy
> downgrade or I have to unistall it in order to reinstall it?

You can downgrade the package from Synaptic with the "Force version..." option, or uninstall the package and install it again.

--
Siegfried-Angel Gevatter Pujals (RainCT)
Ubuntu Developer. Debian Contributor.

Changed in telepathy-butterfly (Ubuntu):
status: Incomplete → Triaged
Changed in telepathy-butterfly:
status: Unknown → Confirmed
Revision history for this message
Olivier Le Thanh Duong (olethanh) wrote :

The bug linked upstream has a different traceback and so is a different error, could one of the person affected by this bug, if it still exist, provide a complete Butterfly log for it ? thanks in advance.

See http://live.gnome.org/Empathy/Debugging on how to provide a log.

Changed in telepathy-butterfly (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
xermán (xerman.soto) wrote :

Binary package hint: telepathy-butterfly

1- OS: Ubuntu 904x64 uptodate 2009.10.16
2- Pack: Empathy 2.26.1-1ubuntu1 / Telepathy-Butterfly 0.3.3-1
3- Close application
4- Aplication closes but produces error message. On restart can not connect to MSN network saying Network Error.

Detailed information regarding this 4th point:

1- Application closes but produces Telepathy-Butterfly error.
2- On restart can not connect to MSN network stating Network Error in Empathy MSN account
3- Closing application closes normally
4- Process list shows "telepathy-butterfly" process still up.
5- Open Empathy, check process list, "telepathy-butterfly" process does not modify.
6- Close Empathy, check process list, "telepathy-butterfly" process does not modify.
7- Kill "telepathy-butterfly" process, makes process dissappear from process list.
8- Launch Empathy, now can connect to MSN network.

Best regards and thanks

Xermán Soto

Revision history for this message
Sebastien Bacher (seb128) wrote :

is that still an issue in karmic?

Revision history for this message
Lars (l-gronning) wrote :

I have this crash on Karmic as well

Revision history for this message
Brian Curtis (bcurtiswx) wrote :

Lars: could you please provide a backtrace by following the instructions at https://wiki.ubuntu.com/Backtrace . Also please type 'apport-collect 222511' in your terminal.

Revision history for this message
In , tester@tester.ca (testertester.ca) wrote :

I can reproduce this bug on my N900, we should fix.

Revision history for this message
In , Jonny-lamb (jonny-lamb) wrote :

Does this happen randomly or is there a way to reproduce it?

Revision history for this message
In , Guillaume-desmottes (guillaume-desmottes) wrote :

IIRC It used to be easily to reproduce but I can't reproduce it any more. So feel free to close the bug.

Revision history for this message
In , Jonny-lamb (jonny-lamb) wrote :

I think I saw it recently here when I was playing with butterfly, so I'm going to leave it open for now.

Revision history for this message
Sebastien Bacher (seb128) wrote :

is somebody still getting the issue in lucid?

Revision history for this message
In , Jonny-lamb (jonny-lamb) wrote :

This could be a dup of bug #27544, or at least related.

Changed in telepathy-butterfly (Ubuntu):
status: Incomplete → Triaged
Changed in telepathy-butterfly:
importance: Unknown → Medium
Revision history for this message
Christoph Langner (chrissss) wrote :

Just got this bug on Maverick.

Changed in telepathy-butterfly:
importance: Medium → Unknown
Changed in telepathy-butterfly:
importance: Unknown → Medium
Revision history for this message
In , Gitlab-migration (gitlab-migration) wrote :

-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-butterfly/issues/4.

Changed in telepathy-butterfly:
status: Confirmed → Unknown
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.