telepathy-butterfly crashed with AttributeError in on_contact_memberships_changed()

Bug #222336 reported by Suger
68
This bug affects 2 people
Affects Status Importance Assigned to Milestone
telepathy-butterfly
Fix Released
Critical
telepathy-butterfly (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: telepathy-butterfly

Occured while adding a MSN contact. If I open Pidgin, I have a synchronisation difference between my local list and the server list of contacts

ProblemType: Crash
Architecture: i386
Date: Sat Apr 26 07:14:36 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/lib/telepathy/telepathy-butterfly
InterpreterPath: /usr/bin/python2.5
Package: telepathy-butterfly 0.3.1-0ubuntu2
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/lib/telepathy/telepathy-butterfly
ProcEnviron:
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/e17/bin
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/lib/telepathy/telepathy-butterfly']
SourcePackage: telepathy-butterfly
Title: telepathy-butterfly crashed with AttributeError in on_contact_memberships_changed()
Uname: Linux 2.6.24-16-generic i686
UserGroups: adm admin audio cdrom crontab dialout dip fax floppy fuse games lpadmin mail man plugdev proxy sasl scanner slocate ssh staff sudo sys syslog tape users vboxusers video

Tags: apport-crash
Revision history for this message
Suger (suger) wrote :
Changed in telepathy-butterfly:
importance: Undecided → Medium
Revision history for this message
Duncan Lithgow (duncan-lithgow) wrote :

This bug has been here for a while without movement and is also present in Jaunty as per bug #324273

Revision history for this message
Duncan Lithgow (duncan-lithgow) wrote :

With four duplicates I'm marking this as confirmed.

Changed in telepathy-butterfly:
status: New → Confirmed
Revision history for this message
In , Guillaume-desmottes (guillaume-desmottes) wrote :

Original bug report:
https://bugs.edge.launchpad.net/ubuntu/+source/telepathy-butterfly/+bug/222336

Occured while adding a MSN contact. If I open Pidgin, I have a synchronisation difference between my local list and the server list of contacts

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/pymsn/client.py", line 252, in property_changed
    self._dispatch(method_name, contact)
  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 "/usr/lib/python2.5/site-packages/butterfly/aliasing.py", line 98, in on_contact_memberships_changed
    handle = ButterflyHandleFactory(self._conn_ref(), 'contact',
AttributeError: 'ButterflyConnection' object has no attribute '_conn_ref'

Changed in telepathy-butterfly:
status: Unknown → New
Revision history for this message
In , Olivier Le Thanh Duong (olethanh) wrote :

The _conn_ref attribute doesn't exist at all and we shoud only pass self to ButterflyHandleFactory. Here is a short patch that fix the problem:
http://repo.or.cz/w/telepathy-butterfly.git?a=shortlog;h=refs/heads/bug19919

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

commit c09a8a65d1f8a944d547c48f5a155c9069069f1e
Author: Olivier Le Thanh Duong <email address hidden>
Date: Tue Feb 3 00:55:27 2009 +0100

    Fix on_contact_memberships_changed (fd.o #19919)

    Corrected the parameter given to ButterflyHandleFactory
    in on_contact_memberships_changed which caused the
    AttributeError.

    Signed-off-by: Jonny Lamb <email address hidden>

Revision history for this message
Guillaume Desmottes (cassidy) wrote :
Changed in telepathy-butterfly:
status: New → Unknown
Changed in telepathy-butterfly:
status: Unknown → Confirmed
Changed in telepathy-butterfly:
status: Confirmed → Fix Committed
Changed in telepathy-butterfly:
status: Confirmed → Fix Released
Revision history for this message
Pedro Villavicencio (pedro) wrote :

the package containing the fix is already on karmic, marking this as fix released, thanks all.

Changed in telepathy-butterfly (Ubuntu):
status: Fix Committed → Fix Released
Changed in telepathy-butterfly:
importance: Unknown → Critical
Changed in telepathy-butterfly:
importance: Critical → Unknown
Changed in telepathy-butterfly:
importance: Unknown → Critical
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.