Hi ,<br><br>@When I run "position-example" for Gypsy it works fine and I see<div class="Ih2E3d"><br>
position change notifications. But the master provider seems not to work.<br><br></div> -- Try changing GEOCLUE_PROVIDER (priv->address) to GEOCLUE_PROVIDER (priv->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<div class="Ih2E3d">
<br>
is the ability to use the master provider.<br><br></div>-- master provider will choose the right provider from the available one's based on your set requirements API.<br><br>Regards,<br><font color="#888888">Leenata Bankhele.</font><br>
<br><div class="gmail_quote">On Wed, Feb 11, 2009 at 1:30 AM, <span dir="ltr"><<a href="mailto:geoclue-request@lists.freedesktop.org">geoclue-request@lists.freedesktop.org</a>></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>
<a href="mailto:geoclue@lists.freedesktop.org">geoclue@lists.freedesktop.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<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 'help' to<br>
<a href="mailto:geoclue-request@lists.freedesktop.org">geoclue-request@lists.freedesktop.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:geoclue-owner@lists.freedesktop.org">geoclue-owner@lists.freedesktop.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of GeoClue digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
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 <<a href="mailto:kishenm@gmail.com">kishenm@gmail.com</a>><br>
Subject: Problems using the geoclue master client.<br>
To: <a href="mailto:geoclue@lists.freedesktop.org">geoclue@lists.freedesktop.org</a><br>
Message-ID:<br>
<<a href="mailto:e21bd8820902091656r30e8bf28s75445512a567c3d@mail.gmail.com">e21bd8820902091656r30e8bf28s75445512a567c3d@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<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 "master-pos-example" 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 'Gypsy' accuracy-changed<br>
and status-changed<br>
** (process:17283): DEBUG: client: choosing best provider<br>
** (process:17283): DEBUG: ...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: ...but provider choice in progress<br>
** (process:17283): DEBUG: client: provider Gypsy status changed: 0<br>
** (process:17283): DEBUG: ...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's output is "No provider available"<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 "position-example" 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 "GEOCLUE_ACCURACY_LEVEL_DETAILED" 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">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>