desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #153854
[Bug 1528173] [NEW] org.freedesktop.DBus.Properties.GetAll fails always for fi.w1.wpa_supplicant1.Interface interface
Public bug reported:
With our package for wpa-supplicant a call
$ sudo gdbus call -y -d fi.w1.wpa_supplicant1 -o
/fi/w1/wpa_supplicant1/Interfaces/1 -m
org.freedesktop.DBus.Properties.GetAll 'fi.w1.wpa_supplicant1.Interface'
fails always with
Error: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No readable
properties in this interface
The reason for this is that the internal properties getter routine will
never return any result when one internal getter fails.
The responsible property here is the "Stations" one which was added by a
patch in Ubuntu and is not available upstream. Take a look at
https://bazaar.launchpad.net/~ubuntu-
branches/ubuntu/wily/wpa/wily/view/head:/debian/patches/dbus-available-
sta.patch
The getter method wpas_dbus_getter_stas expects the ap_iface element to
be see which isn't always the case and if that isn't true it will return
false and causes the whole Properties.GetAll call to fail.
The expected result is that the getter just returns an empty list if it
can't determine the actual value.
** Affects: wpa (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to wpa in Ubuntu.
https://bugs.launchpad.net/bugs/1528173
Title:
org.freedesktop.DBus.Properties.GetAll fails always for
fi.w1.wpa_supplicant1.Interface interface
Status in wpa package in Ubuntu:
New
Bug description:
With our package for wpa-supplicant a call
$ sudo gdbus call -y -d fi.w1.wpa_supplicant1 -o
/fi/w1/wpa_supplicant1/Interfaces/1 -m
org.freedesktop.DBus.Properties.GetAll
'fi.w1.wpa_supplicant1.Interface'
fails always with
Error: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No readable
properties in this interface
The reason for this is that the internal properties getter routine
will never return any result when one internal getter fails.
The responsible property here is the "Stations" one which was added by
a patch in Ubuntu and is not available upstream. Take a look at
https://bazaar.launchpad.net/~ubuntu-
branches/ubuntu/wily/wpa/wily/view/head:/debian/patches/dbus-
available-sta.patch
The getter method wpas_dbus_getter_stas expects the ap_iface element
to be see which isn't always the case and if that isn't true it will
return false and causes the whole Properties.GetAll call to fail.
The expected result is that the getter just returns an empty list if
it can't determine the actual value.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wpa/+bug/1528173/+subscriptions
Follow ups