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

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Thu Jun 16 12:05:27 UTC 2011


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

** Changed in: software-center (Ubuntu)
       Status: Incomplete => Triaged

** Description changed:

- Binary package hint: software-center
+ 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
  
- b43 cutter
+ 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
+  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

-- 
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:
  Triaged

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