Empathy change status exception

Bug #802900 reported by Mihai Capotă
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kupfer
New
Undecided
Unassigned

Bug Description

When I try to change status for Empathy, I get the following exception:

Traceback (most recent call last):
  File "/usr/share/kupfer/kupfer/ui/browser.py", line 1563, in _activate
    self.data_controller.activate(ui_ctx=self._make_gui_ctx())
  File "/usr/share/kupfer/kupfer/core/data.py", line 798, in activate
    res, ret = ctx.run(leaf, action, sobject, ui_ctx=ui_ctx)
  File "/usr/share/kupfer/kupfer/core/commandexec.py", line 303, in run
    ret = activate_action(execution_token, obj, action, iobj)
  File "/usr/share/kupfer/kupfer/core/commandexec.py", line 80, in activate_action
    return _activate_action_single(obj, action, iobj, kwargs)
  File "/usr/share/kupfer/kupfer/core/commandexec.py", line 86, in _activate_action_single
    ret = action.activate(obj, iobj, **kwargs)
  File "/usr/share/kupfer/kupfer/plugin/empathy.py", line 148, in activate
    simple_presence.SetPresence(iobj.object, _STATUSES.get(iobj.object))
  File "/usr/lib/pymodules/python2.7/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/pymodules/python2.7/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.7/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "SetPresence" with signature "ss" on interface "org.freedesktop.Telepathy.Connection.Interface.SimplePresence" doesn't exist

I'm using Kupfer version 0+v206-0ubuntu0~mav~kupferhope (from PPA) on Ubuntu 11.04.

Revision history for this message
Nikola Petrov (nikolavp) wrote :

This is caused because of IRC accounts which don't support the SetPresence dbus method. Look at the simple script here http://askubuntu.com/questions/40842/how-can-i-automatically-set-my-status-to-busy-when-empathy-starts/64018#64018 which will fail if you have an irc account.

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.