Public bug reported:

TEST CASE:
- trivial typo fix with almost zero regression potential
- a regression test is enough

If there is a missing hardware: "hardware::storage:cd" for a app it will crash 
with. This was uncovered when running the testsuite with "debtags" fully 
installed and updated.
...
  File 
"/scratch/egon/devel/software-center/5.2/softwarecenter/ui/gtk3/views/appdetailsview.py",
 line 1741, in show_app
    skip_update_addons=skip_update_addons)
  File 
"/scratch/egon/devel/software-center/5.2/softwarecenter/ui/gtk3/views/appdetailsview.py",
 line 1547, in _update_all
    self._update_warning_bar(app_details)
  File 
"/scratch/egon/devel/software-center/5.2/softwarecenter/ui/gtk3/views/appdetailsview.py",
 line 1458, in _update_warning_bar
    app_details.hardware_requirements)
  File "/scratch/egon/devel/software-center/5.2/softwarecenter/hw.py", line 
104, in get_hw_missing_long_description
    descr = descr % postfix
TypeError: unsupported operand type(s) for %: 'NoneType' and 'str'

This is due to a typo in softwarecente/hw.py

** Affects: software-center (Ubuntu)
     Importance: Medium
         Status: In Progress

** Affects: software-center (Ubuntu Precise)
     Importance: Medium
         Status: In Progress

** Also affects: software-center (Ubuntu Precise)
   Importance: Undecided
       Status: New

** Changed in: software-center (Ubuntu)
   Importance: Undecided => Medium

** Changed in: software-center (Ubuntu Precise)
   Importance: Undecided => Medium

** Changed in: software-center (Ubuntu)
       Status: New => In Progress

** Changed in: software-center (Ubuntu Precise)
       Status: New => In Progress

** Branch linked: lp:~mvo/software-center/lp1026494

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

Title:
  crash for missing hardware "hardware::storage:cd"

Status in “software-center” package in Ubuntu:
  In Progress
Status in “software-center” source package in Precise:
  In Progress

Bug description:
  TEST CASE:
  - trivial typo fix with almost zero regression potential
  - a regression test is enough

  If there is a missing hardware: "hardware::storage:cd" for a app it will 
crash with. This was uncovered when running the testsuite with "debtags" fully 
installed and updated.
  ...
    File 
"/scratch/egon/devel/software-center/5.2/softwarecenter/ui/gtk3/views/appdetailsview.py",
 line 1741, in show_app
      skip_update_addons=skip_update_addons)
    File 
"/scratch/egon/devel/software-center/5.2/softwarecenter/ui/gtk3/views/appdetailsview.py",
 line 1547, in _update_all
      self._update_warning_bar(app_details)
    File 
"/scratch/egon/devel/software-center/5.2/softwarecenter/ui/gtk3/views/appdetailsview.py",
 line 1458, in _update_warning_bar
      app_details.hardware_requirements)
    File "/scratch/egon/devel/software-center/5.2/softwarecenter/hw.py", line 
104, in get_hw_missing_long_description
      descr = descr % postfix
  TypeError: unsupported operand type(s) for %: 'NoneType' and 'str'

  This is due to a typo in softwarecente/hw.py

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to