Failed to create mailing list : List creation command failed

Receiving the following error when trying to setup a mailing list.

Failed to create mailing list : List creation command failed :

Traceback (most recent call last):
  File "/usr/lib/mailman/bin/newlist", line 100, in ?
    from Mailman import MailList
  File "/usr/lib/mailman/Mailman/MailList.py", line 60, in ?
    from Mailman.TopicMgr import TopicMgr
ImportError: cannot import name TopicMgr

Thanks!
Craig

Status: 
Active

Comments

Hi Craig -- what Mailman version do you have on your system? You can determine that by logging in as root over SSH, and typing this command: rpm -qa | grep mailman

[root@id1002 ~]# rpm -qa | grep mailman
mailman-2.1.9-4.el5
wbm-virtualmin-mailman-5.9-1

Hrm... something's definitely awry, as you certainly shouldn't get errors like that... but I'm not quite sure what the problem is :-)

Here's two other things to try --

  1. What do you get if you run: rpm --verify mailman

  2. What is the output of: rpm -qa | grep python

[root@id1002 ~]# rpm --verify mailman
.....U.T    /usr/lib/mailman/Mailman/Gui/GUIBase.pyc
.....U.T    /usr/lib/mailman/Mailman/Logging/StampedLogger.pyc
.....U.T    /usr/lib/mailman/Mailman/Queue/Switchboard.pyc
S.5..U.T    /usr/lib/mailman/Mailman/TopicMgr.pyc
.M...U.T    /usr/lib/mailman/pythonlib/email/MIMEBase.pyc
.M...U.T    /usr/lib/mailman/pythonlib/email/_compat22.pyc
.M...U.T    /usr/lib/mailman/pythonlib/korean/hangul.pyc
.M...U.T    /usr/lib/mailman/pythonlib/korean/mappings/__init__.pyc
.M...U.T    /usr/lib/mailman/pythonlib/korean/mappings/ksc5601_hangul.pyc
.M...U.T    /usr/lib/mailman/pythonlib/korean/mappings/uhc.pyc
missing     /usr/lib/mailman/pythonlib/korean/python/hangul.pyc
.M...U.T    /usr/lib/mailman/pythonlib/korean/python/johab.pyc
missing     /var/log/mailman
[root@id1002 ~]# rpm -qa | grep python
python-sqlite-1.1.7-1.2.1
python-urlgrabber-3.1.0-5.el5
mod_python-3.2.8-3.1
audit-libs-python-1.7.17-3.el5
python-elementtree-1.2.6-5
python-2.4.3-27.el5
libxml2-python-2.6.26-2.1.2.8
libselinux-python-1.33.4-5.5.el5
python-iniparse-0.2.3-4.el5
rpm-python-4.4.2.3-18.el5

It looks like some of your Mailman files were changed since the package was originally installed.

Any idea what might have changed it? As those files shouldn't normally change.

However, my suggestion for fixing it would be to reinstall Mailman. You can do that by running this command:

yum reinstall mailman

That seems to have fixed it! I have no idea how those files could have changed - we haven't done anything w/ mailman on this server.... Thanks for the guidance! -- Craig