Comment 2 for bug 1368911

Revision history for this message
Dennis Schridde (devurandom) wrote :

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().