Dunno; lines is a result of email.Iterators.body_line_iterator, which looks to me like it should be returning an array of strings, which certainly *does* have an insert() command... so I don't know what's going wrong.
> Well I have reinstall mailman with email 0.96 in my python and outcome is the > same: > > Nov 26 16:42:33 2001 (4495) Uncaught runner exception: 'generator' object has no > attribute 'insert' > Nov 26 16:42:33 2001 (4495) 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/CommandRunner.py", line 61, in _dispose > mlist.ParseMailCommands(msg, msgdata) > File "/work/mailman/Mailman/MailCommandHandler.py", line 198, in > ParseMailCommands > lines.insert(0, SPACE.join(subjcmd)) > AttributeError: 'generator' object has no attribute 'insert' > > Pavel > > Cituji z emailu od Dan Mick <[EMAIL PROTECTED]>: > > > The version that comes with mailman is 0.96; maybe 1.0 doesn't > > yet work with Mailman?... > > > > > Sure I did. > > > > > > asp pts/25% > > > python > > > > ~ > > > Python 2.2b2 (#1, Nov 19 2001, 20:23:17) > > > [GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-98)] on linux2 > > > Type "help", "copyright", "credits" or "license" for more information. > > > >>> import email > > > >>> email.__version__ > > > '1.0' > > > >>> > > > > > > Pavel > > > > > > > > > Cituji z emailu od Dan Mick <[EMAIL PROTECTED]>: > > > > > > > With 2.1 you have to install the 'email' package, which is included, as > > the > > > > instructions with 2.1 say to do. Did you? > > > > > > > > Pavel Chytil wrote: > > > > > > > > > > Hello, > > > > > > > > > > I am new to mailman, so bear with me. I have downloaded mailman-2.0.7 > > > > which > > > > > works fine, than I have tried mailman 2.1 (also from cvs), and > > getting > > > > error > > > > > message below in error log whenever I try to send email to > > > > > [EMAIL PROTECTED] with word help in Subject line (I have > > tried > > > > also > > > > > word help in body of message without any luck). > > > > > > > > > > Nov 25 16:24:47 2001 (11789) Uncaught runner exception: 'generator' > > object > > > > has > > > > > no attribute 'insert' > > > > > Nov 25 16:24:47 2001 (11789) 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/CommandRunner.py", line 61, in > > > > _dispose > > > > > mlist.ParseMailCommands(msg, msgdata) > > > > > File "/work/mailman/Mailman/MailCommandHandler.py", line 198, in > > > > > ParseMailCommands > > > > > lines.insert(0, SPACE.join(subjcmd)) > > > > > AttributeError: 'generator' object has no attribute 'insert' > > > > > > > > > > What am I doing wrong? > > > > > > > > > > Thanks, > > > > > Pavel > > > > > > > > > > _______________________________________________ > > > > > Mailman-Developers mailing list > > > > > [EMAIL PROTECTED] > > > > > http://mail.python.org/mailman/listinfo/mailman-developers > > > > > > > > > > > > > > > > _______________________________________________ > > > Mailman-Developers mailing list > > > [EMAIL PROTECTED] > > > http://mail.python.org/mailman/listinfo/mailman-developers > > > > > > _______________________________________________ > Mailman-Developers mailing list > [EMAIL PROTECTED] > http://mail.python.org/mailman/listinfo/mailman-developers _______________________________________________ Mailman-Developers mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-developers
