update-manager crashed with AttributeError in resize_to_standard_width(): 'NoneType' object has no attribute 'get_resolution' if $DISPLAY is not set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Unassigned |
Bug Description
ERRORS BUCKET:
https:/
TEST CASE:
1. Open a terminal
2. run: unset DISPLAY
3. run: update-manager
EXPECTED RESULT:
It exits with a cannot open display message
ACTUAL RESULT:
It crashes
apt-cache policy update-manager
update-manager:
Installed: 1:0.196.5
Candidate: 1:0.196.5
Version table:
*** 1:0.196.5 0
500 http://
100 /var/lib/
ProblemType: CrashDistroRelease: Ubuntu 14.04
Package: update-manager 1:0.196.5
ProcVersionSign
Uname: Linux 3.13.0-3-generic x86_64
ApportVersion: 2.13.1-0ubuntu1
Architecture: amd64
Date: Wed Jan 15 18:05:36 2014
ExecutablePath: /usr/bin/
InstallationDate: Installed on 2012-09-30 (472 days ago)
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120817.1)
InterpreterPath: /usr/bin/python3.3
PackageArchitec
ProcCmdline: /usr/bin/python3 /usr/bin/
PythonArgs: ['/usr/
Title: update-manager crashed with AttributeError in resize_
UpgradeStatus: Upgraded to trusty on 2013-11-10 (65 days ago)
UserGroups:
tags: | removed: need-duplicate-check |
Changed in update-manager (Ubuntu): | |
importance: | Undecided → Medium |
information type: | Private → Public |
Changed in update-manager (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in update-manager (Ubuntu): | |
status: | In Progress → Confirmed |
Changed in update-manager (Ubuntu): | |
importance: | Medium → High |
status: | Confirmed → Triaged |
summary: |
update-manager crashed with AttributeError in resize_to_standard_width(): 'NoneType' object has no attribute - 'get_resolution' + 'get_resolution' if $DISPLAY is not set |
description: | updated |
tags: | added: rls-t-incoming |
Changed in update-manager (Ubuntu): | |
importance: | High → Medium |
tags: | removed: rls-t-incoming |
Changed in update-manager (Ubuntu Trusty): | |
milestone: | none → trusty-updates |
description: | updated |
Changed in update-manager (Ubuntu): | |
milestone: | trusty-updates → none |
tags: | added: cosmic |
Status changed to 'Confirmed' because the bug affects multiple users.