2024-04-30 09:39:20 |
errors.ubuntu.com bug bridge |
bug |
|
|
added bug |
2024-04-30 09:39:21 |
errors.ubuntu.com bug bridge |
bug |
|
|
added subscriber Nathan Teodosio |
2024-04-30 09:39:35 |
Nathan Teodosio |
update-manager (Ubuntu): assignee |
|
Nathan Teodosio (nteodosio) |
|
2024-04-30 09:39:43 |
Nathan Teodosio |
update-manager (Ubuntu): status |
New |
In Progress |
|
2024-04-30 09:39:46 |
Nathan Teodosio |
update-manager (Ubuntu): importance |
Undecided |
High |
|
2024-04-30 09:40:50 |
Nathan Teodosio |
description |
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/. |
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/. |
|
2024-04-30 09:48:38 |
Nathan Teodosio |
nominated for series |
|
Ubuntu Jammy |
|
2024-04-30 09:48:38 |
Nathan Teodosio |
bug task added |
|
update-manager (Ubuntu Jammy) |
|
2024-04-30 09:48:38 |
Nathan Teodosio |
nominated for series |
|
Ubuntu Focal |
|
2024-04-30 09:48:38 |
Nathan Teodosio |
bug task added |
|
update-manager (Ubuntu Focal) |
|
2024-04-30 09:48:38 |
Nathan Teodosio |
nominated for series |
|
Ubuntu Xenial |
|
2024-04-30 09:48:38 |
Nathan Teodosio |
bug task added |
|
update-manager (Ubuntu Xenial) |
|
2024-04-30 09:48:38 |
Nathan Teodosio |
nominated for series |
|
Ubuntu Bionic |
|
2024-04-30 09:48:38 |
Nathan Teodosio |
bug task added |
|
update-manager (Ubuntu Bionic) |
|
2024-04-30 09:48:38 |
Nathan Teodosio |
nominated for series |
|
Ubuntu Noble |
|
2024-04-30 09:48:38 |
Nathan Teodosio |
bug task added |
|
update-manager (Ubuntu Noble) |
|
2024-04-30 09:48:47 |
Nathan Teodosio |
update-manager (Ubuntu Noble): importance |
Undecided |
High |
|
2024-04-30 09:48:49 |
Nathan Teodosio |
update-manager (Ubuntu Jammy): importance |
Undecided |
Critical |
|
2024-04-30 09:48:51 |
Nathan Teodosio |
update-manager (Ubuntu Jammy): importance |
Critical |
High |
|
2024-04-30 09:48:56 |
Nathan Teodosio |
update-manager (Ubuntu Jammy): assignee |
|
Nathan Teodosio (nteodosio) |
|
2024-04-30 09:48:59 |
Nathan Teodosio |
update-manager (Ubuntu Noble): assignee |
|
Nathan Teodosio (nteodosio) |
|
2024-04-30 09:49:03 |
Nathan Teodosio |
update-manager (Ubuntu Jammy): status |
New |
In Progress |
|
2024-04-30 09:49:06 |
Nathan Teodosio |
update-manager (Ubuntu Noble): status |
New |
In Progress |
|
2024-04-30 09:50:29 |
Nathan Teodosio |
merge proposal linked |
|
https://code.launchpad.net/~nteodosio/update-manager/+git/update-manager/+merge/465244 |
|
2024-05-17 07:56:27 |
Nathan Teodosio |
bug |
|
|
added subscriber Ubuntu Sponsors |
2024-05-21 08:45:04 |
Nathan Teodosio |
removed subscriber Ubuntu Sponsors |
|
|
|
2024-05-22 18:47:41 |
Launchpad Janitor |
update-manager (Ubuntu): status |
In Progress |
Fix Released |
|
2024-05-23 14:49:59 |
Nathan Teodosio |
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/. |
Impact
------
This bug was is a regression of the bug fix LP:2058133; It held back the phasing of the package.
The symptom is that update-manager crashes right at start, doesn't launch.
The ua.updates() and current_news() end-points are documented to throw no exceptions, but actually they might, in which case this bug is encountered. As such, the proposed fix tries the API but ignores exceptions raised by it, causing update-manager to still work, even if the Pro packages end up being classified as normal packages or if Pro news aren't displayed.
Test plan
---------
Run 'UA_CONFIG_FILE=/ update-manager --no-update', update-manager should launch, not crash.
Where problems could occur
--------------------------
If the API end-points are working, ensure that classifying Pro packages as such and displaying possible Pro news continues to work.
Original report
---------------
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/. |
|
2024-05-23 15:34:16 |
Nathan Teodosio |
merge proposal linked |
|
https://code.launchpad.net/~nteodosio/update-manager/+git/update-manager/+merge/466327 |
|
2024-05-23 15:34:29 |
Nathan Teodosio |
bug |
|
|
added subscriber Ubuntu Sponsors |
2024-05-23 15:35:28 |
Nathan Teodosio |
update-manager (Ubuntu): status |
Fix Released |
Triaged |
|
2024-05-24 14:24:47 |
Sebastien Bacher |
update-manager (Ubuntu): status |
Triaged |
Fix Committed |
|
2024-05-28 19:24:05 |
Launchpad Janitor |
update-manager (Ubuntu): status |
Fix Committed |
Fix Released |
|
2024-05-29 07:38:38 |
Nathan Teodosio |
merge proposal linked |
|
https://code.launchpad.net/~nteodosio/update-manager/+git/update-manager/+merge/466564 |
|
2024-05-29 07:38:42 |
Nathan Teodosio |
merge proposal linked |
|
https://code.launchpad.net/~nteodosio/update-manager/+git/update-manager/+merge/466565 |
|
2024-05-29 07:38:45 |
Nathan Teodosio |
merge proposal linked |
|
https://code.launchpad.net/~nteodosio/update-manager/+git/update-manager/+merge/466566 |
|
2024-05-29 07:38:49 |
Nathan Teodosio |
merge proposal linked |
|
https://code.launchpad.net/~nteodosio/update-manager/+git/update-manager/+merge/466567 |
|
2024-05-29 07:54:36 |
Nathan Teodosio |
update-manager (Ubuntu Focal): status |
New |
In Progress |
|
2024-05-29 07:54:39 |
Nathan Teodosio |
update-manager (Ubuntu Bionic): status |
New |
In Progress |
|
2024-05-29 07:54:40 |
Nathan Teodosio |
update-manager (Ubuntu Xenial): status |
New |
In Progress |
|
2024-05-29 07:54:43 |
Nathan Teodosio |
update-manager (Ubuntu Focal): assignee |
|
Nathan Teodosio (nteodosio) |
|
2024-05-29 07:54:45 |
Nathan Teodosio |
update-manager (Ubuntu Bionic): assignee |
|
Nathan Teodosio (nteodosio) |
|
2024-05-29 07:54:47 |
Nathan Teodosio |
update-manager (Ubuntu Xenial): assignee |
|
Nathan Teodosio (nteodosio) |
|
2024-05-29 07:54:49 |
Nathan Teodosio |
removed subscriber Ubuntu Sponsors |
|
|
|
2024-05-29 07:55:18 |
Nathan Teodosio |
bug |
|
|
added subscriber Ubuntu Sponsors |
2024-05-29 07:55:52 |
Nathan Teodosio |
update-manager (Ubuntu Xenial): status |
In Progress |
New |
|
2024-05-29 07:55:55 |
Nathan Teodosio |
update-manager (Ubuntu Bionic): status |
In Progress |
Triaged |
|
2024-05-29 07:55:58 |
Nathan Teodosio |
update-manager (Ubuntu Focal): status |
In Progress |
Triaged |
|
2024-05-29 07:56:01 |
Nathan Teodosio |
update-manager (Ubuntu Jammy): status |
In Progress |
Triaged |
|
2024-05-29 07:56:05 |
Nathan Teodosio |
update-manager (Ubuntu Xenial): status |
New |
Triaged |
|
2024-05-29 07:56:39 |
Nathan Teodosio |
removed subscriber Ubuntu Sponsors |
|
|
|
2024-05-30 14:52:50 |
Nathan Teodosio |
attachment added |
|
um-noble.diff https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2064211/+attachment/5784266/+files/um-noble.diff |
|
2024-05-30 14:52:56 |
Nathan Teodosio |
update-manager (Ubuntu Noble): status |
In Progress |
Triaged |
|
2024-05-30 14:53:02 |
Nathan Teodosio |
bug |
|
|
added subscriber Ubuntu Sponsors |