Bug 17030

Summary: Contact display name empty cause error
Product: Telepathy Reporter: hulatang <myhusky>
Component: pymsnAssignee: Johann Prieur <johann.prieur>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: critical    
Priority: highest CC: guillaume.desmottes
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description hulatang 2008-08-07 11:13:33 UTC
following errors occurs when a contact has no display name specified


Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/pymsn/service/SOAPService.py", line 198, in _response_handler
    handler(callback, errback, response, user_data)
  File "/usr/lib/python2.4/site-packages/pymsn/service/AddressBook/sharing.py", line 127, in _HandleFindMembershipResponse
    callback[0](memberships.values(), *callback[1:])
  File "/usr/lib/python2.4/site-packages/pymsn/service/AddressBook/scenario/sync/initial_sync.py", line 56, in __membership_findall_callback
    self.__membership_response, *callback[1:])
  File "/usr/lib/python2.4/site-packages/pymsn/service/AddressBook/address_book.py", line 241, in callback
    self.__update_memberships(memberships)
  File "/usr/lib/python2.4/site-packages/pymsn/service/AddressBook/address_book.py", line 571, in __update_memberships
    member.DisplayName.encode("utf-8"),
AttributeError: 'NoneType' object has no attribute 'encode'
Comment 1 Louis-Francis Ratté-Boulianne 2009-07-22 08:54:27 UTC
*** Bug 19920 has been marked as a duplicate of this bug. ***
Comment 2 Louis-Francis Ratté-Boulianne 2009-07-23 12:38:50 UTC
Fixed in papyon git master

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.