software-center crashed with TypeError in __init__()

Bug #523781 reported by Shane Fagan
188
This bug affects 32 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Medium
Gary Lasker

Bug Description

Binary package hint: software-center

This crash occurs only when searching in the "Provided by Ubuntu" view. Searching from the "Get Software" view or while viewing any PPA source works fine. To reproduce:

1. Open Software Center and expand the "Get Software" item
2. Click on the "Provided by Ubuntu" item
3. Type two or more letters into the search bar
4. Crash occurs with the attached stacktrace.

ProblemType: Crash
Architecture: amd64
Date: Thu Feb 18 12:38:27 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100113)
InterpreterPath: /usr/bin/python2.6
NonfreeKernelModules: nvidia
Package: software-center 1.1.12
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-center
ProcEnviron:
 LANG=en_IE.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-13.18-generic
PythonArgs: ['/usr/bin/software-center']
SourcePackage: software-center
Title: software-center crashed with TypeError in __init__()
Uname: Linux 2.6.32-13-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Shane Fagan (shanepatrickfagan) wrote :
tags: removed: need-duplicate-check
Changed in software-center (Ubuntu):
assignee: nobody → Gary Lasker (gary-lasker)
status: New → Confirmed
Changed in software-center (Ubuntu):
importance: Undecided → Medium
visibility: private → public
Revision history for this message
recluse (brian1027) wrote :

was installing ubuntu restricted extras, and while it was installing, I searched for "vlc" (media player) then it crashed

tags: added: bugpattern-needed
description: updated
Revision history for this message
MillenniumBug (millenniumbug) wrote :

Strictly speaking it does not crash, but an error dialog appears.

Revision history for this message
Gary Lasker (gary-lasker) wrote :

Fixed in branch, awaiting review.

Changed in software-center (Ubuntu):
status: Confirmed → In Progress
Changed in software-center (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
software-center (1.1.16) lucid; urgency=low

  [ Matthew McGowan ]
  * softwarecenter/view/widget/backforward.py:
    - add new widget for use in back/forward navigation feature

  [ Michael Vogt ]
  * data/software-center.menu.in:
    - merge "System Tools" into "Accessories"
    - rename "System Packages" to "System"
    - add "Fonts" section
    - remove all sub-sections of "System", its one big list again
    - remove "Other" category and move it into "System"
   (as per spec)
  * softwarecenter/db/database.py:
    - add prefix "pkg_fuzzy"
  * add .menu term "SCPkgnameWildcard" to support wildcard based
    pkgname searches
  * softwarecenter/view/catview.py:
    - fix parsing when inline translations are available in the xml
  * softwarecenter/view/catview.py:
    - fix tests
  * softwarecenter/backend/channel.py:
    - add query for channels that are not yet enabled
      (via the app-install-data mechanism)
  * softwarecenter/distro/__init__.py:
    - add get_codename
  * fix inconsistency in naming (LP: #530368)
  * show (summary, name) for non-apps (LP: #530422)
  * merged lp:~mpt/software-center/categorization to improve
    categorization (many thanks)
  * merged lp:~mvo/software-center/back-forward-nav

  [ Gary Lasker ]
  * softwarecenter/backend/channel.py:
    - add to reimplement channels as instances of a new SoftwareChannel
      class, supports fixing the issues below
  * softwarecenter/app.py,
    softwarecenter/view/viewswitcher.py,
    softwarecenter/view/channelpane.py:
    - enable Canonical partner channel repository view (LP: #530401)
    - fix crash when searching while in "Provided by Ubuntu"
      view (LP: #523781)
    - show all software items in the "Provided by Ubuntu"
      view (LP: #528043)
    - enable maintenance filter in the "Provided by Ubuntu"
      view (LP: #528057)
    - fix navigation button text for the "Provided by Ubuntu"
      view (LP: #530398)
  * softwarecenter/view/navhistory.py,
    softwarecenter/view/softwarepane.py,
    softwarecenter/view/availablepane.py,
    softwarecenter/view/widgets/pathbar2.py:
    - add navhistory.py, implement forward/back history feature for
      the "Get Software" section (using Matthew McGowan's
      BackForwardButton, many thanks!). (LP: #423754)
  * po/POTFILES.in:
    - add softwarecenter/backend/channel.py
  * data/ui/SoftwareCenter.ui:
    - in "View" menu, change "Applications" to "Software" (LP: #530377)
  * softwarecenter/view/installedpane.py:
    - hide searchentry field in details view (LP: 528121)
  * softwarecenter/view/availablepane.py,
    softwarecenter/view/channelpane.py,
    softwarecenter/view/installedpane.py:
    - change "Application(s)" to "Item(s)" in the status
      bar text (LP: #530374)
 -- Michael Vogt <email address hidden> Wed, 03 Mar 2010 22:41:20 +0100

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.