Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Using RHEL 6.5, if you install and operate a moderated mailing list via the Web interface using mailman, mailman will crash when the moderator selects and approves a message for the mailing list.
Call stack on crash will look like the following:
> admin(20706): Traceback (most recent call last):
> admin(20706): File "/usr/lib/mailman/scripts/driver", line 112, in
> run_main
> admin(20706): main()
> admin(20706): File "/usr/lib/mailman/Mailman/Cgi/admindb.py", line 165,
> in main
> admin(20706): process_form(mlist, doc, cgidata)
> admin(20706): File "/usr/lib/mailman/Mailman/Cgi/admindb.py", line 716,
> in process_form
> admin(20706): forward, forwardaddr)
> admin(20706): File "/usr/lib/mailman/Mailman/ListAdmin.py", line 167, in
> HandleRequest
> admin(20706): forward, addr)
> admin(20706): File "/usr/lib/mailman/Mailman/ListAdmin.py", line 254, in
> __handlepost
> admin(20706): g(msg, 1)
> admin(20706): AttributeError: Generator instance has no __call__ method
Version-Release number of selected component (if applicable):
mailman.x86_64, 3:2.1.12-18.el6
Mark Sapiro points out on the mailman mailing list that there is an incompatibility between Python 2.6 and mailman 2.1.12. He also references
a patch that causes this problem to go away:
https://mail.python.org/pipermail/mailman-users/2013-December/075829.html
Mailman appears to work correctly upon install, but you can't actually moderate any messages with the current RHEL6 version shipping.
Comment 9Pavel Šimerda (pavlix)
2016-07-20 10:09:31 UTC
(In reply to John Byrd from comment #0)
> Description of problem:
>
> Using RHEL 6.5, if you install and operate a moderated mailing list via the
> Web interface using mailman, mailman will crash when the moderator selects
> and approves a message for the mailing list.
>
> Call stack on crash will look like the following:
>
> > admin(20706): Traceback (most recent call last):
> > admin(20706): File "/usr/lib/mailman/scripts/driver", line 112, in
> > run_main
> > admin(20706): main()
> > admin(20706): File "/usr/lib/mailman/Mailman/Cgi/admindb.py", line 165,
> > in main
> > admin(20706): process_form(mlist, doc, cgidata)
> > admin(20706): File "/usr/lib/mailman/Mailman/Cgi/admindb.py", line 716,
> > in process_form
> > admin(20706): forward, forwardaddr)
> > admin(20706): File "/usr/lib/mailman/Mailman/ListAdmin.py", line 167, in
> > HandleRequest
> > admin(20706): forward, addr)
> > admin(20706): File "/usr/lib/mailman/Mailman/ListAdmin.py", line 254, in
> > __handlepost
> > admin(20706): g(msg, 1)
> > admin(20706): AttributeError: Generator instance has no __call__ method
>
> Version-Release number of selected component (if applicable):
>
> mailman.x86_64, 3:2.1.12-18.el6
>
> Mark Sapiro points out on the mailman mailing list that there is an
> incompatibility between Python 2.6 and mailman 2.1.12. He also references
> a patch that causes this problem to go away:
>
> https://mail.python.org/pipermail/mailman-users/2013-December/075829.html
>
> Mailman appears to work correctly upon install, but you can't actually
> moderate any messages with the current RHEL6 version shipping.
This patch has apparently been already applied. I'm looking at the source file in mailman-2.1.12-25.el6.x86_64. Please reopen or file a new bug report if you still have issues with the latest version.