Hi ,<br><br>@When I run &quot;position-example&quot; for Gypsy it works fine and I see<br>
position change notifications. But the master provider seems not to work.<br><br>&nbsp;-- Try changing GEOCLUE_PROVIDER (priv-&gt;address) to GEOCLUE_PROVIDER (priv-&gt;position) in gc_master_provider_get_provider() in master provider.c +125<br>
See if this works for you.<br><br>@I need to manually invoke the gypsy-daemon right?<br><br>-- Geoclue documentation says this is required for older version of DBus.<br><br>@It seems like the main advantage of using geoclue as the front-end to gypsy<br>

is the ability to use the master provider.<br><br>-- master provider will choose the right provider from the available one&#39;s based on your&nbsp; set requirements API.<br><br>Regards,<br>Leenata Bankhele.<br><br><div class="gmail_quote">
On Wed, Feb 11, 2009 at 1:30 AM,  <span dir="ltr">&lt;<a href="mailto:geoclue-request@lists.freedesktop.org" target="_blank">geoclue-request@lists.freedesktop.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send GeoClue mailing list submissions to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:geoclue@lists.freedesktop.org" target="_blank">geoclue@lists.freedesktop.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://lists.freedesktop.org/mailman/listinfo/geoclue" target="_blank">http://lists.freedesktop.org/mailman/listinfo/geoclue</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:geoclue-request@lists.freedesktop.org" target="_blank">geoclue-request@lists.freedesktop.org</a><br>
<br>
You can reach the person managing the list at<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:geoclue-owner@lists.freedesktop.org" target="_blank">geoclue-owner@lists.freedesktop.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of GeoClue digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
 &nbsp; 1. Problems using the geoclue master client. (Kishen Maloor)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 9 Feb 2009 16:56:40 -0800<br>
From: Kishen Maloor &lt;<a href="mailto:kishenm@gmail.com" target="_blank">kishenm@gmail.com</a>&gt;<br>
Subject: Problems using the geoclue master client.<br>
To: <a href="mailto:geoclue@lists.freedesktop.org" target="_blank">geoclue@lists.freedesktop.org</a><br>
Message-ID:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:e21bd8820902091656r30e8bf28s75445512a567c3d@mail.gmail.com" target="_blank">e21bd8820902091656r30e8bf28s75445512a567c3d@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Hi,<br>
I have some quick questions.<br>
<br>
I have built and set up geoclue 0.11.<br>
<br>
I am trying to run the &quot;master-pos-example&quot; example client.<br>
I ran geoclue-master manually in a separate window and captured<br>
the following debug output:<br>
** (process:17283): DEBUG: client: 1 position providers matching<br>
requirements found, now choosing current provider<br>
** (process:17283): DEBUG: client: connecting to &#39;Gypsy&#39; accuracy-changed<br>
and status-changed<br>
** (process:17283): DEBUG: client: choosing best provider<br>
** (process:17283): DEBUG: &nbsp; &nbsp; &nbsp; &nbsp; ...trying provider Gypsy<br>
** (process:17283): DEBUG: Gypsy: Updating cache<br>
** (process:17283): DEBUG: client: provider Gypsy status changed: 2<br>
** (process:17283): DEBUG: client: Gypsy accuracy changed (0)<br>
** (process:17283): DEBUG: &nbsp; &nbsp; &nbsp; &nbsp; ...but provider choice in progress<br>
** (process:17283): DEBUG: client: provider Gypsy status changed: 0<br>
** (process:17283): DEBUG: &nbsp; &nbsp; &nbsp; &nbsp; ...started Gypsy (status 0), re-starting<br>
provider selection<br>
** (process:17283): DEBUG: Gypsy without clients<br>
** (process:17283): DEBUG: client: position provider changed (to NULL)<br>
===<br>
and the example client&#39;s output is &quot;No provider available&quot;<br>
<br>
For some reason it is unable to start up and run the gypsy provider.<br>
I have gypsy installed and also have the gypsy-daemon running.<br>
When I run &quot;position-example&quot; for Gypsy it works fine and I see<br>
position change notifications. But the master provider seems not to work.<br>
<br>
Also, I modified the master-pos-example code and changed the provider<br>
requirements to accept an accuracy of &quot;GEOCLUE_ACCURACY_LEVEL_DETAILED&quot; and<br>
set require_updates to FALSE.<br>
Now, in the debug outs I was able to see that although it found plazes,<br>
hostip and gypsy as candidate providers, it only attempted to load gypsy and<br>
failed in the same manner as above. (also without attempting to load any of<br>
the other alternative providers)<br>
<br>
What seems to be the issue?<br>
<br>
I also wanted to clarify a couple of other things. If I need to use gypsy<br>
with geoclue,<br>
I need to manually invoke the gypsy-daemon right?<br>
It seems like the main advantage of using geoclue as the front-end to gypsy<br>
is the<br>
ability to use the master provider. Is that correct?<br>
<br>
Thanks.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.freedesktop.org/archives/geoclue/attachments/20090209/e0e4de13/attachment.htm" target="_blank">http://lists.freedesktop.org/archives/geoclue/attachments/20090209/e0e4de13/attachment.htm</a><br>


<br>
------------------------------<br>
<br>
_______________________________________________<br>
GeoClue mailing list<br>
<a href="mailto:GeoClue@lists.freedesktop.org" target="_blank">GeoClue@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/geoclue" target="_blank">http://lists.freedesktop.org/mailman/listinfo/geoclue</a><br>
<br>
<br>
End of GeoClue Digest, Vol 21, Issue 4<br>
**************************************<br>
</blockquote></div><br>