** Branch linked: lp:ubuntu/precise-proposed/software-center

-- 
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/822625

Title:
  software-center crashed with AttributeError in
  _on_review_stats_data(): 'ReviewsStats' object has no attribute
  'histogram'

Status in “software-center” package in Ubuntu:
  Fix Committed
Status in “software-center” source package in Precise:
  Fix Committed

Bug description:
  
  SRU TEST CASE:

  This fix is for an intermittent crash that occurs on startup, and so
  it cannot be reliably reproduced. The test is to check for regressions
  by installing the version of Software Center in -proposed and
  launching it from the command line as shown:

    $ software-center

  Verify that the following crash never occurs:

    AttributeError: 'ReviewsStats' object has no attribute 'histogram'

  SRU REGRESSION POTENTIAL:
  Negligible. Fix adds a single line to initialize this field in a class.

  ---

  software-center crashed with AttributeError in
  _on_review_stats_data(): 'ReviewsStats' object has no attribute
  'histogram'

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: software-center 4.1.11
  ProcVersionSignature: Ubuntu 3.0.0-7.9-generic 3.0.0
  Uname: Linux 3.0.0-7-generic i686
  Architecture: i386
  Date: Mon Aug  8 00:34:43 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/share/software-center/software-center
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110803.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-center
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-center']
  SourcePackage: software-center
  Title: software-center crashed with AttributeError in 
_on_review_stats_data(): 'ReviewsStats' object has no attribute 'histogram'
  Traceback:
   Traceback (most recent call last):
     File "/usr/share/software-center/softwarecenter/backend/reviews.py", line 
676, in _on_review_stats_data
       if r.histogram:
   AttributeError: 'ReviewsStats' object has no attribute 'histogram'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to