It has a dbus service API, yes. However, it is not a dbus activated
service, and I think does not install a .service file. It is instead
started by the init system, and runs on the system bus.

"sudo start ubuntu-location-service" should start it.

On Fri, 2016-04-08 at 13:24 +0100, Alan Bell wrote:
> $ ubuntu-location-serviced-cli --bus=session --property=is_online --
> get
> Attempted to unregister path (path[0] = com path[1] = ubuntu) which 
> isn't registered
> Location service is Problem executing the CLI: 
> org.freedesktop.DBus.Error.ServiceUnknown: The name 
> com.ubuntu.location.Service was not provided by any .service files
> 
> 
> huh?
> 
> $ ls /usr/share/dbus-1/services/com.ubuntu.*
> /usr/share/dbus-1/services/com.ubuntu.content.dbus.Service.service 
> /usr/share/dbus-1/services/com.ubuntu.OnlineAccountsUi.service
> /usr/share/dbus-1/services/com.ubuntu.OnlineAccounts.Manager.service
> 
> if there is no dbus api to location services and 
> ubuntu-location-serviced-cli is broken then is there any other
> command 
> line that I can put in crontab to wake the lazy thing up and get it
> to 
> do it's job?
> 
> Alan.
> 

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp

Reply via email to