Tend to pending moderator requests - Bug in Mailman version 2.1.18-1

Bug #1409292 reported by Jim Black
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Invalid
Undecided
Mark Sapiro

Bug Description

I get an error when trying to login to view pending moderator requests.

Error says

Bug in Mailman version 2.1.18-1 We're sorry, we hit a bug! Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly inhibited, but the webmaster can find this information in the Mailman error logs.

The trace is as follows - can you help with a solution?

admin(2117): [----- Mailman Version: 2.1.18-1 -----]
admin(2117): [----- Traceback ------]
admin(2117): Traceback (most recent call last):
admin(2117): File "/usr/local/cpanel/3rdparty/mailman/scripts/driver", line 117, in run_main
admin(2117): main()
admin(2117): File "/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/admindb.py", line 279, in main
admin(2117): num += show_helds_overview(mlist, form, ssort)
admin(2117): File "/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/admindb.py", line 550, in show_helds_overview
admin(2117): t.AddRow([Link(admindburl + '?msgid=%d' % id, '[%d]' % counter),
admin(2117): TypeError: %d format: a number is required, not str
admin(2117): [----- Python Information -----]
admin(2117): sys.version = 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
admin(2117): sys.executable = /usr/local/cpanel/3rdparty/bin/python
admin(2117): sys.prefix = /usr
admin(2117): sys.exec_prefix = /usr
admin(2117): sys.path = ['/usr/local/cpanel/3rdparty/mailman/pythonlib', '/usr/local/cpanel/3rdparty/mailman', '/usr/local/cpanel/3rdparty/mailman/scripts', '/usr/local/cpanel/3rdparty/mailman', '/usr/lib64/python26.zip', '/usr/lib64/python2.6/', '/usr/lib64/python2.6/plat-linux2', '/usr/lib64/python2.6/lib-tk', '/usr/lib64/python2.6/lib-old', '/usr/lib64/python2.6/lib-dynload', '/usr/lib/python2.6/site-packages']
admin(2117): sys.platform = linux2

Thank you.

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

This is apparently a cPanel bug. I don't think it can occur in standard GNU Mailman. This needs to be reported to, diagnosed and fixed by cPanel.

I think the underlying problem is the /usr/local/cpanel/3rdparty/mailman/lists/LISTNAME/request.pck file is corrupt, but how did it get that way? It could be a cPanel bug, or possibly a hardware, power failure or similar issue.

If you do

/usr/local/cpanel/3rdparty/mailman/bin/dumpdb /usr/local/cpanel/3rdparty/mailman/lists/LISTNAME/request.pck

and post the output, I may be able to say what the corruption is. The output should be a dictionary with only one entry

'version': (0, 1)

having a non-numeric key and all other entries having integers as keys and values of the form (type, data) where type is one of 1, 2 or 3 indicating a held message, subscription or unsubscription respectively and data depends on type.

Changed in mailman:
assignee: nobody → Mark Sapiro (msapiro)
status: New → Invalid
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.