Comment 0 for bug 1002271

Revision history for this message
Michael Vogt (mvo) wrote :

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