mrenouf / python-networkmanager

Python interface to NetworkManager via DBus and CLI config tool
8 stars 3 forks source link

nm-util -L with cdma connection breaks on Arch Linux #1

Closed Daenyth closed 14 years ago

Daenyth commented 14 years ago
daenyth@Bragi ~ $ nm-util -L
Traceback (most recent call last):
  File "/usr/bin/nm-util", line 394, in <module>
    sys.exit(main())
  File "/usr/bin/nm-util", line 373, in main
    list_active_connections(nm)
  File "/usr/bin/nm-util", line 112, in list_active_connections
    print "UUID:     %s" % active.connection.settings.uuid
  File "/usr/lib/python2.6/site-packages/networkmanager/networkmanager.py", line 579, in settings
    return Settings(self.proxy.GetSettings(dbus_interface=NM_SETTINGS_CONNECTION))
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 630, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "GetSettings" with signature "" on interface "org.freedesktop.NetworkManagerSettings.Connection" doesn't exist
Daenyth commented 14 years ago

This seems to contradict http://projects.gnome.org/NetworkManager/developers/spec-08.html#org.freedesktop.NetworkManagerSettings.Connection

Daenyth commented 14 years ago

Funky, I get this on Arch only.

Daenyth commented 14 years ago

Can't reproduce any more...