Bug 17030 - Contact display name empty cause error
Summary: Contact display name empty cause error
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: pymsn (show other bugs)
Version: unspecified
Hardware: All All
: highest critical
Assignee: Johann Prieur
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-07 11:13 UTC by hulatang
Modified: 2009-07-23 12:38 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.