[Mailman-Users] NameError traceback

Greg Abbas greg at abbas.org
Wed Nov 29 20:26:59 CET 2000


I'm running 2.0rc3 and it's been working well, but then today I
encountered the following:

Traceback (most recent call last):
  File "/usr/local/mailman/cron/qrunner", line 85, in ?
    from Mailman import MailList
  File "/usr/local/mailman/Mailman/MailList.py", line 43, in ?
    from Mailman.MailCommandHandler import MailCommandHandler
  File "/usr/local/mailman/Mailman/MailCommandHandler.py", line 77, in ?

    quotecre = re.compile(r'["\'`](?P<cmd>.*)["\'`]')
  File "/usr/local/lib/python2.0/sre.py", line 62, in compile
    return _compile(pattern, flags)
  File "/usr/local/lib/python2.0/sre.py", line 100, in _compile
    p = sre_compile.compile(pattern, flags)
  File "/usr/local/lib/python2.0/sre_compile.py", line 359, in compile
    p = sre_parse.parse(p, flags)
  File "/usr/local/lib/python2.0/sre_parse.py", line 586, in parse
    p = _parse_sub(source, pattern, 0)
  File "/usr/local/lib/python2.0/sre_parse.py", line 294, in _parse_sub
    items.append(_parse(source, state))
  File "/usr/local/lib/python2.0/sre_parse.py", line 554, in _parse
    subpattern.append((SUBPATTERN, (group, p)))
NameError: There is no variable named 'SUBPATTERN'

I noticed that 2.0 is released, so I'm going to upgrade to that. I went
to sourceforge to figure out whether this bug has been reported & fixed,
but I couldn't find any "search" functionality in the sourceforge bug
tracker. What's the best thing to do when I find a problem like this?
Please cc: me on reply.

Thanks,
-g.

p.s. BTW thanks for a great program, Mailman rocks. Long live Python.

--
Greg Abbas
greg at abbas.org
http://www.abbas.org






More information about the Mailman-Users mailing list