Problems using the geoclue master client.
Leenata Bankhele
leenatab at gmail.com
Wed Feb 11 02:16:13 PST 2009
Hi ,
@When I run "position-example" for Gypsy it works fine and I see
position change notifications. But the master provider seems not to work.
-- Try changing GEOCLUE_PROVIDER (priv->address) to GEOCLUE_PROVIDER
(priv->position) in gc_master_provider_get_provider() in master provider.c
+125
See if this works for you.
@I need to manually invoke the gypsy-daemon right?
-- Geoclue documentation says this is required for older version of DBus.
@It seems like the main advantage of using geoclue as the front-end to gypsy
is the ability to use the master provider.
-- master provider will choose the right provider from the available one's
based on your set requirements API.
Regards,
Leenata Bankhele.
On Wed, Feb 11, 2009 at 1:30 AM, <geoclue-request at lists.freedesktop.org>wrote:
> Send GeoClue mailing list submissions to
> geoclue at lists.freedesktop.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.freedesktop.org/mailman/listinfo/geoclue
> or, via email, send a message with subject or body 'help' to
> geoclue-request at lists.freedesktop.org
>
> You can reach the person managing the list at
> geoclue-owner at lists.freedesktop.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of GeoClue digest..."
>
>
> Today's Topics:
>
> 1. Problems using the geoclue master client. (Kishen Maloor)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 9 Feb 2009 16:56:40 -0800
> From: Kishen Maloor <kishenm at gmail.com>
> Subject: Problems using the geoclue master client.
> To: geoclue at lists.freedesktop.org
> Message-ID:
> <e21bd8820902091656r30e8bf28s75445512a567c3d at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
> I have some quick questions.
>
> I have built and set up geoclue 0.11.
>
> I am trying to run the "master-pos-example" example client.
> I ran geoclue-master manually in a separate window and captured
> the following debug output:
> ** (process:17283): DEBUG: client: 1 position providers matching
> requirements found, now choosing current provider
> ** (process:17283): DEBUG: client: connecting to 'Gypsy' accuracy-changed
> and status-changed
> ** (process:17283): DEBUG: client: choosing best provider
> ** (process:17283): DEBUG: ...trying provider Gypsy
> ** (process:17283): DEBUG: Gypsy: Updating cache
> ** (process:17283): DEBUG: client: provider Gypsy status changed: 2
> ** (process:17283): DEBUG: client: Gypsy accuracy changed (0)
> ** (process:17283): DEBUG: ...but provider choice in progress
> ** (process:17283): DEBUG: client: provider Gypsy status changed: 0
> ** (process:17283): DEBUG: ...started Gypsy (status 0), re-starting
> provider selection
> ** (process:17283): DEBUG: Gypsy without clients
> ** (process:17283): DEBUG: client: position provider changed (to NULL)
> ===
> and the example client's output is "No provider available"
>
> For some reason it is unable to start up and run the gypsy provider.
> I have gypsy installed and also have the gypsy-daemon running.
> When I run "position-example" for Gypsy it works fine and I see
> position change notifications. But the master provider seems not to work.
>
> Also, I modified the master-pos-example code and changed the provider
> requirements to accept an accuracy of "GEOCLUE_ACCURACY_LEVEL_DETAILED" and
> set require_updates to FALSE.
> Now, in the debug outs I was able to see that although it found plazes,
> hostip and gypsy as candidate providers, it only attempted to load gypsy
> and
> failed in the same manner as above. (also without attempting to load any of
> the other alternative providers)
>
> What seems to be the issue?
>
> I also wanted to clarify a couple of other things. If I need to use gypsy
> with geoclue,
> I need to manually invoke the gypsy-daemon right?
> It seems like the main advantage of using geoclue as the front-end to gypsy
> is the
> ability to use the master provider. Is that correct?
>
> Thanks.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.freedesktop.org/archives/geoclue/attachments/20090209/e0e4de13/attachment.htm
>
> ------------------------------
>
> _______________________________________________
> GeoClue mailing list
> GeoClue at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/geoclue
>
>
> End of GeoClue Digest, Vol 21, Issue 4
> **************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/geoclue/attachments/20090211/354b70f6/attachment.html
More information about the GeoClue
mailing list