encoding error when parsing email

Daniel Axtens dja at axtens.net
Fri Sep 16 08:33:54 AEST 2016

Hi Thomas,

> Sometimes we receive some patches with a strange character in
> a header "Received:" so the patch is not parsed in patchwork.
> I have not yet investigated where the script is failing,
> but I just want to ask first if there is a work in progress
> about this issue?
> And could it be fixed by removing "Received:" lines from the email?
Python 2 or Python 3? I know about Py3 parsing issues, but not about any
Py2 ones.

Also, I'm collecting a set of these sorts of 'interesting' emails to
integrate into the tests. If you could forward me a copy that would be
very much appreciated. I don't know if it's a public mail - if not, feel
free to redact anything sensitive. As long as it's still a valid
email and still makes patchwork fail, it's helpful.


More information about the Patchwork mailing list