[Mailman-Developers] Uncaught runner exception: 'generator' object has no attribute 'insert'

Pavel Chytil pchytil@ece.ogi.edu
Tue, 27 Nov 2001 11:22:37 -0800


I have the same problem like before. I am trying to gate my list with news.
Posting to news does not work and gives following error:

Nov 27 11:12:30 2001 (18296) Uncaught runner exception: len() of unsized object
Nov 27 11:12:30 2001 (18296) Traceback (most recent call last):
  File "/work/mailman/Mailman/Queue/Runner.py", line 104, in __oneloop
    self.__onefile(msg, msgdata)
  File "/work/mailman/Mailman/Queue/Runner.py", line 152, in __onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/work/mailman/Mailman/Queue/NewsRunner.py", line 56, in _dispose
    prepare_message(mlist, msg, msgdata)
  File "/work/mailman/Mailman/Queue/NewsRunner.py", line 126, in prepare_message
    count = len(email.Iterators.body_line_iterator(msg))
TypeError: len() of unsized object

gating from news to list works fine, though. I am suspecting very similar
problem as before.

Thanks,
	Pavel