[Mailman-Users] Python 2.2 and mailman > 2.1.9
Sebastian Hagedorn
Hagedorn at uni-koeln.de
Wed Jan 14 16:50:59 CET 2009
Hi,
on our production server we (still) run Red Hat Enterprise Linux 3. The
most recent version of Python there is Python 2.2.3. Currently we run
Mailman 2.1.9. I've built an RPM for Mailman 2.1.11 that we were planning
on installing soon. However, we installed it on a test system and found
this issue:
Jan 14 16:10:28 2009 (3972) Uncaught runner exception: No module named sets
Jan 14 16:10:28 2009 (3972) Traceback (most recent call last):
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop
self._onefile(msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 191, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in
_dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 150, in
_dopipeline
__import__(modname)
File "/usr/lib/mailman/Mailman/Handlers/CalcRecips.py", line 41, in ?
from sets import Set as set
ImportError: No module named sets
The relevant source is this:
# Use set for sibling list recipient calculation
try:
set
except NameError: # Python2.3
from sets import Set as set
It seems as though Python >= 2.4 has "set", Python 2.3 has "Set" as an
import, but Python 2.2 has neither. The sibling feature was introduced with
Mailman 2.1.10, so I guess that version would have the same issue. I don't
recall having read anything about that. Does nobody else use such an old
Python version?
Anyway, is there a workaround for 2.2 or do we have to either install a
separate Python or upgrade to RHEL 5 if we want to update Mailman? I know
that Mailman 2.1.12 will require Python 2.4, but I had been hoping for one
last update that supports 2.2 ...
Thanks, Sebastian
--
Sebastian Hagedorn - Listmaster - RZKR-R1 (Gebäude 52), Zimmer 18
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/mailman-users/attachments/20090114/6bd77f0c/attachment.pgp>
More information about the Mailman-Users
mailing list