GNOME Bugzilla – Bug 621119
GDBusProxy and objects with no properties
Last modified: 2010-06-09 15:02:17 UTC
Currently $ gio/tests/gdbus-example-watch-proxy -n org.freedesktop.PackageKit -o /org/freedesktop/PackageKit -i org.freedesktop.PackageKit.Query --- Cannot create proxy object for bus: Session Bus name: org.freedesktop.PackageKit object path: /org/freedesktop/PackageKit interface: org.freedesktop.PackageKit.Query fails because the object has no properties.
Note, you probably also need to also pass -a/--auto-start in this example. Doesn't change anything, I still get $ ./gio/tests/gdbus-example-watch-proxy -n org.freedesktop.PackageKit -o /org/freedesktop/PackageKit -i org.freedesktop.PackageKit.Query -a --- Cannot create proxy object for bus: Session Bus name: org.freedesktop.PackageKit object path: /org/freedesktop/PackageKit interface: org.freedesktop.PackageKit.Query while $ ./gio/tests/gdbus-example-watch-proxy -n org.freedesktop.PackageKit -o /org/freedesktop/PackageKit -i org.freedesktop.PackageKit.Query -a -p +++ Acquired proxy object for remote object owned by :1.176 bus: Session Bus name: org.freedesktop.PackageKit object path: /org/freedesktop/PackageKit interface: org.freedesktop.PackageKit.Query properties: works just fine
Fixed with this commit http://git.gnome.org/browse/glib/commit/?id=1951c39c44afad8273e2978b4c1420e975882934