Similar issue with apport-kde:

  File "/usr/share/apport/apport-kde", line 530, in <module>
    sys.exit(UserInterface.run_argv())
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 653, in run_argv
    return self.run_update_report()
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 569, in 
run_update_report
    response = self.ui_present_report_details(allowed_to_report)
  File "/usr/share/apport/apport-kde", line 367, in ui_present_report_details
    desktop_info)
  File "/usr/share/apport/apport-kde", line 184, in __init__
    self.ui.ui_update_view(self)
  File "/usr/share/apport/apport-kde", line 358, in ui_update_view
    QTreeWidgetItem(keyitem, [str(line)])


Possible fix:

--- /usr/share/apport/apport-kde.orig   2015-11-03 15:03:25.923427902 -0500
+++ /usr/share/apport/apport-kde        2015-11-03 15:00:07.039222098 -0500
@@ -355,7 +355,7 @@
                not self.report._is_binary(self.report[key]):
                 lines = self.report[key].splitlines()
                 for line in lines:
-                    QTreeWidgetItem(keyitem, [str(line)])
+                    QTreeWidgetItem(keyitem, [str(line.encode("UTF-8"))])
                 if len(lines) < 4:
                     keyitem.setExpanded(True)
             else:

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1368911

Title:
  Apport crashes when writing to stderr: UnicodeEncodeError: 'ascii'
  codec can't encode character '\xc1' in position 130: ordinal not in
  range(128)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1368911/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to