[Mailman-Users] get_content_type() takes exactly 1 argument (2 given)

Darragh Gammell dbgsystems2 at gmail.com
Thu Feb 21 07:08:08 CET 2008


 Hi

I keep seeing this error in my mailman error logs.
I've tried googling it for reasons but to no avail.

Anyone seen it before/have a reason.

Feb 21 17:03:21 2008 (16810) SHUNTING:
1176744092.7541261+83406355fa8fca831709ca6993e45b1b8763a180
Feb 21 17:03:25 2008 (16810) Uncaught runner exception: get_content_type()
takes exactly 1 argument (2 given)
Feb 21 17:03:25 2008 (16810) Traceback (most recent call last):
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 167, 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/ToDigest.py", line 91, in process
    send_digests(mlist, mboxfp)
  File "/usr/lib/mailman/Mailman/Handlers/ToDigest.py", line 132, in
send_digests
    send_i18n_digests(mlist, mboxfp)
  File "/usr/lib/mailman/Mailman/Handlers/ToDigest.py", line 306, in
send_i18n_digests
    msg = scrubber(mlist, msg)
  File "/var/lib/mailman/Mailman/Handlers/Scrubber.py", line 177, in process
    if ctype == 'text/plain':
TypeError: get_content_type() takes exactly 1 argument (2 given)

Feb 21 17:03:25 2008 (16810) SHUNTING:
1176751776.884974+121ed930b09df2e15bc8390b3ab74317a382467c

Thanks in advance

Darragh


More information about the Mailman-Users mailing list