2012-05-21 12:18:40 |
Michael Vogt |
bug |
|
|
added bug |
2012-05-21 12:22:07 |
Michael Vogt |
software-center (Ubuntu): status |
New |
In Progress |
|
2012-05-21 12:22:09 |
Michael Vogt |
software-center (Ubuntu): importance |
Undecided |
Medium |
|
2012-05-21 12:22:17 |
Michael Vogt |
software-center (Ubuntu): milestone |
|
precise-updates |
|
2012-05-21 12:22:26 |
Michael Vogt |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-05-21 12:26:27 |
Michael Vogt |
branch linked |
|
lp:~mvo/software-center/lp1002271 |
|
2012-05-23 15:22:17 |
Launchpad Janitor |
branch linked |
|
lp:software-center/5.2 |
|
2012-05-24 00:17:25 |
Launchpad Janitor |
branch linked |
|
lp:~gary-lasker/software-center/cherrypick-for-5.2.2.1 |
|
2012-05-24 18:50:33 |
Steve Langasek |
bug |
|
|
added subscriber SRU Verification |
2012-05-24 18:50:35 |
Steve Langasek |
tags |
|
verification-needed |
|
2012-05-29 14:27:41 |
C de-Avillez |
tags |
verification-needed |
verification-done |
|
2012-05-29 14:30:15 |
Launchpad Janitor |
software-center (Ubuntu): status |
In Progress |
Fix Released |
|
2012-05-29 14:41:18 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/precise-proposed/software-center |
|
2012-06-19 05:51:15 |
Chris Halse Rogers |
nominated for series |
|
Ubuntu Precise |
|
2012-06-19 05:51:15 |
Chris Halse Rogers |
bug task added |
|
software-center (Ubuntu Precise) |
|
2012-06-19 05:53:06 |
Chris Halse Rogers |
software-center (Ubuntu Precise): status |
New |
Fix Committed |
|
2012-06-19 05:53:11 |
Chris Halse Rogers |
tags |
verification-done |
|
|
2012-06-19 05:53:13 |
Chris Halse Rogers |
tags |
|
verification-needed |
|
2012-06-19 21:08:01 |
Gary Lasker |
description |
From errors.ubuntu.com , this looks like a regression in the new capitalize code:
Traceback (most recent call last):
File "/usr/share/software-center/softwarecenter/ui/gtk3/widgets/cellrenderers.py", line 390, in do_render
is_rtl)
File "/usr/share/software-center/softwarecenter/ui/gtk3/widgets/cellrenderers.py", line 165, in _render_summary
layout.set_markup(self.model.get_markup(app), -1)
File "/usr/share/software-center/softwarecenter/ui/gtk3/models/appstore2.py", line 192, in get_markup
summary = capitalize_first_word(self.db.get_summary(doc))
File "/usr/share/software-center/softwarecenter/utils.py", line 128, in capitalize_first_word
if string[0].isalpha() and not string[0].isupper():
IndexError: string index out of range |
SRU TEST CASE:
1. Update to the version of software-center in precise-proposed.
2. Launch Ubuntu Software Center from a terminal window as shown:
$ software-center
3. Navigate and view the details page for a few different packages. Choose packages from different categories, etc.
4. Verify that crash stacktrace shown below never appears in the terminal window.
SRU REGRESSION POTENTIAL:
Regression risk is negligible. This is a single line fix that checks for a zero-length string before calling capitalize() on it, and this prevents the crash reported in this bug.
---
From errors.ubuntu.com , this looks like a regression in the new capitalize code:
Traceback (most recent call last):
File "/usr/share/software-center/softwarecenter/ui/gtk3/widgets/cellrenderers.py", line 390, in do_render
is_rtl)
File "/usr/share/software-center/softwarecenter/ui/gtk3/widgets/cellrenderers.py", line 165, in _render_summary
layout.set_markup(self.model.get_markup(app), -1)
File "/usr/share/software-center/softwarecenter/ui/gtk3/models/appstore2.py", line 192, in get_markup
summary = capitalize_first_word(self.db.get_summary(doc))
File "/usr/share/software-center/softwarecenter/utils.py", line 128, in capitalize_first_word
if string[0].isalpha() and not string[0].isupper():
IndexError: string index out of range |
|
2012-06-19 21:10:56 |
Gary Lasker |
description |
SRU TEST CASE:
1. Update to the version of software-center in precise-proposed.
2. Launch Ubuntu Software Center from a terminal window as shown:
$ software-center
3. Navigate and view the details page for a few different packages. Choose packages from different categories, etc.
4. Verify that crash stacktrace shown below never appears in the terminal window.
SRU REGRESSION POTENTIAL:
Regression risk is negligible. This is a single line fix that checks for a zero-length string before calling capitalize() on it, and this prevents the crash reported in this bug.
---
From errors.ubuntu.com , this looks like a regression in the new capitalize code:
Traceback (most recent call last):
File "/usr/share/software-center/softwarecenter/ui/gtk3/widgets/cellrenderers.py", line 390, in do_render
is_rtl)
File "/usr/share/software-center/softwarecenter/ui/gtk3/widgets/cellrenderers.py", line 165, in _render_summary
layout.set_markup(self.model.get_markup(app), -1)
File "/usr/share/software-center/softwarecenter/ui/gtk3/models/appstore2.py", line 192, in get_markup
summary = capitalize_first_word(self.db.get_summary(doc))
File "/usr/share/software-center/softwarecenter/utils.py", line 128, in capitalize_first_word
if string[0].isalpha() and not string[0].isupper():
IndexError: string index out of range |
NOTE: This fix was actually released in software-center 5.2.2.1, but due to a copy error the changelog entry appears for this release too.
SRU TEST CASE:
1. Update to the version of software-center in precise-proposed.
2. Launch Ubuntu Software Center from a terminal window as shown:
$ software-center
3. Navigate and view the details page for a few different packages. Choose packages from different categories, etc.
4. Verify that crash stacktrace shown below never appears in the terminal window.
SRU REGRESSION POTENTIAL:
Regression risk is negligible. This is a single line fix that checks for a zero-length string before calling capitalize() on it, and this prevents the crash reported in this bug.
NOTE also that since this fix has been released in Precise, the number of occurrances has dropped dramatically on errors.ubuntu.com.
---
From errors.ubuntu.com , this looks like a regression in the new capitalize code:
Traceback (most recent call last):
File "/usr/share/software-center/softwarecenter/ui/gtk3/widgets/cellrenderers.py", line 390, in do_render
is_rtl)
File "/usr/share/software-center/softwarecenter/ui/gtk3/widgets/cellrenderers.py", line 165, in _render_summary
layout.set_markup(self.model.get_markup(app), -1)
File "/usr/share/software-center/softwarecenter/ui/gtk3/models/appstore2.py", line 192, in get_markup
summary = capitalize_first_word(self.db.get_summary(doc))
File "/usr/share/software-center/softwarecenter/utils.py", line 128, in capitalize_first_word
if string[0].isalpha() and not string[0].isupper():
IndexError: string index out of range |
|
2012-06-19 21:13:21 |
Gary Lasker |
tags |
verification-needed |
verification-done |
|
2012-06-26 14:39:19 |
Launchpad Janitor |
software-center (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|