[Bug 2064211] Re: /usr/bin/update-manager:AttributeError:<lambda>:available:start_available:refresh_cache:_get_ua_security_status

Nathan Teodosio 2064211 at bugs.launchpad.net
Tue Apr 30 09:48:38 UTC 2024


** Also affects: update-manager (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: update-manager (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: update-manager (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: update-manager (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: update-manager (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Changed in: update-manager (Ubuntu Noble)
   Importance: Undecided => High

** Changed in: update-manager (Ubuntu Jammy)
   Importance: Undecided => Critical

** Changed in: update-manager (Ubuntu Jammy)
   Importance: Critical => High

** Changed in: update-manager (Ubuntu Jammy)
     Assignee: (unassigned) => Nathan Teodosio (nteodosio)

** Changed in: update-manager (Ubuntu Noble)
     Assignee: (unassigned) => Nathan Teodosio (nteodosio)

** Changed in: update-manager (Ubuntu Jammy)
       Status: New => In Progress

** Changed in: update-manager (Ubuntu Noble)
       Status: New => In Progress

** Merge proposal linked:
   https://code.launchpad.net/~nteodosio/update-manager/+git/update-manager/+merge/465244

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

Title:
  /usr/bin/update-
  manager:AttributeError:<lambda>:available:start_available:refresh_cache:_get_ua_security_status

Status in update-manager package in Ubuntu:
  In Progress
Status in update-manager source package in Xenial:
  New
Status in update-manager source package in Bionic:
  New
Status in update-manager source package in Focal:
  New
Status in update-manager source package in Jammy:
  In Progress
Status in update-manager source package in Noble:
  In Progress

Bug description:
  Looks like ua.updates() can actually throw an exception. Only that
  would explain this crash.

  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/UpdateManager/Dialogs.py", line 118, in <lambda>
      button.connect("clicked", lambda x: callback())
    File "/usr/lib/python3/dist-packages/UpdateManager/Dialogs.py", line 371, in available
      self.window_main.start_available(error_occurred=True)
    File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 242, in start_available
      self.refresh_cache()
    File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 461, in refresh_cache
      self._get_ua_security_status()
    File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 285, in _get_ua_security_status
      for package in self.ua_updates:
  AttributeError: 'UpdateManager' object has no attribute 'ua_updates'

  The Ubuntu Error Tracker has been receiving reports about a problem regarding update-manager.  This problem was most recently seen with package version 1:22.04.20, the problem page at https://errors.ubuntu.com/problem/ed0e9f0ed8bc4002d808a11e37e4ee9d870e32c1 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 and are a software developer, 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/2064211/+subscriptions




More information about the foundations-bugs mailing list