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

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

Bug Description

Binary package hint: software-center

Software center crush when I download Inkscape

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: software-center
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Sat Apr 16 01:08:45 2011
ExecutablePath: /usr/share/software-center/
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110312)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/share/software-center/ --language ja --origin ubuntu --distroseries natty --pkgname inkscape
PythonArgs: ['/usr/share/software-center/', '--language', 'ja', '--origin', 'ubuntu', '--distroseries', 'natty', '--pkgname', 'inkscape']
SourcePackage: software-center
Title: crashed with NameError in __main__: name 'app' is not defined
 Traceback (most recent call last):
   File "/usr/share/software-center/", 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 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 -

software-center ( natty; urgency=low

  * softwarecenter/backend/
    - do not crash if trans.error is None (LP: #761642)
  * softwarecenter/view/,
    - fix flickering during purchase install by more carefully
      checking if the app just became availalbe
  * utils/, utils/
    - fix crash when the server returns a API error (LP: #761452)
    - fix pyflakes warnins
  * softwarecenter/db/
    - ensure pkgname is a str (and not unicode), otherwise
      glib.spawn_async crashes (LP: #761357)
  * softwarecenter/backend/
    - 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