UnicodeError running arch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Released
|
High
|
Tokio Kikuchi |
Bug Description
I just deployed the latest release (2.1.7 stable) and
decided to rebuild an archive. I'm getting the
following error trace caused by it hitting high-order
byte characters. These were not a problem when I first
built the archive from 2.1.6 so something may have changed.
Pickling archive state into
/usr/local/
Traceback (most recent call last):
File "bin/arch", line 200, in ?
main()
File "bin/arch", line 188, in main
archiver.
File
"/usr/local/
line 585, in processUnixMailbox
self.
File
"/usr/local/
line 626, in add_article
filename))
File
"/usr/local/
line 1116, in write_article
f.write(
File
"/usr/local/
line 579, in as_text
'\g<1>' + _(' at ') + '\g<2>', body)
File "/usr/lib/
return _compile(pattern, 0).sub(repl, string, count)
UnicodeError: ASCII decoding error: ordinal not in
range(128)
[http://
I also observed this problem. It will be properly fixed. In
the mean time, I have attached a patch - HyperArch.patch -
which will allow you to rebuild the full archive. The patch
is not a real fix for the problem however, as the problem
messages will not have email addresses obscured in the body
of the message in the monthly .txt files. The HTML archive
will be OK.