Comment 4 for bug 1739530

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

The entries that begin with things like

    '37': ( 1,

and

    '38': ( 1,

and presumably all the others are the problem. In these two, the keys are strings '37' and '38'. They are supposed to be integers like 37 and 38. It is not at all clear to me how this can happen.

Presumably, the messages are held properly and there are message files in /usr/local/cpanel/3rdparty/mailman/data/ with names like heldmsg-marketing_ccsindo.com-37.pck and heldmsg-marketing_ccsindo.com-38.pck which would indicate that the 'id' was an integer at that point.

Look at http://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/ListAdmin.py at lines 180 - 228 and compare that to /usr/local/cpanel/3rdparty/mailman/Mailman/ListAdmin.py. I would expect them to be the same, and I don't see how id can be an integer at line 196 and somehow become a string at line 227.

If there are differences in your cPanel ListAdmin.py in this area, it would seem that would be a bug in every cPanel installation, and that doesn't appear to be the case.

If this is just some one time anomaly, you could just remove the /usr/local/cpanel/3rdparty/mailman/lists/marketing_ccsindo.com/request.pck file. That will result in the held messages being orphaned, but you can use a script such as the one at https://www.msapiro.net/scripts/hold_again to reprocess the heldmsg-marketing_ccsindo.com-*.pck files.