Bug 566155

Summary: [abrt] crash in telepathy-butterfly-0.5.4-1.fc13
Product: [Fedora] Fedora Reporter: ojab <bugzilla.redhat.com>
Component: telepathy-butterflyAssignee: Brian Pepple <bdpepple>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: baris, bdpepple, sander
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:319046a2
Fixed In Version: telepathy-butterfly-0.5.9-1.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-12 12:23:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description ojab 2010-02-17 13:22:37 UTC
abrt 1.0.6 detected a crash.

architecture: x86_64
cmdline: /usr/bin/python /usr/libexec/telepathy-butterfly
component: telepathy-butterfly
executable: /usr/libexec/telepathy-butterfly
kernel: 2.6.33-0.44.rc8.git0.fc13.x86_64
package: telepathy-butterfly-0.5.4-1.fc13
release: Fedora release 13 (Rawhide)

backtrace
-----
Summary: TB319046a2 capabilities.py:63:on_addressbook_contact_added:AttributeError: 'Contact' object has no attribute 'Membership'

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/papyon/client.py", line 446, in event
    self._dispatch(method_name, *event_args)
  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/capabilities.py", line 63, in on_addressbook_contact_added
    if contact.is_member(contact.Membership.FORWARD):
AttributeError: 'Contact' object has no attribute 'Membership'

Local variables in innermost frame:
self: <butterfly.connection.ButterflyConnection at /org/freedesktop/Telepathy/Connection/butterfly/msn/vkardakov_40protel_2dintl_2ecom at 0x279aed0>
contact: <papyon.Contact id='39934276-bffe-43df-b32e-c2471c06ea84' network='1' account='tarek_no' memberships='FORWARD'>

Comment 1 ojab 2010-02-17 13:22:40 UTC
Created attachment 394730 [details]
File: backtrace

Comment 2 Baris Cicek 2010-03-07 12:50:16 UTC

How to reproduce
-----
1.Make someone add you to their contact list.
2.Try to approve subscription.
3.


Comment
-----
I tried to approve a subscription. Although alias shown on subsription dialog had my account name, not the one that requested subscription. That must be the cause of the bug.

Comment 3 Fedora Update System 2010-04-24 19:46:35 UTC
telepathy-butterfly-0.5.9-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/telepathy-butterfly-0.5.9-1.fc13

Comment 4 Fedora Update System 2010-04-25 13:51:50 UTC
telepathy-butterfly-0.5.9-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update telepathy-butterfly'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/telepathy-butterfly-0.5.9-1.fc13

Comment 5 Fedora Update System 2010-05-12 12:23:04 UTC
telepathy-butterfly-0.5.9-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.