software-center crashed with AttributeError in _on_transaction_finished()

Bug #631132 reported by Pedro Varela
212
This bug affects 56 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Low
Gary Lasker

Bug Description

Binary package hint: software-center

center software failed to install a program on the grounds that there was a network problem

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: software-center 2.1.15
ProcVersionSignature: Ubuntu 2.6.35-19.28-generic 2.6.35.3
Uname: Linux 2.6.35-19-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sun Sep 5 22:13:12 2010
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
InterpreterPath: /usr/bin/python2.6
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-center
ProcEnviron:
 LANGUAGE=pt:pt_BR:en
 LANG=pt_PT.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/software-center']
SourcePackage: software-center
Title: software-center crashed with AttributeError in _on_transaction_finished()
Traceback:
 Traceback (most recent call last):
   File "/usr/share/software-center/softwarecenter/view/appview.py", line 1566, in _on_transaction_finished
     db = self.get_model().db
 AttributeError: 'NoneType' object has no attribute 'db'
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Pedro Varela (imamatchoman) wrote :
tags: removed: need-duplicate-check
visibility: private → public
Changed in software-center (Ubuntu):
status: New → Triaged
Changed in software-center (Ubuntu):
status: Triaged → Fix Committed
Changed in software-center (Ubuntu):
assignee: nobody → Gary Lasker (gary-lasker)
importance: Undecided → Low
Revision history for this message
Kiwinote (kiwinote) wrote :
Download full text (3.7 KiB)

software-center (2.1.20) maverick; urgency=low

  [ Michael Vogt ]
  * softwarecenter/backend/login_sso.py:
    - improve help text now that ubuntu-sso-client is more flexible
      about it (thanks to Naty Bidart) LP: #624097
  * debian/control:
    - tighten dependency of ubuntu-sso-client (for the helptext)
  * softwarecenter/db/update.py, softwarecenter/db/application.py:
    - add X-AppInstall-Description support and extract it from
      software-center-agent to support long descriptions from
      the agent (LP: #625254)
  * softwarecenter/view/pendingview.py:
    - add pulse for pending purchases (LP: #637377)
  * softwarecenter/utils.py:
    - improve logging of the imagedownloader
    - fix where-is-it for kde4 apps (LP: #635684)
  * softwarecenter/distro/Ubuntu.py:
    - fix icon downloading from extras.ubuntu.com and support possible
      country mirrors
  * softwarecenter/view/appdetailsview_gtk.py:
    - show pulse once the install starts (LP: #637377)
    - support "where is it" for non app-install-data if the desktop
      file has the same name as the package name (LP: #637452)
    - fix icon display in "where is it" if Icon=/path/to/file
  * softwarecenter/apt/aptcache.py:
    - add installed_count to the cache
  * softwarecenter/view/appdetailsview_gtk.py:
    - support bullets with " o item" in the description
      (LP: #584147)
  * send version of the package to screenshots.ubuntu.com so that it
    can return the most appropriate image. that is supported by debshoots
    now thanks to Christoph Haas
  * softwarecenter/backend/aptd.py:
    - fix a flickering in the viewswitcher spinenr when purchasing
      a application
    - hide the "buy" button when installing a purchase, fix uneven
      pulsing
  * merged lp:~mmcg069/software-center/small-ui-fix:
    - fix small horizonal line positioning bug.

  [ Gary Lasker ]
  * softwarecenter/view/softwarepane.py:
    - show a more reasonable number for hidden technical items
      in the installed view of "Provided by Ubuntu"
  * softwarecenter/enums.py,
    softwarecenter/utils.py,
    softwarecenter/view/appdetailsview_gtk.py,
    softwarecenter/view/softwarepane.py,
    softwarecenter/view/widgets/imagedialog.py:
    - create an alternative spinner widget that uses an animated gif
      for when gtk.Spinner is not available (LP: #637422)
  * softwarecenter/view/appview.py:
    - fix crash in _on_transaction_finished (LP: #631132)
    - enable show/hide technical items for "Installed Software"
  * softwarecenter/app.py:
    - fix crash in on_menu_edit_activate (LP: #624913)

  [ Kiwinote ]
  * softwarecenter/view/appdetailsview_gtk.py:
    - add basic a11y support for addon items
    - add a11y support for 'where is it'
  * softwarecenter/view/appview.py:
    - set buttons which aren't rendered insensitive (LP: #630521)
    - use a greyed out 'question mark' icon for pkg not found (LP: #635081)
    - for exact pkg not found matches, we don't always have a appname, whoops
  * softwarecenter/view/cat_view.py:
    - set verbose a11y name for the 'all' button for carousels, such that we
      include the secti...

Read more...

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.