[Bug 1269397] Re: update-manager crashed with AttributeError in resize_to_standard_width(): 'NoneType' object has no attribute 'get_resolution' if $DISPLAY is not set
Mathew Hodson
mathew.hodson at gmail.com
Tue Apr 29 05:57:38 UTC 2014
No crash. The test case gives the expected result with
http://launchpad.net/ubuntu/+source/update-manager/1:0.196.12
$ unset DISPLAY
$ update-manager
(update-manager:15801): Gtk-WARNING **: cannot open display:
$
** Tags removed: verification-needed
** Tags added: verification-done
--
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/1269397
Title:
update-manager crashed with AttributeError in
resize_to_standard_width(): 'NoneType' object has no attribute
'get_resolution' if $DISPLAY is not set
Status in “update-manager” package in Ubuntu:
Fix Committed
Status in “update-manager” source package in Trusty:
Fix Committed
Bug description:
ERRORS BUCKET:
https://errors.ubuntu.com/bucket/?id=/usr/bin/update-manager%3AAttributeError%3A%3Clambda%3E%3Aresize_to_standard_width
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://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
ProblemType: CrashDistroRelease: Ubuntu 14.04
Package: update-manager 1:0.196.5
ProcVersionSignature: Ubuntu 3.13.0-3.18-generic 3.13.0-rc8
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/update-manager
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
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/update-manager -d
PythonArgs: ['/usr/bin/update-manager', '-d']SourcePackage: update-manager
Title: update-manager crashed with AttributeError in resize_to_standard_width(): 'NoneType' object has no attribute 'get_resolution'
UpgradeStatus: Upgraded to trusty on 2013-11-10 (65 days ago)
UserGroups:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1269397/+subscriptions
More information about the foundations-bugs
mailing list