get_reviews_helper.py crashed with NameError in __main__: name 'app' is not defined

Bug #761452 reported by Osamu Watanabe on 2011-04-15
146
This bug affects 16 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: software-center

Software center crush when I download Inkscape

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: software-center 3.1.26.3
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Sat Apr 16 01:08:45 2011
ExecutablePath: /usr/share/software-center/get_reviews_helper.py
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110312)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/share/software-center/get_reviews_helper.py --language ja --origin ubuntu --distroseries natty --pkgname inkscape
ProcEnviron:
 LANGUAGE=ja_JP:en
 LANG=ja_JP.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/share/software-center/get_reviews_helper.py', '--language', 'ja', '--origin', 'ubuntu', '--distroseries', 'natty', '--pkgname', 'inkscape']
SourcePackage: software-center
Title: get_reviews_helper.py crashed with NameError in __main__: name 'app' is not defined
Traceback:
 Traceback (most recent call last):
   File "/usr/share/software-center/get_reviews_helper.py", line 59, in <module>
     LOG.warn("_get_reviews_threaded: no reviews able to be retrieved for package: %s (%s, origin: %s)" % (app.pkgname, distroseries, origin))
 NameError: name 'app' is not defined
UpgradeStatus: Upgraded to natty on 2011-04-15 (0 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Osamu Watanabe (c-l-dodg) wrote :
tags: removed: need-duplicate-check
Michael Vogt (mvo) on 2011-04-15
Changed in software-center (Ubuntu):
status: New → Fix Committed
visibility: private → public
tags: added: bugpattern-needed
Aaron Peachey (aaronp) wrote :

My comment from duplicate bug # 763524:
Hi Alexy. Thanks for trying to reproduce this bug.
Looking at the code, I can see that Michael fixed this bug in version 3.1.26.5 of software centre, which is the next version after the one you are using. I suspect the latest version is still waiting to make it into the archives so you may need to wait for that to happen (or use the latest daily build) to confirm that this is now resolved. Thanks for your follow up

Launchpad Janitor (janitor) wrote :

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

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

  * softwarecenter/backend/aptd.py:
    - do not crash if trans.error is None (LP: #761642)
  * softwarecenter/view/appdetailsview_gtk.py,
    softwarecenter/view/appdetailsview.py:
    - fix flickering during purchase install by more carefully
      checking if the app just became availalbe
  * utils/get_reviews_helper.py, utils/get_review_stats_helper.py:
    - fix crash when the server returns a API error (LP: #761452)
    - fix pyflakes warnins
  * softwarecenter/db/reviews.py:
    - ensure pkgname is a str (and not unicode), otherwise
      glib.spawn_async crashes (LP: #761357)
  * softwarecenter/backend/zeitgeist_simple.py:
    - do not crash if a zeitgeist has no subjects (LP: #761905)
 -- Michael Vogt <email address hidden> Fri, 15 Apr 2011 18:28:15 +0200

Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
Avery (docaltmed) wrote :

Still broken in Natty beta 2

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers