Re: question about empty reply of talking to nm-system-settings via dbus



On Fri, 2009-10-23 at 17:32 +0800, cee1 wrote:
> Hi Dan, 
> I've compiled and installed nm-0.7.1-rc3 manually in debian, then try
> the following:
> dbus-send --system --print-reply
> --dest=org.freedesktop.NetworkManagerSystemSettings /org/freedesktop/NetworkManagerSettings org.freedesktop.DBus.Properties.GetAll string:org.freedesktop.NetworkManagerSettings.System
> 
> 
> It prints:
> nm-system-settings: introspection data references non-existing
> property Hostname
> nm-system-settings: introspection data references non-existing
> property CanModify
> nm-system-settings: introspection data references non-existing
> property UnmanagedDevices
> method return sender=:1.12 -> dest=:1.15 reply_serial=2
>     array [
>     ]

Interesting; what version of dbus-glib?  Earlier versions had problems
with GetAll specifically.  You may need these dbus-glib commits:

http://cgit.freedesktop.org/dbus/dbus-glib/commit/?id=94d68f00d9d244de3b1d66d3cf78bb5171552311
http://cgit.freedesktop.org/dbus/dbus-glib/commit/?id=d1b80d803a0268bd4b3dd5b9a9522230461f2947

Does it work if you get each property individually?  That would point
directly to a dbus-glib issue.

dbus-send --system --print-reply \
	--dest=org.freedesktop.NetworkManagerSystemSettings \
	/org/freedesktop/NetworkManagerSettings \
	org.freedesktop.DBus.Properties.Get \
	string:org.freedesktop.NetworkManagerSettings.System \
	string:Hostname

Dan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]