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

** Changed in: update-manager (Ubuntu)
       Status: Confirmed => Triaged

** Summary changed:

- update-manager crashed with AttributeError in resize_to_standard_width(): 
'NoneType' object has no attribute 'get_resolution'
+ update-manager crashed with AttributeError in resize_to_standard_width(): 
'NoneType' object has no attribute 'get_resolution' if $DISPLAY is not set

** Description changed:

- it happened immediately after login.
+ TEST CASE:
+ 1. Open a terminal
+ 2. run: unset DISPLAY
+ 3. run: update-manager
+ 
+ EXPECTED RESULT:
+ Update manager starts
+ 
+ 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
+   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: Crash
  DistroRelease: 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:

** Tags added: rls-t-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1269397/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to