← 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')

 

** Changed in: software-center (Ubuntu)
   Importance: Critical => High

-- 
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:
  New

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