software-center crashed with AttributeError in __eq__

Bug #690706 reported by Gary Lasker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Medium
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/app.py", line 465, in on_view_switcher_changed
    self.update_app_list_view(channel)
  File "/home/tremolux/Projects/natty/software-center_fix_supported_crash/software-center/softwarecenter/app.py", line 849, in update_app_list_view
    self.active_pane.refresh_apps()
  File "/home/tremolux/Projects/natty/software-center_fix_supported_crash/software-center/softwarecenter/view/softwarepane.py", 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/appview.py", 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)
Revision history for this message
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/restfulclient.py:
    - honor UBUNTU_SSO_SERVICE
  * softwarecenter/plugin.py:
    - ignore plugin init failures
  * softwarecenter/view/appdetailsview_gtk.py:
    - add helper to obtain xy position of the appicon in the view

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

  [ Kiwinote ]
  * softwarecenter/view/appview.py:
    - fix crash when switching from a specific channel in the available pane
      to the same channel in the installed pane
  * softwarecenter/view/historypane.py:
    - use named arguments for history entries - thanks to dpm (LP: #690283)
  * softwarecenter/view/pendingview.py:
    - use a scrollbar when we have many transactions (LP: #642299)
    - display progress for transactions
  * po/POTFILES.in:
    - mark softwarecenter/models/viewswitcherlist.py for translation
  * data/ui/dialogs.py:
    - 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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.