GNOME Bugzilla – Bug 584543
Empathy doesn't properly manage a Geoclue restart
Last modified: 2012-08-26 05:46:22 UTC
To reproduce: - Launch Geoclue manually - Start Empathy and enable "publish location" - Empathy communicates with your Geoclue instance as expected - Disable "publish location" - Restart Geoclue - Enable "publish location". Empathy can't use Geoclue anymore: ** (empathy:10658): DEBUG: initial_address_cb: Error: Method "GetAddress" with signature "" on interface "org.freedesktop.Geoclue.Address" doesn't exist ** (empathy:10658): DEBUG: initial_position_cb: Error: Method "GetPosition" with signature "" on interface "org.freedesktop.Geoclue.Position" doesn't exist
I sent a patch to Geoclue where the GeoclueMasterClient should send an "invalidated" signal when the dbus service dies. Empathy can then recreate one with its settings (and restart Geoclue at the same time).
See http://bugs.freedesktop.org/show_bug.cgi?id=23425
Created attachment 141276 [details] [review] Proposed fix on branch fix-584543 http://git.collabora.co.uk/?p=user/pierlux/empathy.git;a=shortlog;h=refs/heads/fix-584543 This patch depends on http://bugs.freedesktop.org/show_bug.cgi?id=23425 on Geoclue libempathy-gtk/empathy-location-manager.c | 22 ++++++++++++++++++++-- 1 files changed, 20 insertions(+), 2 deletions(-)
Your patch looks good. Feel free to merge it once the Geoclue bits has been released (don't forget to bump the dep).
The patch has been merged in Geoclue, not released yet.
I have a vague feeling that geoclue has been released since then.