← Back to team overview

desktop-packages team mailing list archive

[Bug 1528173] Re: org.freedesktop.DBus.Properties.GetAll fails always for fi.w1.wpa_supplicant1.Interface interface

 

The attachment "fix-stations-property-getter.patch" seems to be a patch.
If it isn't, please remove the "patch" flag from the attachment, remove
the "patch" tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
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


References