Hi, Am Mi, 13.09.2006, 14:45, schrieb Tokio Kikuchi: >> 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'
Here is my output: -----> cut here >---------------- [EMAIL PROTECTED]:~$ python Python 2.4.4c0 (#2, Jul 30 2006, 15:43:58) [GCC 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import email >>> email.__version__ '3.0.2' >>> [EMAIL PROTECTED]:~$ cd /usr/lib/mailman/cron [EMAIL PROTECTED]:/usr/lib/mailman/cron$ python Python 2.4.4c0 (#2, Jul 30 2006, 15:43:58) [GCC 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import paths >>> import email >>> email.__version__ '3.0.2' >>> -----< cut here <---------------- > 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. I see. How can I fix that? hjb :-? ------------------------------------------------------ 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