Fw: [Mailman-Developers] 2.1b1 "bad character range" error

Sarah K. Miller techgrrl@beeze.com
Thu, 18 Apr 2002 15:17:50 -0700


I discovered that this error is caused when there is a dash (-) entered =
in the Regexp for the topic keywords. Remove the dash, end of error.


> ----- Original Message -----=20
> From: "Sarah K. Miller" <techgrrl@beeze.com>
> To: <mailman-developers@python.org>
> Sent: Tuesday, April 16, 2002 4:56 PM
> Subject: [Mailman-Developers] 2.1b1 "bad character range" error
>=20
>=20
> > I'm seeing quite a few of these in my 2.1b1 logs. Any idea what =
might be causing them?
> >=20
> > Apr 16 16:00:26 2002 (27714) Uncaught runner exception: bad =
character range
> > Apr 16 16:00:26 2002 (27714) Traceback (most recent call last):
> >   File "/usr/local/mailman/Mailman/Queue/Runner.py", line 103, in =
__oneloop
> >     self.__onefile(msg, msgdata)
> >   File "/usr/local/mailman/Mailman/Queue/Runner.py", line 153, in =
__onefile
> >     keepqueued =3D self._dispose(mlist, msg, msgdata)
> >   File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line =
111, in _dispose
> >     status =3D self._dopipeline(mlist, msg, msgdata, pipeline)
> >   File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line =
134, in _dopipeline
> >     sys.modules[modname].process(mlist, msg, msgdata)
> >   File "/usr/local/mailman/Mailman/Handlers/Tagger.py", line 54, in =
process
> >     cre =3D re.compile(pattern, re.IGNORECASE | re.VERBOSE)
> >   File "/usr/local/lib/python2.2/sre.py", line 178, in compile
> >     return _compile(pattern, flags)
> >   File "/usr/local/lib/python2.2/sre.py", line 228, in _compile
> >     raise error, v # invalid expression
> > error: bad character range