[ubuntu-mono] [Bug 734490] Re: networkmanager docklet doesn't work with NetworkManager >= 0.9.0

Robert Gibbon robgibbon at me.com
Sun May 26 20:46:20 UTC 2013


Actually, if you edit line 178 of
docky/Docky.Services/Docky.Services/SystemService.cs to reference a
lower case state property like this:

                  return (NetworkState) Enum.ToObject
(typeof(NetworkState), network.Get (NetworkManagerName, "state"));

Then you will be able to see the weather again.

It's a change to dbus / NetworkManager to enforce strict interface
compliance. You can try it with these commands:

#broken
dbus-send  --system --print-reply --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.DBus.Properties.Get string:"org.freedesktop.NetworkManager" string:"State"

#works
dbus-send  --system --print-reply --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.DBus.Properties.Get string:"org.freedesktop.NetworkManager" string:"state"

I didn't get the network manager itself to work yet, though.

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to docky in Ubuntu.
https://bugs.launchpad.net/bugs/734490

Title:
  networkmanager docklet doesn't work with NetworkManager >= 0.9.0

Status in Docky:
  Confirmed
Status in “docky” package in Ubuntu:
  Confirmed
Status in “docky” package in Fedora:
  New

Bug description:
  [Error 21:34:34.597] [NetworkDevice] org.freedesktop.DBus.Error.AccessDenied: Interface "org.freedesktop.NetworkManager" isn't exported (or may not exist), can't access property "State"
  [Error 21:34:34.600] [NetworkDevice] org.freedesktop.DBus.Error.AccessDenied: Interface "org.freedesktop.NetworkManager" isn't exported (or may not exist), can't access property "DeviceType"

  it seems like org.freedesktop.NetworkManager does indeed not exist.
  nm-applet accesses org.freedesktop.NetworkManagerSettings. I'm not
  really familiar with dbus, so please tell me if I can give any more
  information.

To manage notifications about this bug go to:
https://bugs.launchpad.net/docky/+bug/734490/+subscriptions




More information about the Ubuntu-mono mailing list