[Mailman-Developers] Uncaught runner exception: 'generator' object has no attribute 'insert'
Pavel Chytil
pchytil@ece.ogi.edu
Mon, 26 Nov 2001 16:47:10 -0800
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 =3D self._dispose(mlist, msg, msgdata)
File "/work/mailman/Mailman/Queue/CommandRunner.py", line 61, in _dispo=
se
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 <dmick@utopia.West.Sun.COM>:
> The version that comes with mailman is 0.96; maybe 1.0 doesn't
> yet work with Mailman?...
>=20
> > Sure I did.
> >=20
> > asp pts/25%
> > python =
=20
> =20
> ~
> > 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'
> > >>>
> >=20
> > Pavel
> >=20
> >=20
> > Cituji z emailu od Dan Mick <dmick@utopia.West.Sun.COM>:
> >=20
> > > With 2.1 you have to install the 'email' package, which is included=
, as
> the
> > > instructions with 2.1 say to do. Did you?
> > >=20
> > > Pavel Chytil wrote:
> > > >=20
> > > > Hello,
> > > >=20
> > > > 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
> > > > mailman-request@asp.ogi.edu with word help in Subject line (I hav=
e
> tried
> > > also
> > > > word help in body of message without any luck).
> > > >=20
> > > > Nov 25 16:24:47 2001 (11789) Uncaught runner exception: 'generato=
r'
> 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 =3D self._dispose(mlist, msg, msgdata)
> > > > File "/work/mailman/Mailman/Queue/CommandRunner.py", line 61, i=
n
> > > _dispose
> > > > mlist.ParseMailCommands(msg, msgdata)
> > > > File "/work/mailman/Mailman/MailCommandHandler.py", line 198, i=
n
> > > > ParseMailCommands
> > > > lines.insert(0, SPACE.join(subjcmd))
> > > > AttributeError: 'generator' object has no attribute 'insert'
> > > >=20
> > > > What am I doing wrong?
> > > >=20
> > > > Thanks,
> > > > Pavel
> > > >=20
> > > > _______________________________________________
> > > > Mailman-Developers mailing list
> > > > Mailman-Developers@python.org
> > > > http://mail.python.org/mailman/listinfo/mailman-developers
> > >=20
> >=20
> >=20
> >=20
> > _______________________________________________
> > Mailman-Developers mailing list
> > Mailman-Developers@python.org
> > http://mail.python.org/mailman/listinfo/mailman-developers
>=20
----- Konec p=F8eposlan=E9 zpr=E1vy -----