Re: Hold.py fails in hold_for_approval
Mark Sapiro <mark <at> msapiro.net>
2010-10-01 05:04:18 GMT
Morris Jones wrote:
>I recently discovered that all of my moderated posts have been failing,
>most likely because my mailman version was older than my python version.
>
>This is the error:
>
>Sep 29 20:52:12 2010 (5588) Uncaught runner exception: unbound method
>reason_notice() must be called with ModeratedMemberPost instance as
>first argument (got nothing instead)
>Sep 29 20:52:12 2010 (5588) Traceback (most recent call last):
> File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
> filebase)
> File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 169, in _onefile
> 'Dequeuing message destined for missing list: %s',
> File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in
>_dispose
> more = self._dopipeline(mlist, msg, msgdata, pipeline)
> File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in
>_dopipeline
> sys.modules[modname].process(mlist, msg, msgdata)
> File "/usr/lib/mailman/Mailman/Handlers/Moderate.py", line 67, in process
> msgdata['sender'] = sender
Something is really wrong with this traceback. The above line actually
is line 67 in Mailman/Handlers/Moderate.py in all Mailman versions
since 2.1.9, but the actual lines that were executed here must have
been
Hold.hold_for_approval(mlist, msg, msgdata,
(Continue reading)