Help debugging a nixos issue with dbus and localsearch? (original) (raw)

Hello!

I run a NixOS system using a slice of the standard gnome module ( GitHub - coreyoconnor/sway-gnome: Opinionated Sway Configuration using GNOME session services, for GNOME >= 3.34 )

I’m trying to debug why Valent ( GitHub - andyholmes/valent: Connect, control and sync devices ) does not get a response to address book queries. Does not seem like anything is responding to the address book queries being made. Not entirely following the code but that seems about right.

I attempted to repro the issue using the following command:

tinysparql query --dbus-service org.gnome.evolution.dataserver.AddressBook10 "SELECT ('hello
 world' AS ?str) { }"
Could not establish a connection to Tracker: Object does not exist at path “/org/freedesktop/Tracker3/Endpoint”

I would not expect this to fail. Is this even a valid way to test the address book support? I was not able to find a similar example online.

I have localsearch and tinysparql and evolution data server enabled. They all (according to systemd) are running fine.

I’d expect something to provide the org.freedesktop.Tracker3.Endpoint. What service does that? Or is there some other issue with this setup? Or is that test command not valid?

Thanks!

mcrha (mcrha) April 22, 2025, 6:24am 2

Hi,
I can speak for the evolution-data-server bits only. Your command is
not correct, the D-Bus service you reference is not a tracker point, it
does not implement tracker interface at all. That service is backed up
by the evolution-addressbook-factory background process and there is
provided a C API to the access books with. There are some GObject
introspection and vala bindings generated for it too. Some apps use
libfolks to get to the contacts. You can check whether your contacts
work with the gnome-contacts app or with the Evolution itself.

There is also

      /usr/libexec/evolution-data-server/addressbook-export

(the actual path can differ in your distro), which you can use to get
the access to your address books. Use --help to get available
options.

Bye,
Milan