List view errors after disabling partner repository

Bug #556995 reported by Gary Lasker on 2010-04-07
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
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 (" 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

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
Gary Lasker (gary-lasker) wrote :

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

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:


Changed in software-center (Ubuntu):
status: Triaged → In Progress
Changed in software-center (Ubuntu):
status: In Progress → Fix Committed
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/
    - fix intermittent AttributeError if a model doesn't
      exist when checking node expanded state (LP: #554388)
  * softwarecenter/view/
    - fix nasty list view errors when disabling partner
      repository (LP: #556995)
  * softwarecenter/view/
    - fix intermittent AttributeError in row selection
      (LP: #552224)
  * softwarecenter/view/
    - fix double call to set_category method
  * softwarecenter/view/,
    - 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/
    - 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/
    - add file monitor to detect changes in the dpkg status
      when apt is run outside of software-center (LP: #432555)
  * softwarecenter/view/
    - only show "needs updating" message if we have a component
      associated with the software-item (LP: #542892)
  * softwarecenter/db/
    - 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/
    - avoid blocking if a operation takes long

  [ Zygmunt Krynicki ]
  * softwarecenter/view/
    - 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  Edit
Everyone can see this information.

Other bug subscribers