Bugzilla – Bug 144675
mailman's "cleanarch" does not work
Last modified: 2006-01-25 14:42:46 UTC
Hi, mailman's "cleanarch" script does not work in SuSE 10 (9.3 also affected). The following bug is reported (independent of parameters): #:/usr/local/mailman/bin # ./cleanarch --help Traceback (most recent call last): File "./cleanarch", line 62, in ? fre = re.compile(r'[\041-\071\073-\0176]+') File "/usr/lib/python2.4/sre.py", line 180, in compile return _compile(pattern, flags) File "/usr/lib/python2.4/sre.py", line 227, in _compile raise error, v # invalid expression sre_constants.error: bad character range Looks like pyhton problem to me...? Script works fine on Debian 3.1 ;) Thx, Bastian
Not a python problem, but a mailman problem. Fix is in CVS already: --- test-mailman-2.1/bin/cleanarch 2005-08-26 19:40:16.000000000 -0700 +++ test-mailman/bin/cleanarch 2006-01-22 12:22:55.156250000 -0800 @@ -59,7 +60,7 @@ # From RFC 2822, a header field name must contain only characters from 33-126 # inclusive, excluding colon. I.e. from oct 41 to oct 176 less oct 072. Must # use re.match() so that it's anchored at the beginning of the line. -fre = re.compile(r'[\041-\071\073-\0176]+') +fre = re.compile(r'[\041-\071\073-\176]+')
I concurr. This goes back to 2.1.4. Preparing updates for SLES9 and STABLE. Queueing updates for 9.2/9.3/10.0.
Done.