The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mailman 2.1.5 requires latest Python!

Discussion in 'E-mail Discussions' started by H2Hosting.com, Apr 15, 2005.

  1. H2Hosting.com

    H2Hosting.com Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    If you find anything wrong in /usr/local/cpanel/3rdparty/mailman/logs/error, check your Python version! If it is 2.1.1, Mailman will not work correctly!

    My problem - when a customer send email to his mailing list ... nothing is happening.
    Error is following:
    ---------------------------------------------------------------------------------
    Apr 08 08:41:40 2005 (2324) SHUNTING: 1112971298.634939+9b248829dbc8b4d256c0f0c67ea8cb27dc7aded6
    Apr 08 08:52:12 2005 (2324) Uncaught runner exception: global name 'True' is not defined
    Apr 08 08:52:12 2005 (2324) Traceback (most recent call last):
    File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
    self._onefile(msg, msgdata)
    File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line 167, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
    File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
    more = self._dopipeline(mlist, msg, msgdata, pipeline)
    File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
    sys.modules[modname].process(mlist, msg, msgdata)
    File "/usr/local/cpanel/3rdparty/mailman/Mailman/Handlers/Moderate.py", line 109, in process
    Hold.hold_for_approval(mlist, msg, msgdata, Hold.NonMemberPost)
    File "/usr/local/cpanel/3rdparty/mailman/Mailman/Handlers/Hold.py", line 214, in hold_for_approval
    id = mlist.HoldMessage(msg, reason, msgdata)
    File "/usr/local/cpanel/3rdparty/mailman/Mailman/ListAdmin.py", line 180, in HoldMessage
    id = self.__nextid()
    File "/usr/local/cpanel/3rdparty/mailman/Mailman/ListAdmin.py", line 113, in __nextid
    while True:
    NameError: global name 'True' is not defined
    ---------------------------------------------------------------------------------

    1) So, the question - can I upgrade Python manually or Cpanel team fix this problem?
    What do you think?

    2) What is a reason to support Mailman on Cpanel if Mailman does not work???

    3) http://bugzilla.cpanel.net/show_bug.cgi?id=2333
     
    #1 H2Hosting.com, Apr 15, 2005
    Last edited: Apr 15, 2005
  2. Sinewy

    Sinewy Well-Known Member

    Joined:
    May 15, 2004
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney, Australia
    cPanel Access Level:
    DataCenter Provider
    What OS are you running? Python 2.1.1 is by far VERY old.

    Oldest I have seen still floating around is the RHEL 3 / CentOS 3 one which is 2.2.3.
     
  3. H2Hosting.com

    H2Hosting.com Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    16
    Actually, the problem is fixed by installing new (latest) Python from sources

    ;)
     
Loading...

Share This Page