Newbie question
- From: David Lambert <dave lambsys com>
- To: networkmanager-list gnome org
- Subject: Newbie question
- Date: Thu, 07 Jul 2011 09:53:04 -0500
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]