Roundup Tracker - Issues

Issue 2550740

classification
Title: Can't post message because of email encoding error
Type: crash Severity: normal
Components: Web interface, Mail interface Versions: 1.4
process
Status: new Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: rouilj, tbsmark86
Priority: Keywords: patch

Created on 2012-01-26 13:04 by tbsmark86, last changed 2013-06-09 02:43 by rouilj.

Files
File name Uploaded Description Edit Remove
quick_fix.diff tbsmark86, 2012-01-26 13:04
Messages
msg4489 Author: [hidden] (tbsmark86) Date: 2012-01-26 13:04
If the selected EMAIL_CHARSET does not support the encoding for some of
the message characters the user get a hard to understand error:

Edit Error: 'latin-1' codec can't encode character u'\u20ac' in position
57: ordinal not in range(256)

For my need the attached quick-fix solves this Problem, but maybe a more
secure Handling is possible.


In addition I noticed that the msgXXX.tmp files for the failed messages
are not deleted and stay around forever. The code has a rollback()
function but I can't find any place where its called.
msg4904 Author: [hidden] (rouilj) Date: 2013-06-09 02:43
see also issue2550540 for another email encoding issue. It may be the
same underlying issue.
History
Date User Action Args
2013-06-09 02:43:27rouiljsetnosy: + rouilj
messages: + msg4904
2012-01-26 13:04:02tbsmark86create