[Bug 27969] refusing an unwanted MSN request is not remembered to the next login

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 5 13:32:02 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=27969

--- Comment #1 from Jonny Lamb <jonny.lamb at collabora.co.uk> 2010-05-05 04:32:01 PDT ---
I just had a play with this and came to the following conclusion:

This does actually work perfectly fine... most of the time. However, sometimes,
there's a confusion popping up (most probably in butterfly) about what the
handle of a contact is.

As a result, you're being asked to confirm whether a contact can see your
presence, but the handle in question is the self handle, which is clearly
wrong. I've no idea what's going on but I've seen this before. I can never
reliably reproduce it, but basically I called RequestHandles on a contact and
it returned the self handle, which was very odd.

I'm pretty sure these are the same bugs, but I'm not sure how to fix it at the
moment.

To confirm my suspicion, could you attach a dbus-monitor log of your account
connecting, and you rejecting the contact subscription, please?

For the record of this bug, the following traceback is an example of when I try
and remove the self handle:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.5/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/home/jonny/src/telepathy-butterfly/butterfly/channel/contact_list.py",
line 211, in RemoveMembers
    self._remove(h)
  File "/home/jonny/src/telepathy-butterfly/butterfly/channel/contact_list.py",
line 86, in method
    self._mutex.add_callback(self._key, handle, (unlocked_cb,))
  File "/home/jonny/src/telepathy-butterfly/butterfly/channel/contact_list.py",
line 65, in add_callback
    callback[0](*callback[1:])
  File "/home/jonny/src/telepathy-butterfly/butterfly/channel/contact_list.py",
line 83, in unlocked_cb
    if func(object, handle, *args, **kwargs):
  File "/home/jonny/src/telepathy-butterfly/butterfly/channel/contact_list.py",
line 240, in _remove
    contact = handle.contact
AttributeError: 'ButterflySelfHandle' object has no attribute 'contact'

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list