[Mailman-Users] TypeError: iterable argument required

Bobbejaan van Elst Bobby at Life-eXtreme.com
Mon May 12 17:39:45 CEST 2003


I see this in the error log:

=======
May 12 14:58:03 2003 (28608) Traceback (most recent call last):
   File "/usr/local/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop
     self._onefile(msg, msgdata)
   File "/usr/local/mailman/Mailman/Queue/Runner.py", line 155, in _onefile
     keepqueued = self._dispose(mlist, msg, msgdata)
   File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 130, in 
_dispose
     more = self._dopipeline(mlist, msg, msgdata, pipeline)
   File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 153, in 
_dopipeline
     sys.modules[modname].process(mlist, msg, msgdata)
   File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 89, in process
     send_digests(mlist, mboxfp)
   File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 130, in 
send_digests
     send_i18n_digests(mlist, mboxfp)
   File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 303, in 
send_i18n_digests
     msg = scrubber(mlist, msg)
   File "/usr/local/mailman/Mailman/Handlers/Scrubber.py", line 257, in process
     url = save_attachment(mlist, part, dir)
   File "/usr/local/mailman/Mailman/Handlers/Scrubber.py", line 349, in 
save_attachment
     ext = guess_extension(ctype, fnext)
   File "/usr/local/mailman/Mailman/Handlers/Scrubber.py", line 80, in 
guess_extension
     if ext in all:
TypeError: iterable argument required

May 12 14:58:03 2003 (28608) SHUNTING: 
1052743802.603521+45af8789227af751dcfde9e3ef539c543cf7590e
===============

I've updated  python to version 2.2.2-7 still the same problemen...


At 12:25 5/12/2003 +0200, Bobbejaan van Elst wrote:

>Hi,
>
>I've a question, I get the following error below when i send a mail to 1 
>of my mailing lists... I get this error since a couple of days. Before 
>yesterday it all works fine..
>
>I have re-installed mailman, after that it worked a couple of times, now I 
>get the error again :(
>
>Someone a idea?
>
>Greets,
>
>Bobbejaan
>
>>Subject: Mailman post from root at the-mask.net requires approval
>>From: mailman-owner at the-mask.net
>>To: mailman-owner at the-mask.net
>>Date: Mon, 12 May 2003 12:00:09 +0200
>>X-BeenThere: mailman at the-mask.net
>>X-Mailman-Version: 2.1.2
>>List-Id: <mailman.the-mask.net>
>>X-MailScanner: Found to be clean, Found to be clean
>>Sender: mailman-bounces at the-mask.net
>>
>>As list administrator, your authorization is requested for the
>>following mailing list posting:
>>
>>     List:    Mailman at the-mask.net
>>     From:    root at the-mask.net
>>     Subject: Cron <mailman at the-mask> /usr/local/bin/python -S 
>> /usr/local/mailman/cron/senddigests
>>     Reason:  Post by non-member to a members-only list
>>
>>At your convenience, visit:
>>
>>     http://the-mask.net/mailman/admindb/mailman
>>
>>to approve or deny the request.
>>Received: from the-mask.net (localhost.localdomain [127.0.0.1])
>>         by the-mask.net (8.12.8/8.12.8) with ESMTP id h4CA05sG012385
>>         for <mailman at the-mask.net>; Mon, 12 May 2003 12:00:05 +0200
>>Received: (from mailman at localhost)
>>         by the-mask.net (8.12.8/8.12.1/Submit) id h4CA05KZ012383
>>         for mailman; Mon, 12 May 2003 12:00:05 +0200
>>Date: Mon, 12 May 2003 12:00:05 +0200
>>Message-Id: <200305121000.h4CA05KZ012383 at the-mask.net>
>>From: root at the-mask.net (Cron Daemon)
>>To: mailman at the-mask.net
>>Subject: Cron <mailman at the-mask> /usr/local/bin/python -S
>>         /usr/local/mailman/cron/senddigests
>>X-Cron-Env: <SHELL=/bin/sh>
>>X-Cron-Env: <HOME=/home/mailman>
>>X-Cron-Env: <PATH=/usr/bin:/bin>
>>X-Cron-Env: <LOGNAME=mailman>
>>X-MailScanner: Found to be clean
>>
>>Traceback (most recent call last):
>>   File "/usr/local/mailman/cron/senddigests", line 94, in ?
>>     main()
>>   File "/usr/local/mailman/cron/senddigests", line 86, in main
>>     mlist.send_digest_now()
>>   File "/usr/local/mailman/Mailman/Digester.py", line 60, in send_digest_now
>>     ToDigest.send_digests(self, mboxfp)
>>   File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 130, in 
>> send_digests
>>     send_i18n_digests(mlist, mboxfp)
>>   File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 303, in 
>> send_i18n_digests
>>     msg = scrubber(mlist, msg)
>>   File "/usr/local/mailman/Mailman/Handlers/Scrubber.py", line 257, in 
>> process
>>     url = save_attachment(mlist, part, dir)
>>   File "/usr/local/mailman/Mailman/Handlers/Scrubber.py", line 349, in 
>> save_attachment
>>     ext = guess_extension(ctype, fnext)
>>   File "/usr/local/mailman/Mailman/Handlers/Scrubber.py", line 80, in 
>> guess_extension
>>     if ext in all:
>>TypeError: iterable argument required
>>Content-Type: text/plain; charset="us-ascii"
>>MIME-Version: 1.0
>>Content-Transfer-Encoding: 7bit
>>Subject: confirm 2ff993ed3639ab59de7067399f1229ef4fdbb327
>>Sender: mailman-request at the-mask.net
>>From: mailman-request at the-mask.net
>>
>>If you reply to this message, keeping the Subject: header intact,
>>Mailman will discard the held message.  Do this if the message is
>>spam.  If you reply to this message and include an Approved: header
>>with the list password in it, the message will be approved for posting
>>to the list.  The Approved: header can also appear in the first line
>>of the body of the reply.
>
>
>Met vriendelijke groet,
>
>      Bobbejaan van Elst
>http://www.Life-eXtreme.com
>   http://www.the-mask.net
>------------------------------------------------------
>Mailman-Users mailing list
>Mailman-Users at python.org
>http://mail.python.org/mailman/listinfo/mailman-users
>Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
>Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
>
>This message was sent to: bobby at life-extreme.com
>Unsubscribe or change your options at
>http://mail.python.org/mailman/options/mailman-users/bobby%40life-extreme.com


Met vriendelijke groet,

            Bobbejaan van Elst
     http://www.Life-eXtreme.com
        http://www.the-mask.net



More information about the Mailman-Users mailing list