Fw: [Mailman-Developers] 2.1b1 "bad character range" error
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 ----- 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
I'm seeing quite a few of these in my 2.1b1 logs. Any idea what might be causing them?
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 = self._dispose(mlist, msg, msgdata) File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 111, in _dispose status = 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 = 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
"SKM" == Sarah K Miller <techgrrl@beeze.com> writes:
SKM> I discovered that this error is caused when there is a dash
SKM> (-) entered in the Regexp for the topic keywords. Remove the
SKM> dash, end of error.
Probably depends on where the dash is. Can you show me the exact regexp you entered?
Also, note that Python's regexp syntax is described here:
http://www.python.org/doc/current/lib/re-syntax.html
-Barry
participants (2)
-
barry@zope.com
-
Sarah K. Miller