dCore Import Debian Packages to Mountable SCE extensions > dCore x86 Imported Extensions

e geolocation module doesn't work

(1/2) > >>

jls:
Hi
e geolocation module uses geoclue-2.0 package but it doesn't work, any help?
Thanks

Juanito:
do you need to use dconf-editor to enable it - I believe that geolocation is disabled by default?

Jason W:
In what way does it not work? 

jls:

--- Code: --- sudo  /usr/local/tce.installed/geoclue-2.0 configure
./geoclue-2.0: line 29: getent: not found

--- End code ---
so I installed libc-bin because that command is there.
looking at  the content of : /usr/share/dbus-1/system-services/org.freedesktop.GeoClue2.service:
[D-BUS Service]
Name=org.freedesktop.GeoClue2
Exec=/usr/lib/geoclue-2.0/geoclue -t 5
User=geoclue

I tried to exexute:

--- Code: ---/usr/lib/geoclue-2.0/geoclue
(geoclue:13652): Geoclue-CRITICAL **: Failed to acquire name 'org.freedesktop.GeoClue2' on system bus or lost it.

--- End code ---

same with sudo

Juanito:
On corepure64 I get this:
--- Code: ---$ sudo G_MESSAGES_DEBUG=Geoclue /usr/local/lib/geoclue-2.0/geoclue -t 60
(geoclue:18455): Geoclue-DEBUG: Available accuracy level from GClueWifi: 4
(geoclue:18455): Geoclue-DEBUG: WiFi device 'wlan0' added.
(geoclue:18455): Geoclue-DEBUG: Available accuracy level from GClueWifi: 6
(geoclue:18455): Geoclue-DEBUG: New agent for user ID '1001'
(geoclue:18455): Geoclue-DEBUG: Number of connected clients: 1
(geoclue:18455): Geoclue-DEBUG: Service now in use
(geoclue:18455): Geoclue-DEBUG: GClueLocator now active
(geoclue:18455): Geoclue-DEBUG: GClueWifi now active
(geoclue:18455): Geoclue-DEBUG: Not starting GClue3G (accuracy level: 0). Requested accuracy level: 8.
(geoclue:18455): Geoclue-DEBUG: Not starting GClueCDMA (accuracy level: 0). Requested accuracy level: 8.
(geoclue:18455): Geoclue-DEBUG: Not starting GClueModemGPS (accuracy level: 0). Requested accuracy level: 8.
(geoclue:18455): Geoclue-DEBUG: 'org.gnome.Maps' started.
(geoclue:18455): Geoclue-DEBUG: WiFi AP 'Livebox-1250' added.
(geoclue:18455): Geoclue-DEBUG: WiFi AP 'Livebox-1250' added.
(geoclue:18455): Geoclue-DEBUG: Refreshing location..
(geoclue:18455): Geoclue-DEBUG: Network available
(geoclue:18455): Geoclue-DEBUG: Sending following request to 'https://location.services.mozilla.com/v1/geolocate?key=geoclue':
{"wifiAccessPoints":[{"macAddress":"00:19:70:af:ae:26","signalStrength":-84}]}


(geoclue:18455): GLib-Net-WARNING **: The anchor file name for used with a GTlsFileDatabase must be an absolute path, and not relative: path=/usr/local/etc/ssl/certs/ca-certificates.crt

(geoclue:18455): Geoclue-WARNING **: Failed to query location: Unacceptable TLS certificate

--- End code ---

..when starting gnome-maps and clicking on the "my location" icon. The same thing happens when using an html5 location services test with epiphany.

I've seen this sort of error before and wonder if the code expects the certs file under /tmp/tcloop?

Navigation

[0] Message Index

[#] Next page

Go to full version