[Pkg-mailman-hackers] Bug#488584: Uncaught runner exception: matches_p() takes exactly 3 arguments (2 given)

Joey Hess joeyh at debian.org
Sun Jun 29 21:53:09 UTC 2008


Package: mailman
Version: 1:2.1.10-2
Severity: important

Jun 29 17:37:06 2008 (23141) Uncaught runner exception: matches_p() takes exactly 3 arguments (2 given)
Jun 29 17:37:06 2008 (23141) Traceback (most recent call last):
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 114, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 185, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  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/SpamAssassin.py", line 81, in process
    matches_p(sender, mlist.accept_these_nonmembers):
TypeError: matches_p() takes exactly 3 arguments (2 given)

Jun 29 17:37:06 2008 (23141) SHUNTING: 1214523696.2424431+80c08c3cdb5e94fb0d2199c9cf0873a9b077646f

The mails that trigger this seems to do it consistently, if I unshunt
them this just happens again. I think this is affecting _all_ my mailman mail.
Apparently since April 26th, which I notice would be when I installed
this version. Oops.

I tried commenting out the Spamassassin setting in mm_cfg.py and restarting
mailman to work around this. For some reason that didn't help.

Ended up modifying the code to not call matches_p, since I couldn't
immediatly see how to determine the listname parameter that it takes as
its third parameter.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.18-6-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mailman depends on:
ii  adduser                       3.108      add and remove users and groups
ii  apache2                       2.2.9-2    Apache HTTP Server metapackage
ii  apache2-mpm-worker [httpd]    2.2.9-2    Apache HTTP Server - high speed th
ii  cron                          3.0pl1-104 management of regular background p
ii  debconf [debconf-2.0]         1.5.22     Debian configuration management sy
ii  libc6                         2.7-12     GNU C Library: Shared libraries
ii  logrotate                     3.7.1-3    Log rotation utility
ii  lsb-base                      3.2-12     Linux Standard Base 3.2 init scrip
ii  postfix [mail-transport-agent 2.5.2-1    High-performance mail transport ag
ii  pwgen                         2.06-1     Automatic Password generation
ii  python                        2.5.2-1    An interactive high-level object-o
ii  python-support                0.8.3      automated rebuilding support for P
ii  ucf                           3.007      Update Configuration File: preserv

mailman recommends no packages.

-- debconf information excluded

-- 
see shy jo





More information about the Pkg-mailman-hackers mailing list