software-center crashed with AttributeError in __eq__

Bug #690706 reported by Gary Lasker on 2010-12-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Gary Lasker

Bug Description

Binary package hint: software-center

Software Center version 3.1.7

I'm hitting the following crasher when clicking on various items in the viewswitcher (e.g "Provided by Ubuntu"):

Traceback (most recent call last):
  File "/home/tremolux/Projects/natty/software-center_fix_supported_crash/software-center/softwarecenter/", line 465, in on_view_switcher_changed
  File "/home/tremolux/Projects/natty/software-center_fix_supported_crash/software-center/softwarecenter/", line 849, in update_app_list_view
  File "/home/tremolux/Projects/natty/software-center_fix_supported_crash/software-center/softwarecenter/view/", line 412, in refresh_apps
    self.apps_filter == old_model.filter and
  File "/home/tremolux/Projects/natty/software-center_fix_supported_crash/software-center/softwarecenter/view/", line 1036, in __eq__
    return (self.supported_only == other.supported_only and
AttributeError: 'NoneType' object has no attribute 'supported_only'

Changed in software-center (Ubuntu):
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Gary Lasker (gary-lasker)
Launchpad Janitor (janitor) wrote :

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

software-center (3.1.8) natty; urgency=low

  [ Michael Vogt ]
  * softwarecenter/backend/
  * softwarecenter/
    - ignore plugin init failures
  * softwarecenter/view/
    - add helper to obtain xy position of the appicon in the view

  [ Gary Lasker ]
  * softwarecenter/view/
    - fix crash in refresh_apps if previous model did
      not have a filter (LP: #690706)
  * softwarecenter/models/
    - enable threaded listviews
  * <many>:
    - implement inline purchase flow (LP: #618817, LP: #625418)

  [ Kiwinote ]
  * softwarecenter/view/
    - fix crash when switching from a specific channel in the available pane
      to the same channel in the installed pane
  * softwarecenter/view/
    - use named arguments for history entries - thanks to dpm (LP: #690283)
  * softwarecenter/view/
    - use a scrollbar when we have many transactions (LP: #642299)
    - display progress for transactions
  * po/
    - mark softwarecenter/models/ for translation
  * data/ui/
    - don't mark " " strings as translatable (LP: #691082)
  * debian/control:
    - use correct Vcs-Bzr url (LP: #690906)
 -- Michael Vogt <email address hidden> Tue, 21 Dec 2010 16:09:37 +0100

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

Other bug subscribers