AttributeError when creating a custom list

Bug #712888 reported by Gary Lasker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Low
Gary Lasker

Bug Description

Binary package hint: software-center

Software Center version 3.1.15

Steps to reproduce:
1. At the main category view, type the following into the search field to start creating a custom list: "ark,"
2. Type one more letter, say, "a", and note the following exception appears in the stacktrace:

Traceback (most recent call last):
  File "/home/tremolux/Projects/natty/software-center_REF/software-center/softwarecenter/view/availablepane.py", line 307, in on_app_list_changed
    self._update_status_text(length)
  File "/home/tremolux/Projects/natty/software-center_REF/software-center/softwarecenter/view/availablepane.py", line 333, in _update_status_text
    existing = len(appstore.existing_apps)
  File "/home/tremolux/Projects/natty/software-center_REF/software-center/softwarecenter/models/appstore.py", line 319, in _get_existing_apps
    if self._existing_apps == None:
AttributeError: 'AppStore' object has no attribute '_existing_apps'

Changed in software-center (Ubuntu):
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Gary Lasker (gary-lasker)
Changed in software-center (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
software-center (3.1.16) natty; urgency=low

  [ Michael Vogt ]
  * merged lp:~mmcg069/software-center/reviews-and-netstatus
    many thanks to Matthew McGowan
  * test/test_appdetails_view.py:
    - add appdetails netstatus tests
  * merged lp:~aaronp/software-center/fix-694836, many thanks
    (LP: #694836)
  * softwarecenter/view/softwarepane.py:
    - add helper to init atk names so that mago can pick them up
  * tests/Makefile, test/mago/test_with_mago.py:
    - use new style mago for search tests and enable in auto-tests

  [ Gary Lasker ]
  * softwarecenter/distro/Ubuntu.py,
    softwarecenter/models/appstore.py:
    - fix crash if attempting to download a remote icon before
      the cache is ready (LP: #688991)
  * softwarecenter/models/appstore.py:
    - fix intermittent AttributeError in on_get_value (LP: #712170)
    - fix attribute error when building a custom list (LP: #712888)
  * test/test_custom_lists.py:
    - add unit test for custom lists

  [ Aaron Peachey ]
  * view/appdetailsview_gtk.py:
     - change label to click to write a review if user already has
       a review for that package LP: #709738
     - alter review look if it belongs to current user LP: #710396

  [ Matthew McGowan ]
  * lp:~mmcg069/software-center/tiny-back-forward-tweak:
    - a small tweak to make the arrow in the back-forward button pick
      a better size across a wider range of gtk themes.
 -- Michael Vogt <email address hidden> Tue, 08 Feb 2011 11:58:53 +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.