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

Bug #763425 reported by Alexey Kotlyarov
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: software-center

I'm trying to reproduce bug #761357 with a new version of software-center. When that one occured, I was on a... hostile network which is known to RST connections in mid-way. So:
$ host reviews.ubuntu.com
reviews.ubuntu.com has address 91.189.89.106
reviews.ubuntu.com has address 91.189.89.105
$ sudo tcpkill -i eth1 host 91.189.89.106
Leave it running; open Software center and choose any program.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: software-center 3.1.26.4
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: wl fglrx
Architecture: amd64
Date: Sun Apr 17 18:35:41 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/share/software-center/get_reviews_helper.py
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/share/software-center/get_reviews_helper.py --language ru --origin ubuntu --distroseries natty --pkgname webservice-office-zoho
ProcEnviron:
 LANGUAGE=ru_RU:en
 PATH=(custom, user)
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/share/software-center/get_reviews_helper.py', '--language', 'ru', '--origin', 'ubuntu', '--distroseries', 'natty', '--pkgname', 'webservice-office-zoho']
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-06 (10 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make Ubuntu better. This particular crash has already been reported and is a duplicate of bug #761452, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
visibility: private → public
Revision history for this message
Aaron Peachey (aaronp) wrote :

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 (I'll also post this comment on bug 761452 which this bug is a duplicate of)

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.