Mailman 2.1.15 found a bug

Bug #1974478 reported by Lin Hu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
New
Undecided
Unassigned

Bug Description

SYSTEM INFORMATION
OS type and version centos7
Webmin version 1.991
Virtualmin version 7.0Pro
Related packages SUGGESTED

when i create a masterlist an will login to it:
admin(6040): [----- Mailman Version: 2.1.15 -----]
admin(6040): [----- Traceback ------]
admin(6040): Traceback (most recent call last):
admin(6040): File “/usr/lib/mailman/scripts/driver”, line 112, in run_main
admin(6040): main()
admin(6040): File “/usr/lib/mailman/Mailman/Cgi/admin.py”, line 92, in main
admin(6040): params = cgidata.keys()
admin(6040): File “/usr/lib64/python2.7/cgi.py”, line 582, in keys
admin(6040): raise TypeError, “not indexable”
admin(6040): TypeError: not indexable
admin(6040): [----- Python Information -----]

when i create a new master list

Revision history for this message
Mark Sapiro (msapiro) wrote :

What is the full Python version? I.e., 2.7.what?

By 'master list' do you mean the 'mailman' list?

How did you create the list?

Does the above error occur upon initially getting the https://www.example.com/mailman/admin/mailman/ page or upon submitting the page with a password?

Revision history for this message
Lin Hu (linajna) wrote :

Hi its Python 2.7.5, yes i meen the masterlist, i create the list via the virtualmin mailman modul.
The https://www.example.com/mailman/admin/mailman/ is not working its
domain:10000/virtualmin-mailman/admin.cgi/mailman

Revision history for this message
Mark Sapiro (msapiro) wrote :

I think this is a Virtualmin issue. Have you tried getting help from Virtualmin?

Revision history for this message
Lin Hu (linajna) wrote :

yes they write its a mailman issue :-)

Revision history for this message
Mark Sapiro (msapiro) wrote (last edit ):

In the traceback you posted, the exception is raised by cgidata.keys() and is saying that cgidata has no list of keys, not even an empty list. cgidata is the result of cgi.FieldStorage(keep_blank_values=1) where cgi is the Python cgi module.

I think this is the result of the web browser or web server posting the data with a bad Content-Type. Current Mailman (2.1.15 is almost 10 years old) and this issue is a duplicate of https://bugs.launchpad.net/mailman/+bug/1602608 which see, particularly https://bugs.launchpad.net/mailman/+bug/1602608/comments/4

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.