[Bug 796034] Re: software-center crashed with AttributeError in update_search_help(): 'NoneType' object has no attribute 'get_supported_only'

Launchpad Bug Tracker 796034 at bugs.launchpad.net
Mon Jun 20 10:23:51 UTC 2011


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,
    softwarecenter/app.py:
    - specify the default initial window size based on screen
      dimensions to take better advantage of the available area
  * softwarecenter/ui/gtk/appdetailsview_gtk.py:
    - 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/update.py:
    - 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/softwarepane.py:
    - fix crash when searching the Canonical Partners section
      (LP: #796034)
  * softwarecenter/db/application.py:
    - 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/utils.py:
    - add new generic "normalize_package_description()" helper that
      can be shared between the various UIs to normalize the package
      description
    - add generic htmlize_package_description()
  * softwarecenter/ui/gtk/widgets/description.py:
    - use "normalize_package_description()" here for the description
      building
  * fix some pyflakes warnings
  * update test/test_htmlize.py for the new htmlize_package_description()

  [ Aaron Peachey ]
  * softwarecenter/backend/reviews.py,
    softwarecenter/ui/gtk/appdetailsview_gtk.py,
    softwarecenter/ui/gtk/widgets/reviews.py:
    - fix duplication of reviews after user has submitted
      usefulness, flagged or submitted a review (LP: #794060)
 -- Michael Vogt <michael.vogt at ubuntu.com>   Mon, 20 Jun 2011 11:21:02 +0200

** Changed in: software-center (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/796034

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

Status in “software-center” package in Ubuntu:
  Fix Released

Bug description:
  TEST CASE
  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

  Result:
  The following trace is displayed on the terminal:
  """
  Traceback (most recent call last):
    File "/usr/share/software-center/softwarecenter/ui/gtk/softwarepane.py", line 559, in on_app_list_changed
      self.update_search_help()
    File "/usr/share/software-center/softwarecenter/ui/gtk/softwarepane.py", 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
  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 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/796034/+subscriptions




More information about the foundations-bugs mailing list