← Back to team overview

desktop-packages team mailing list archive

[Bug 1463146] Re: 'Ubuntu' object has no attribute 'get_distro_release'

 

*** This bug is a duplicate of bug 1457828 ***
    https://bugs.launchpad.net/bugs/1457828

** This bug has been marked a duplicate of private bug 1457828

-- 
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/1463146

Title:
  'Ubuntu' object has no attribute 'get_distro_release'

Status in software-center package in Ubuntu:
  New

Bug description:
  To reproduce, tell Ubuntu Software Centre to display more information
  about libusb-dev.

  Traceback (most recent call last):
    File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/availablepane.py", line 781, in on_application_activated
      super(AvailablePane, self).on_application_activated(appview, app)
    File "/usr/share/software-center/softwarecenter/utils.py", line 192, in wrapper
      f(*args, **kwargs)
    File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/softwarepane.py", line 196, in on_application_activated
      vm.display_page(self, self.Pages.DETAILS, self.state)
    File "/usr/share/software-center/softwarecenter/ui/gtk3/session/viewmanager.py", line 183, in display_page
      pane.enter_page(page, view_state)
    File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/availablepane.py", line 653, in enter_page
      self.display_details_page(state)
    File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/availablepane.py", line 734, in display_details_page
      SoftwarePane.display_details_page(self, view_state)
    File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/softwarepane.py", line 387, in display_details_page
      self.app_details_view.show_app(view_state.application)
    File "/usr/share/software-center/softwarecenter/ui/gtk3/views/appdetailsview.py", line 1759, in show_app
      skip_update_addons=skip_update_addons)
    File "/usr/share/software-center/softwarecenter/ui/gtk3/views/appdetailsview.py", line 1559, in _update_all
      self._update_pkg_info_table(app_details)
    File "/usr/share/software-center/softwarecenter/ui/gtk3/views/appdetailsview.py", line 1492, in _update_pkg_info_table
      if app_details.maintenance_status:
    File "/usr/share/software-center/softwarecenter/db/application.py", line 456, in maintenance_status
      self.channelname)
    File "/usr/share/software-center/softwarecenter/distro/ubuntu.py", line 207, in get_maintenance_status
      "Ubuntu.") % (appname, self.get_distro_release())
  AttributeError: 'Ubuntu' object has no attribute 'get_distro_release'

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: software-center 13.10-0ubuntu4.1
  ProcVersionSignature: Ubuntu 3.13.0-53.89-generic 3.13.11-ckt19
  Uname: Linux 3.13.0-53-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Jun  8 21:17:12 2015
  InstallationDate: Installed on 2014-08-20 (292 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  PackageArchitecture: all
  SourcePackage: software-center
  UpgradeStatus: No upgrade log present (probably fresh install)

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


References