I am a newbie to NetworkManager/dbus and in order to learn the interface
am attempting to run the python script:
http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/examples/python/nm-state.py
I get the error:
dlambert@development:~/Desktop$ python nm-state.py
Device eth0 is activated
Traceback (most recent call last):
File "nm-state.py", line 58, in <module>
con_details = con_iface.GetSettings()
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 68, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in
__call__
**keywords)
File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in
call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod:
Method "GetSettings" with signature "" on interface
"org.freedesktop.NetworkManager.Settings.Connection" doesn't exist
Any pointers as to where I can get details of the Python API or a
tutorial would be appreciated.
Regards,
Dave.
_______________________________________________
networkmanager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list