software-center crashed with AttributeError in _on_submit_usefulness_finished(): 'ReviewLoaderJsonAsync' object has no attribute '_reviews'

Bug #755014 reported by Ibrahim Saed
300
This bug affects 47 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
High
Gary Lasker

Bug Description

Binary package hint: software-center

report problem box appear after i wrote my review and click publish

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: software-center 3.1.26.1
ProcVersionSignature: Ubuntu 2.6.38-8.41-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Fri Apr 8 22:14:15 2011
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-center
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/software-center']
SourcePackage: software-center
Title: software-center crashed with AttributeError in _on_submit_usefulness_finished(): 'ReviewLoaderJsonAsync' object has no attribute '_reviews'
Traceback:
 Traceback (most recent call last):
   File "/usr/share/software-center/softwarecenter/db/reviews.py", line 319, in _on_submit_usefulness_finished
     for (app, reviews) in self._reviews.iteritems():
 AttributeError: 'ReviewLoaderJsonAsync' object has no attribute '_reviews'
UpgradeStatus: Upgraded to natty on 2011-04-08 (0 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Ibrahim Saed (ibraheem5000) wrote :
tags: removed: need-duplicate-check
tags: added: bugpattern-needed
Revision history for this message
Gary Lasker (gary-lasker) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 754639, so I will mark it as such. If you check bug 754639, you'll see that the fix for this one has been committed and will be released soon in the next development release of Software Center.

Thanks again!

visibility: private → public
Changed in software-center (Ubuntu):
status: New → Confirmed
Revision history for this message
Gary Lasker (gary-lasker) wrote :

Hmm, can't seem to successfully mark this one as a duplicate of bug 754639. In the meanwhile, I'll just set the status to fix committed for this one and will try to set the correct duplicate status later.

Changed in software-center (Ubuntu):
importance: Undecided → High
assignee: nobody → Gary Lasker (gary-lasker)
status: Confirmed → Fix Committed
Revision history for this message
Morris Cavestro (fly82) wrote :

This bug i have find in xubuntu

tags: added: iso-testing
Revision history for this message
Gary Lasker (gary-lasker) wrote :

This bug was fixed in the package software-center - 3.1.26.2

---------------
software-center (3.1.26.2) natty; urgency=low

  [ Michael Vogt ]
  * softwarecenter/db/update.py:
    - do not crash if /var/lib/apt-xapian-index/cataloged_times.p can
      not be read (LP: #636049)
  * merged lp:~mvo/software-center/get-reviews-subprocess (LP: #743020):
    - don't use multiprocessing anymore, instead glib.spawn_async()
      a helper app, this finally fixes the crashes with accessibility
      turned on (LP: #743020)
    - update rnrclient_pristine.py to the latest upstream version
      that supports origin and distroseries as arguments
    - add support for getting all the origins of the DB, this is
      needed for the new rnrclient_pristine.py functionatlity
    - ship get_reviews_helper.py, get_review_stats_helper.py for
      the glib.spawn_async() change
    - this also makes the reviews fully work in the guest session again

  [ Gary Lasker ]
  * softwarecenter/db/reviews.py:
    - update review loader to check for JoinableQueue rather than
      Queue so that we re-enable the ReviewLoaderThreadedRNRClient
      (LP: #754639)
  * utils/submit_review.py:
    - remove two strings marked for translation that are never
      actually shown in the ui, also add translators note for
      combobox entries (LP: #750421)
  * refresh .pot file

  [ Aaron Peachey ]
  * softwarecenter/view/widgets/reviews.py:
    - advise user that app needs to be installed in order to review,
      even if reviews exist (LP: #754879)
 -- Michael Vogt <email address hidden> Mon, 11 Apr 2011 23:02:12 +0200

Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.