List view errors after disabling partner repository

Bug #556995 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

Ubuntu Software Center 1.1.23, Ubuntu Lucid

Steps to reproduce (the following sequence assumes that the partner repository is enabled at the start):

1. Expand the "Get Software" node in the left pane and select "Canonical Partners" to view the software items list.
2. Select menu item "Edit->Software Sources...".
3. In the Software Sources dialog, click the "Other Software" tab.
4. Uncheck the partner channel entry ("http://archive.canonical.com/ubuntu lucid partner") to disable the partner repository.
5. Observe the "In Progress" node appears in the left pane.
6. After a few more seconds, the "In Progress" node disappears, and the "Canonical Partners" node then becomes unselected.
7. At this point, empty rows appear in the list view (see attached screenshot) and things become very broken.
8. Note that reselecting "Canonical Partners" in the left pane restores the list view to a working state (see screenshot).

What should happen:

After the partner repository is disabled and the process completes (step 6 above), the list view should be re-selected in the left pane and the updated partner list view contents rendered without errors.

Related branches

Revision history for this message
Gary Lasker (gary-lasker) wrote :
description: updated
Revision history for this message
Gary Lasker (gary-lasker) wrote :
Changed in software-center (Ubuntu):
assignee: nobody → Gary Lasker (gary-lasker)
importance: Undecided → Medium
milestone: none → ubuntu-10.04
status: New → Triaged
Revision history for this message
Gary Lasker (gary-lasker) wrote :

Attaching a chunk of the exception spew that's generated while the list view errors are occurring.

Revision history for this message
Gary Lasker (gary-lasker) wrote :

This problem is fixed by the linked branch. Note that there remains an artifact in this branch where an extra navigation button sometimes appears on the channels refreshed event. Note however that this artifact is FIXED if we merge the following branch from our man in New Zealand, Matthew McGowan:

lp:~mmcg069/software-center/pathbar-atk

Changed in software-center (Ubuntu):
status: Triaged → In Progress
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 - 1.1.25

---------------
software-center (1.1.25) lucid; urgency=low

  [ Gary Lasker ]
  * softwarecenter/view/viewswitcher.py:
    - fix intermittent AttributeError if a model doesn't
      exist when checking node expanded state (LP: #554388)
  * softwarecenter/view/viewswitcher.py:
    - fix nasty list view errors when disabling partner
      repository (LP: #556995)
  * softwarecenter/view/appview.py:
    - fix intermittent AttributeError in row selection
      (LP: #552224)
  * softwarecenter/view/availablepane.py:
    - fix double call to set_category method
  * softwarecenter/view/channelpane.py,
    softwarecenter/view/installedpane.py:
    - fix bug where clicking the "Search Results" navigation
      button in the "Installed View" or in a PPA/channel
      view has no effect (LP: #559732)
  * softwarecenter/view/channelpane.py:
    - fix bug where selecting a new PPA/channel while
      a search is in effect in the current PPA/channel
      does not display the new PPA/channel (LP: #559742)

  [ Michael Vogt ]
  * softwarecenter/apt/aptcache.py:
    - add file monitor to detect changes in the dpkg status
      when apt is run outside of software-center (LP: #432555)
  * softwarecenter/view/appdetailsview.py:
    - only show "needs updating" message if we have a component
      associated with the software-item (LP: #542892)
  * softwarecenter/db/database.py:
    - when we have no package and no information no how to get it,
      display unavailable message instead of a empty summary line
  * merged lp:~mmcg069/software-center/pathbar-atk
    - this makes the pathbar on top fully accessible with e.g.
      orca (LP: #526384). Also fixes intermittent TypeError bug
      (LP: #558895) and nav button visual artifact when selecting
      a channel (LP: #531724). Many thanks!
  * softwarecenter/view/appview.py:
    - avoid blocking if a operation takes long

  [ Zygmunt Krynicki ]
  * softwarecenter/view/appdetailsview.py:
    - use package name when application name is not available (LP: #549011)
 -- Michael Vogt <email address hidden> Sat, 10 Apr 2010 16:29:10 +0200

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.