← Back to team overview

desktop-packages team mailing list archive

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

 

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 <michael.vogt@xxxxxxxxxx>   Thu, 25 Aug 2011 17:36:48 +0200

** Changed in: software-center (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/833195

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

Status in “software-center” package in Ubuntu:
  Fix Released

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
      self.display_details_page)
    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
      self.app_details_view.show_app(view_state.application)
    File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/appdetailsview_gtk.py", line 1441, in show_app
      skip_update_addons=(type(self.app)==DebFileApplication))
    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
      self.create_colors(StatusBar.USER_ACTION_REQRD_COLOR)
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/833195/+subscriptions


References