Re: add-system-connection.py - dbus.exceptions.DBusException: org.freedesktop.NetworkManagerSettings.InvalidProperty: addresses



On Monday 10 of May 2010 11:11:22 toabctl wrote:
> Hi,
> 
> i tried to execute the example script
> NetworkManager/examples/python/add-system-connection.py
> 
> python add-system-connection.py
> Traceback (most recent call last):
>   File "add-system-connection.py", line 47, in <module>
>     settings.AddConnection(con)
>   File "/usr/lib/pymodules/python2.5/dbus/proxies.py", line 68, in __call__
>     return self._proxy_method(*args, **keywords)
>   File "/usr/lib/pymodules/python2.5/dbus/proxies.py", line 140, in
> __call__ **keywords)
>   File "/usr/lib/pymodules/python2.5/dbus/connection.py", line 630, in
> call_blocking
>     message, timeout)
> dbus.exceptions.DBusException:
> org.freedesktop.NetworkManagerSettings.InvalidProperty: addresses
> 
> 
> I use debian squeeze with NetworkManager from the debian repository
> (0.8-1). Can anybody help?
> 
> Cheers,
> 
> Tom

It was fixed upstream a few days ago. Get the script here:
http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/examples/python/add-
system-connection.py

Note:
The prefix was zero, which is incorrect.

Jirka


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