It turns out this is due to str/unicode python2.x issues. The problem is
that we get a utf8 encoded string and uses that as input for %s - then
python will try to convert it to a string without a encoding and that
fails. I added a explicit convertion back to unicode now. The
alternative would be to return a unicode translated string in
get_hw_missing_long_description() but that is also not great.
Fortunately python3 will safe us at some point :)

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

Reply via email to