I have to re-open this bug because I still have this problem even though
my software-center is 5.2.1, problem occurs when the "More Info" button
of Ryzom is pressed when locale is in zh_TW.UTF-8, but does not happen
in en_US.UTF-8.
$ dpkg -l software-center | grep software-center
ii software-center 5.2.1
Utility for browsing, installing, and removing software
Traceback (most recent call last):
File "/usr/share/software-center/softwarecenter/utils.py", line 118, in
wrapper
f(*args, **kwargs)
File
"/usr/share/software-center/softwarecenter/ui/gtk3/panes/availablepane.py",
line 751, in on_application_activated
self.display_details_page)
File
"/usr/share/software-center/softwarecenter/ui/gtk3/session/viewmanager.py",
line 190, in display_page
callback(page, view_state)
File
"/usr/share/software-center/softwarecenter/ui/gtk3/panes/availablepane.py",
line 685, in display_details_page
SoftwarePane.display_details_page(self, page, view_state)
File
"/usr/share/software-center/softwarecenter/ui/gtk3/panes/softwarepane.py", line
464, 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 1733, in show_app
self._update_minimal(self.app_details)
File
"/usr/share/software-center/softwarecenter/ui/gtk3/views/appdetailsview.py",
line 1567, in _update_minimal
self._update_pkg_info_table(app_details)
File
"/usr/share/software-center/softwarecenter/ui/gtk3/views/appdetailsview.py",
line 1491, in _update_pkg_info_table
self.hardware_info.set_value(app_details.hardware_requirements)
File
"/usr/share/software-center/softwarecenter/ui/gtk3/views/appdetailsview.py",
line 540, in set_value
self.value_label.set_hardware_requirements(value)
File "/usr/share/software-center/softwarecenter/ui/gtk3/widgets/labels.py",
line 105, in set_hardware_requirements
label.set_hardware_requirement(tag, sup)
File "/usr/share/software-center/softwarecenter/ui/gtk3/widgets/labels.py",
line 84, in set_hardware_requirement
self._label.set_markup(self.get_label())
File "/usr/share/software-center/softwarecenter/ui/gtk3/widgets/labels.py",
line 78, in get_label
"hardware": unicode(short_descr, "utf8", "ignore")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 19:
ordinal not in range(128)
** Changed in: software-center (Ubuntu)
Status: Fix Released => New
** Changed in: software-center (Ubuntu)
Milestone: ubuntu-12.04 => None
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/967036
Title:
software-center crashed with UnicodeDecodeError in get_label():
'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in
range(128) for apps with hardware requirements
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/967036/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs