Tokio Kikuchi wrote: >> In short: >> Replace the first line in /usr/lib/mailman/cron/senddigests >> # ! /usr/bin/python >> by >> #! /usr/bin/python2.3 >> if you have a Python2.3 installed. >> >> As this problem appeared here (debian/etch, Mailman 2.1.8-2) after >> upgrading Python 2.3 to 2.4 this seems to be reasonable. >> > > Hi, I want to clarify the situation. Is this specific to debian? > > Can you try these and check the email version? > > $ python > Python 2.4.3 ... > >>> import email > >>> email.__version__ > '3.0.1' > >>> ^D > $ cd <prefix>/cron > $ python > Python 2.4.3 ... > >>> import paths > >>> import email > >>> email.__version__ > '2.5.7' > > The email-3.0.x in Python 2.4 is not suitable for mailman. Mailman > 2.1.8(or 9) works best with the email-2.5.7(or 8) which is the bug fix > version of Python 2.3 library. > > # python Python 2.4.3 (#2, Apr 25 2006, 07:14:33) [GCC 3.4.4 [FreeBSD] 20050518] on freebsd6 Type "help", "copyright", "credits" or "license" for more information. >>> import email >>> email.__version__ '3.0.1' # cd /usr/local/mailman/cron/ # python Python 2.4.3 (#2, Apr 25 2006, 07:14:33) [GCC 3.4.4 [FreeBSD] 20050518] on freebsd6 Type "help", "copyright", "credits" or "license" for more information. >>> import paths >>> import email >>> email.__version__ '2.5.6' # uname -spr FreeBSD 6.1-STABLE i386
------------------------------------------------------ Mailman-Users mailing list Mailman-Users@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/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp