software-center crashed with AttributeError in _on_review_stats_data(): 'ReviewsStats' object has no attribute 'histogram'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Fix Released
|
Low
|
Robert Roth | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
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_
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: software-center 4.1.11
ProcVersionSign
Uname: Linux 3.0.0-7-generic i686
Architecture: i386
Date: Mon Aug 8 00:34:43 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/share/
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110803.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/
SourcePackage: software-center
Title: software-center crashed with AttributeError in _on_review_
Traceback:
Traceback (most recent call last):
File "/usr/share/
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
Related branches
- Gary Lasker (community): Approve
-
Diff: 25 lines (+3/-1)2 files modifiedsoftwarecenter/backend/piston/rnrclient_fake.py (+2/-1)
softwarecenter/backend/reviews/__init__.py (+1/-0)
tags: | removed: need-duplicate-check |
tags: | added: client-server |
visibility: | private → public |
Changed in software-center (Ubuntu): | |
status: | New → Confirmed |
Changed in software-center (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Robert Roth (evfool) |
Changed in software-center (Ubuntu): | |
importance: | Undecided → Low |
Changed in software-center (Ubuntu): | |
status: | In Progress → Fix Committed |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Changed in software-center (Ubuntu): | |
status: | Fix Committed → Fix Released |
Hello Jonathan, or anyone else affected,
Accepted software-center into precise-proposed. The package will build now and be available in a few hours. Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification- failed. In either case details of your testing will help us make a better decision. Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance!