[Mailman-Users] Problems with digests
Hans-Juergen Beie
hjb at pollux.franken.de
Wed Sep 13 21:43:06 CEST 2006
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 >----------------
hjb at mail:~$ 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'
>>>
hjb at mail:~$ cd /usr/lib/mailman/cron
hjb at mail:/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 :-?
More information about the Mailman-Users
mailing list