[Bug 1703365] Update Released

Brian Murray brian at ubuntu.com
Wed Sep 13 14:54:49 UTC 2017


The verification of the Stable Release Update for update-manager has
completed successfully and the package has now been released to
-updates.  Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report.  In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regressions.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1703365

Title:
  /usr/bin/update-
  manager:AttributeError:<lambda>:on_settings_button_clicked:show_settings

Status in update-manager package in Ubuntu:
  Fix Released
Status in update-manager source package in Zesty:
  Fix Released

Bug description:
  [Impact] 
  Update Manager passes it's window Id to software-properties by calling get_xid() which does not exist under wayland and results in this crash. This patch does not add --toplevel under wayland to work around this crash.

  [Test Case]
  Test Steps
  1. Launch update-manager and wait until the main UI is displayed (after sources are refreshed)
  2. Click on "Settings..."

  Expected result
  The Settings dialog is displayed

  Actual result
  It is not displayed and this crash occurs
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/UpdateManager/Dialogs.py", line 112, in <lambda>
      button.connect("clicked", lambda x: callback())
    File "/usr/lib/python3/dist-packages/UpdateManager/Dialogs.py", line 127, in on_settings_button_clicked
      self.window_main.show_settings()
    File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 196, in show_settings
      "--toplevel", "%s" % self.get_window().get_xid()
  AttributeError: 'GdkWaylandWindow' object has no attribute 'get_xid'

  [Regression Potential]
  Very low. The option --toplevel is excluded only for wayland and added for any other display server. So for other display server than wayland the behaviour is unchanged.

  The Ubuntu Error Tracker has been receiving reports about a problem regarding update-manager.  This problem was most recently seen with package version 1:17.04.3, the problem page at https://errors.ubuntu.com/problem/12e7e8364ae0ad1fe84dc3972adbc9506d7e2f71 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker you can request it at http://forms.canonical.com/reports/.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1703365/+subscriptions



More information about the foundations-bugs mailing list