[GTK3] Home screen "New" tiles don't work (AttributeError: 'PackageStatusBar' object has no attribute 'create_colors')

Bug #833195 reported by Matthew Paul Thomas on 2011-08-24
This bug affects 2 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)

Bug Description

software-center-gtk3 trunk r2191, Ubuntu Ocelot

1. Launch USC, or go to the home screen.
2. Click on one of the applications.

What happens:
* The Back button becomes sensitive, but the application screen doesn't appear.
* A traceback in the terminal:
Traceback (most recent call last):
  File "/home/mpt/hacking/software-center/softwarecenter/utils.py", line 107, in wrapper
    f(*args, **kwargs)
  File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/availablepane.py", line 590, in on_application_activated
  File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/session/viewmanager.py", line 159, in display_page
    callback(page, view_state)
  File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/availablepane.py", line 524, in display_details_page
    SoftwarePane.display_details_page(self, page, view_state)
  File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/softwarepane.py", line 664, in display_details_page
  File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/appdetailsview_gtk.py", line 1441, in show_app
  File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/appdetailsview_gtk.py", line 1261, in _update_all
    self.pkg_statusbar.configure(app_details, app_details.pkg_state)
  File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/appdetailsview_gtk.py", line 321, in configure
AttributeError: 'PackageStatusBar' object has no attribute 'create_colors'

The problem does not happen for the same applications when navigated to from search results -- only from the home screen.

Changed in software-center (Ubuntu):
importance: Undecided → Critical
description: updated
Changed in software-center (Ubuntu):
importance: Critical → High
Kiwinote (kiwinote) wrote :

Fixed in the branch linked.

Changed in software-center (Ubuntu):
assignee: nobody → Kiwinote (kiwinote)
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

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

software-center (4.1.19) oneiric; urgency=low

  [ Kiwinote ]
  * data/piston-helpers/piston_get_reviews_helper.py:
    - get reviews for the base pkg, not the multiarch one
  * softwarecenter/ui/gtk3/widgets/buttons.py:
    - hand cursor for category tiles and subcategory tiles
    - make a price of '0.00' render as 'free'
  * softwarecenter/ui/gtk3/views/appdetailsview_gtk.py:
    - remove function calls to set the color of the pkgstatusbar (LP: #833195)
    - render icons for addons correctly
  * softwarecenter/ui/gtk3/views/catview_gtk.py:
    - don't show unavailable or already installed apps in the 'new' tiles
    - align the subcat view
  * softwarecenter/ui/gtk3/widgets/exhibits.py:
    - only render paging dots if we have more than one

  [ Michael Vogt ]
  * softwarecenter/db/application.py:
    -ignore errors from incorrect utf8 (LP: #833534)
  * data/ubuntu-software-center.desktop.in:
    - set default UI to gtk3 (LP: #830901)
  * add new icon LP: #432552

  [ Matthew Paul Thomas ]
  * softwarecenter/ui/gtk3/widgets/exhibits.py:
    - tweak the default banner presentation (LP: #833169)
  * debian/control:
    - improve package description
  * lp:~mpt/software-center/text-tweaks:
    - text fixes

  [ Matthew McGowan ]
  * lp:~mmcg069/software-center/small-fixes:
    - fix available pane channels
    - change nonapp filter

  [ Jacob Johan Edwards ]
  * lp:~j-johan-edwards/software-center/toolbar-quick-hack:
    - comment out hatching from USC custom toolbar.
 -- Michael Vogt <email address hidden> Thu, 25 Aug 2011 17:36:48 +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.

Duplicates of this bug

Other bug subscribers