g_dbus_proxy_new_for_bus_sync: assertion 'g_variant_is_object_path (object_path)' failed
germano.massullo at gmail.com
Tue May 21 15:44:25 UTC 2019
I am implementing some code (in attachment) that should retrieve
systemd-logind `IdleSinceHint` property exposed on DBus, but when it
is runned it fails on assertion `g_assert (proxy != NULL);` with error
(process:9059): GLib-GIO-CRITICAL **: 17:29:07.245:
g_dbus_proxy_new_for_bus_sync: assertion 'g_variant_is_object_path
ERROR:print_user_idle_time.c:44:main: assertion failed: (proxy != NULL)
What can be the problem?
Thank you for your time
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1347 bytes
Desc: not available
More information about the dbus