← Back to team overview

desktop-packages team mailing list archive

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

 

** Tags added: testcase

-- 
You received this bug notification because you are a member of Desktop
Packages, 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