software-center crashed with AttributeError in _on_network_state_change(): 'UIReview' object has no attribute 'complain'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Low
|
Unassigned |
Bug Description
I woke up from suspend and got this.
Steps to reproduce:
1. Launch Software Center and navigate to an item that you have installed.
2. Scroll to the reviews area and note how each review has an "Inappropriate?" link and a "Did you find this review helpful?" link.
3. Disable networking.
4. After a short time, observe that the two items described in 2) above are hidden.
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: software-center 5.1.14.1
ProcVersionSign
Uname: Linux 3.2.0-22-
ApportVersion: 2.0-0ubuntu4
Architecture: i386
CheckboxSubmission: 9a284f3f6b4f782
CheckboxSystem: 3935143777c965d
Date: Sun Apr 8 23:34:07 2012
EcryptfsInUse: Yes
ExecutablePath: /usr/share/
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110422)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
PythonArgs: ['/usr/
SourcePackage: software-center
Title: software-center crashed with AttributeError in _on_network_
UpgradeStatus: Upgraded to precise on 2011-11-05 (155 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare vboxusers
Related branches
- Gary Lasker (community): Approve
-
Diff: 74 lines (+8/-15)1 file modifiedsoftwarecenter/ui/gtk3/widgets/reviews.py (+8/-15)
tags: | removed: need-duplicate-check |
Changed in software-center (Ubuntu): | |
status: | Triaged → In Progress |
This appears to be happening when there is a review by the user, in this case the code does not create self.complain.
Looking at the code it does not actually make that much sense to hide this link but instead to hide the box itself, I
created a branch for that.