Bug in Mailman version 2.1.18-1

Bug #1350280 reported by Øyvind Schibsted
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Incomplete
Undecided
Mark Sapiro

Bug Description

When pressing "Tend to pending moderator requests" in mailmain i get the following error:

"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."

This is the error in the logs:

################################################################
################################################################
Jul 30 12:48:54 2014 admin(3440): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
admin(3440): [----- Mailman Version: 2.1.18-1 -----]
admin(3440): [----- Traceback ------]
admin(3440): Traceback (most recent call last):
admin(3440): File "/usr/local/cpanel/3rdparty/mailman/scripts/driver", line 117, in run_main
admin(3440): main()
admin(3440): File "/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/admindb.py", line 236, in main
admin(3440): nomessages = not mlist.GetHeldMessageIds()
admin(3440): File "/usr/local/cpanel/3rdparty/mailman/Mailman/ListAdmin.py", line 143, in GetHeldMessageIds
admin(3440): return self.__getmsgids(HELDMSG)
admin(3440): File "/usr/local/cpanel/3rdparty/mailman/Mailman/ListAdmin.py", line 138, in __getmsgids
admin(3440): ids = [k for k, (op, data) in self.__db.items() if op == rtype]
admin(3440): ValueError: need more than 0 values to unpack
admin(3440): [----- Python Information -----]
admin(3440): 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(3440): sys.executable = /usr/local/cpanel/3rdparty/bin/python
admin(3440): sys.prefix = /usr
admin(3440): sys.exec_prefix = /usr
admin(3440): 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(3440): sys.platform = linux2
admin(3440): [----- Environment Variables -----]
admin(3440): HTTP_COOKIE: all_*****+admin=28020000006958cad853732800000066313831313962326331633639383036663130623734326237306134303735646634646563376637
admin(3440): SERVER_SOFTWARE: Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips DAV/2 mod_bwlimited/1.4
admin(3440): SCRIPT_NAME: /mailman/admindb
admin(3440): SERVER_SIGNATURE: <address>Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips DAV/2 mod_bwlimited/1.4 Server at ***** Port 80</address>
admin(3440):
admin(3440): REQUEST_METHOD: GET
admin(3440): PATH_INFO: /all_*****
admin(3440): SERVER_PROTOCOL: HTTP/1.1
admin(3440): QUERY_STRING:
admin(3440): HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36
admin(3440): HTTP_CONNECTION: keep-alive
admin(3440): SERVER_NAME: *****
admin(3440): REMOTE_ADDR: *****
admin(3440): PATH_TRANSLATED: /usr/local/apache/htdocs/all_*****
admin(3440): SERVER_PORT: 80
admin(3440): SERVER_ADDR: *****
admin(3440): DOCUMENT_ROOT: /usr/local/apache/htdocs
admin(3440): PYTHONPATH: /usr/local/cpanel/3rdparty/mailman
admin(3440): SCRIPT_FILENAME: /usr/local/cpanel/3rdparty/mailman/cgi-bin/admindb
admin(3440): SERVER_ADMIN: *****
admin(3440): HTTP_HOST: *****
admin(3440): HTTP_CACHE_CONTROL: max-age=0
admin(3440): REQUEST_URI: /mailman/admindb/all_*****
admin(3440): HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
admin(3440): GATEWAY_INTERFACE: CGI/1.1
admin(3440): REMOTE_PORT: 54625
admin(3440): HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8,da;q=0.6,nb;q=0.4,sv;q=0.2
admin(3440): HTTP_ACCEPT_ENCODING: gzip,deflate,sdch
admin(3440): UNIQUE_ID: U9jNlln6eDkAAAeupQQAAAAD
################################################################
################################################################

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

It appears that the file /usr/local/cpanel/3rdparty/mailman/lists/<listname_you_elided>/requests.pck is corrupt.

You can see what's in it with /usr/local/cpanel/3rdparty/mailman/bin/dumpdb.

If you just remove the requests.pck file, I think that will solve the problem, but first use dumpdb to see if there are any real requests.

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