Message237850
File "/usr/lib/python2.7/warnings.py", line 29, in _show_warning
file.write(formatwarning(message, category, filename, lineno, line))
File "/usr/lib/python2.7/warnings.py", line 38, in formatwarning
s = "%s:%s: %s: %s\n" % (filename, lineno, category.__name__, message)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 42: ordinal not in range(128)
Only thing required to make this work is add "u" in front of the message so it is unicode. This will work for all ascii characters and all non-ascii should pass unicode anyway. |
|
Date |
User |
Action |
Args |
2015-03-11 08:35:04 | Lukáš.Němec | set | recipients:
+ Lukáš.Němec |
2015-03-11 08:35:04 | Lukáš.Němec | set | messageid: <1426062904.63.0.0951614232281.issue23637@psf.upfronthosting.co.za> |
2015-03-11 08:35:04 | Lukáš.Němec | link | issue23637 messages |
2015-03-11 08:35:04 | Lukáš.Němec | create | |
|