Bug 144675 - mailman's "cleanarch" does not work
Summary: mailman's "cleanarch" does not work
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Network (show other bugs)
Version: Final
Hardware: x86 SuSE Linux 10.0
: P5 - None : Normal
Target Milestone: ---
Assignee: Heiko Rommel
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-22 19:49 UTC by Bastian Friedrich
Modified: 2006-01-25 14:42 UTC (History)
0 users

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bastian Friedrich 2006-01-22 19:49:53 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
Comment 1 Bastian Friedrich 2006-01-22 21:25:52 UTC
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]+')
Comment 2 Heiko Rommel 2006-01-23 14:35:39 UTC
I concurr.
This goes back to 2.1.4.

Preparing updates for SLES9 and STABLE.
Queueing updates for 9.2/9.3/10.0.
Comment 3 Heiko Rommel 2006-01-25 14:42:46 UTC
Done.