This patch *should* fix the bug:

--- apport/crashdb_impl/debian.py       2013-01-04 10:39:47 +0000
+++ apport/crashdb_impl/debian.py       2013-02-05 18:18:45 +0000
@@ -88,7 +88,7 @@
 
         temp.file.seek(0)
 
-        msg = MIMEText(temp.file.read())
+        msg = MIMEText(temp.file.read().decode('UTF-8'))
         msg['Subject'] = report['Title']
         msg['From'] = self.options['sender']
         msg['To'] = self.options['recipient']

(That is needed because *TemporaryFile classes use binary mode by default).

After applying it, apport-cli just silently exits, but that's probably
another bug. If the fix works for you, let me know, and I'll submit it
upstream.

--
Dmitry Shachnev


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to