[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

Jean-Baptiste Lallement jean-baptiste.lallement at ubuntu.com
Wed May 30 07:29:04 UTC 2018


for anyone landing on this bug report and running Cosmic I reported bug
1774131.

Sorry for the noise.

-- 
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 Released
Status in update-manager source package in Trusty:
  Fix Released

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