Problems using the geoclue master client.

Kishen Maloor kishenm at gmail.com
Mon Feb 9 16:56:40 PST 2009


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.html 


More information about the GeoClue mailing list