← Back to team overview

desktop-packages team mailing list archive

[Bug 870822] Re: software-center crashed with AttributeError in update_totalsize(): 'NoneType' object has no attribute 'installed_size'

 

** Visibility changed to: Public

** Description changed:

  I clicked an app on my launcher and boom!
+ 
+ This crash happened very shortly after the crash in Bug 870823. They may
+ or may not be related.
+ 
  
  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: software-center 5.0.1.4
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu2
  Architecture: amd64
  Date: Sat Oct  8 11:47:35 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/share/software-center/software-center
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-center
  ProcEnviron:
-  PATH=(custom, user)
-  LANG=en_US.utf8
-  SHELL=/bin/bash
+  PATH=(custom, user)
+  LANG=en_US.utf8
+  SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-center']
  SourcePackage: software-center
  Title: software-center crashed with AttributeError in update_totalsize(): 'NoneType' object has no attribute 'installed_size'
  Traceback:
-  Traceback (most recent call last):
-    File "/usr/share/software-center/softwarecenter/ui/gtk3/views/appdetailsview_gtk.py", line 1614, in update_totalsize
-      install_size = size_to_str(pkg.installed_size)
-  AttributeError: 'NoneType' object has no attribute 'installed_size'
+  Traceback (most recent call last):
+    File "/usr/share/software-center/softwarecenter/ui/gtk3/views/appdetailsview_gtk.py", line 1614, in update_totalsize
+      install_size = size_to_str(pkg.installed_size)
+  AttributeError: 'NoneType' object has no attribute 'installed_size'
  UpgradeStatus: Upgraded to oneiric on 2011-09-30 (7 days ago)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare vboxusers

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/870822

Title:
  software-center crashed with AttributeError in update_totalsize():
  'NoneType' object has no attribute 'installed_size'

Status in “software-center” package in Ubuntu:
  New

Bug description:
  I clicked an app on my launcher and boom!

  This crash happened very shortly after the crash in Bug 870823. They
  may or may not be related.


  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: software-center 5.0.1.4
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu2
  Architecture: amd64
  Date: Sat Oct  8 11:47:35 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/share/software-center/software-center
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-center
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.utf8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-center']
  SourcePackage: software-center
  Title: software-center crashed with AttributeError in update_totalsize(): 'NoneType' object has no attribute 'installed_size'
  Traceback:
   Traceback (most recent call last):
     File "/usr/share/software-center/softwarecenter/ui/gtk3/views/appdetailsview_gtk.py", line 1614, in update_totalsize
       install_size = size_to_str(pkg.installed_size)
   AttributeError: 'NoneType' object has no attribute 'installed_size'
  UpgradeStatus: Upgraded to oneiric on 2011-09-30 (7 days ago)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare vboxusers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/870822/+subscriptions