process-mail.py logging failing with Unicode errors

Bug #847823 reported by Gary Poster
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

From cron spam (Cron <launchpad@loganberry> LPCONFIG=inboundemail $LP_PY /srv/launchpad.net/production/launchpad/cronscripts/process-mail.py -q --log-file=INFO:/srv/launchpad.net/production-logs/process-mail.log):

Traceback (most recent call last):
 File "/usr/lib/python2.6/logging/__init__.py", line 791, in emit
   stream.write(fs % msg.encode("UTF-8"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0x90 in position 43: ordinal not in range(128)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.