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

Bug #796034 reported by milton barton on 2011-06-11
This bug affects 3 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Gary Lasker

Bug Description

1. Launch SC from a terminal
2. Select Canonical Partner
  -> No package should be displayed on the left pane
3. Enter some string in the search field

The following trace is displayed on the terminal:
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/ui/gtk/", line 559, in on_app_list_changed
  File "/usr/share/software-center/softwarecenter/ui/gtk/", line 641, in update_search_help
    if self.apps_filter.get_supported_only():
AttributeError: 'NoneType' object has no attribute 'get_supported_only'
SC doesn't close.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: software-center 4.1.4
ProcVersionSignature: Ubuntu 2.6.39-3.10-generic 2.6.39
Uname: Linux 2.6.39-3-generic x86_64
Architecture: amd64
Date: Sat Jun 11 20:30:56 2011
ExecutablePath: /usr/share/software-center/software-center
InterpreterPath: /usr/bin/python2.7
LiveMediaBuild: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110531.1)
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-center
PythonArgs: ['/usr/bin/software-center']
SourcePackage: software-center
Title: software-center crashed with AttributeError in update_search_help(): 'NoneType' object has no attribute 'get_supported_only'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

milton barton (barton-mk) wrote :
tags: removed: need-duplicate-check
Jean-Baptiste Lallement (jibel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:
1. Is this reproducible?
2. If so, what specific steps should we take to recreate this bug? Be as detailed as possible.
This will help us to find and resolve the problem.

visibility: private → public
Changed in software-center (Ubuntu):
status: New → Incomplete
sam tygier (samtygier) wrote :

i have also got this a few times Bug #797936 . not quite sure what triggers it.

I experienced this bug to, with i386 and Ubuntu 11.10 daily build.
I noticed that I can reproduce this bug in this way...
Once opened Ubuntu Software Center, select Canonical Partner ( it shows my nothing white page) then if for example I search the word adobe then USC crash...

Jean-Baptiste Lallement (jibel) wrote :

Thanks Antonio, I've been able to reproduce it the way you described. Setting to triage/medium as it doesn't seem to affect other s-c functionalities.

Changed in software-center (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
description: updated
Changed in software-center (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Gary Lasker (gary-lasker)
Gary Lasker (gary-lasker) wrote :

Hi Milton and Antonio, thanks for reporting! The fix for this one has been committed and will be available soon with the next development release of software-center in Oneiric. Please continue to report any other issues you may find, your help is much appreciated!

Changed in software-center (Ubuntu):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

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

software-center (4.1.6) oneiric; urgency=low

  [ Brian Murray ]
  * add in an apport package hook for software-center that adds
    software-center.log to bug reports

  [ Gary Lasker ]
  * data/ui/SoftwareCenter.ui,
    - specify the default initial window size based on screen
      dimensions to take better advantage of the available area
  * softwarecenter/ui/gtk/
    - display package name first in the version field per spec
  * merge lp:~weblive-dev/software-center/fix-weblive, many
    thanks to Stéphane Graber
  * softwarecenter/db/
    - don't generate thumbnail urls for screenshots in the For
      Purchase section as we no longer provide separate thumbnail
      files for these apps
  * softwarecenter/ui/gtk/
    - fix crash when searching the Canonical Partners section
      (LP: #796034)
  * softwarecenter/db/
    - fix broken details view for items in the Canonical Partners
      section when the channel is not enabled

  [ Michael Vogt ]
  * move from pyhton-central to python2
  * lp:~alexeftimie/software-center/backend-refactor,
    many thanks to Alex Eftimie (LP: #704719)
  * softwarecenter/
    - add new generic "normalize_package_description()" helper that
      can be shared between the various UIs to normalize the package
    - add generic htmlize_package_description()
  * softwarecenter/ui/gtk/widgets/
    - use "normalize_package_description()" here for the description
  * fix some pyflakes warnings
  * update test/ for the new htmlize_package_description()

  [ Aaron Peachey ]
  * softwarecenter/backend/,
    - fix duplication of reviews after user has submitted
      usefulness, flagged or submitted a review (LP: #794060)
 -- Michael Vogt <email address hidden> Mon, 20 Jun 2011 11:21:02 +0200

Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
tags: added: testcase
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers