Newbie question

I am a newbie to NetworkManager/dbus and in order to learn the interface am attempting to run the python script:

I get the error:

dlambert@development:~/Desktop$ python
Device eth0 is activated
Traceback (most recent call last):
  File "", line 58, in <module>
    con_details = con_iface.GetSettings()
  File "/usr/lib/pymodules/python2.6/dbus/", line 68, in __call__
    return self._proxy_method(*args, **keywords)
File "/usr/lib/pymodules/python2.6/dbus/", line 140, in __call__
File "/usr/lib/pymodules/python2.6/dbus/", 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.



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