Quick fix:
--- /usr/share/apport/apport.orig       2014-09-12 23:11:15.067594994 +0400
+++ /usr/share/apport/apport    2014-09-12 23:10:12.631595210 +0400
@@ -96,7 +96,7 @@
 def error_log(msg):
     '''Output something to the error log.'''
 
-    apport.error('apport (pid %s) %s: %s', os.getpid(), time.asctime(), msg)
+    apport.error('apport (pid %s) %s: %s', os.getpid(), time.asctime(), 
msg.encode("utf-8"))
 
 
 def _log_signal_handler(sgn, frame):

But a better place to fix this would probably be apport.error().

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