Hi! It seems that I can't set dbus types properly. I try to follow example setting static ipv4 addres: freedesktop <http://code.metager.de/source/xref/freedesktop/>/NetworkManager <http://code.metager.de/source/xref/freedesktop/NetworkManager/>/ NetworkManager <http://code.metager.de/source/xref/freedesktop/NetworkManager/NetworkManager/> /examples <http://code.metager.de/source/xref/freedesktop/NetworkManager/NetworkManager/examples/> /python <http://code.metager.de/source/xref/freedesktop/NetworkManager/NetworkManager/examples/python/> /dbus <http://code.metager.de/source/xref/freedesktop/NetworkManager/NetworkManager/examples/python/dbus/> /update-ip4-method.py <http://code.metager.de/source/xref/freedesktop/NetworkManager/NetworkManager/examples/python/dbus/update-ip4-method.py>
'ipv4' dictionary before update printed below: {u'address-data': dbus.Array([dbus.Dictionary({'prefix': dbus.UInt32(22L), 'address': '192.168.3.25'}, signature=None)], signature=dbus.Signature('a{sv}')), u'method': 'manual'} I get following error message from connection.Update(): File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 641, in call_blocking message.append(signature=signature, *args) ValueError: invalid literal for long() with base 10: '192.168.3.25' Thanks, Matti
_______________________________________________ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list