Empathy problem

Bug #801963 reported by ogupower on 2011-06-25
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
kupfer
Undecided
Stas Sușcov

Bug Description

I have a problem with the plugin "empathy": the plugin is activated but the contacts are not recognized, also the first time you activated the plugin, Kupfer hangs and does not take the keys that are pressed!I have Ubuntu 11.04 with empathy 2.34

Mihai Capotă (mihaic) wrote :

Confirming in Ubuntu 11.04 with Kupfer version 0+v206-0ubuntu0~mav~kupferhope (from PPA).

I get the same error as in bug 593314, comment 3:
https://bugs.launchpad.net/kupfer/+bug/593314/comments/3

The workaround in comment 11, exiting empathy before enabling the plugin, works. I get the list of contacts, but Kupfer becomes unresponsive:
D [kupfer.plugin.empathy] ContactsSource: Warning(?): merged in 25.0535149574 seconds

However, after restarting Kupfer, I get the following exception:

Traceback (most recent call last):
  File "/usr/share/kupfer/kupfer/core/pluginload.py", line 60, in exception_guard
    yield
  File "/usr/share/kupfer/kupfer/core/sources.py", line 588, in _cache_sources
    self.rescanner.rescan_now(src, force_update=False)
  File "/usr/share/kupfer/kupfer/core/sources.py", line 67, in rescan_now
    self.rescan_source(source, force_update=force_update)
  File "/usr/share/kupfer/kupfer/core/sources.py", line 77, in rescan_source
    list(source.get_leaves(force_update=force_update))
  File "/usr/share/kupfer/kupfer/obj/grouping.py", line 76, in get_leaves
    leaves = Source.get_leaves(src, force_update)
  File "/usr/share/kupfer/kupfer/obj/base.py", line 429, in get_leaves
    datatools.SavedIterable(sort_func(self.get_items()))
  File "/usr/share/kupfer/kupfer/plugin/empathy.py", line 189, in get_items
    self._contacts = list(self._find_all_contacts(interface))
  File "/usr/share/kupfer/kupfer/plugin/empathy.py", line 209, in _find_all_contacts
    contacts = contact_group.Get(CHANNEL_GROUP_IFACE, "Members")
  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)
DBusException: org.freedesktop.Telepathy.Error.NotImplemented: No properties known for interface org.freedesktop.Telepathy.Channel.Interface.Group
Error [kupfer.core.pluginload]: This error is probably a bug in Empathy Contacts
Error [kupfer.core.pluginload]: Please file a bug report

Changed in kupfer:
status: New → Confirmed
Hugo Ribeiro (hugosenari) wrote :

Adding some try/except works to me.

But need to be reimplemented using async calls or python-telepathy.

Stas Sușcov (sushkov) wrote :

I sent a patch on github.
https://github.com/engla/kupfer/pull/9

Changed in kupfer:
assignee: nobody → Stas Sușcov (sushkov)
status: Confirmed → In Progress
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers