software-center crashed with AttributeError in _on_trans_finished(): 'NoneType' object has no attribute 'code'

Bug #761642 reported by byronwerleman@hotmail.com on 2011-04-15
186
This bug affects 34 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: software-center

installing recomended for you software in software center

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: software-center 3.1.26.3
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
Uname: Linux 2.6.38-8-generic-pae i686
NonfreeKernelModules: fglrx
Architecture: i386
Date: Fri Apr 15 13:06:15 2011
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
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_trans_finished(): 'NoneType' object has no attribute 'code'
Traceback:
 Traceback (most recent call last):
   File "/usr/share/software-center/softwarecenter/backend/aptd.py", line 620, in _on_trans_finished
     if trans.error.code == enums.ERROR_INVALID_PACKAGE_FILE:
 AttributeError: 'NoneType' object has no attribute 'code'
UpgradeStatus: Upgraded to natty on 2011-04-15 (0 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

tags: removed: need-duplicate-check
Michael Vogt (mvo) on 2011-04-15
Changed in software-center (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
Michael Vogt (mvo) on 2011-04-15
Changed in software-center (Ubuntu):
status: In Progress → Fix Committed
visibility: private → public
nmpribeiro (nmpribeiro) wrote :

occured when I tried to reinstal apt (advanced front-end for dpkg). my sources are messed up, can't upgrade my machine. trying to solve it...

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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers