no list identification in cron error mail

Bug #265865 reported by Kberry
2
Affects Status Importance Assigned to Milestone
GNU Mailman
New
Medium
Unassigned

Bug Description

in the message below from the checkdbs cron job, there
is no identification of the list with the erroneous
`tuple'. it sure would be nice if there was. i ended
up adding a print statement to checkdbs to find out
what it was -- perhaps this could become a -v option to
checkdbs.

Finally, it sure would be nice if mailman just dealt
with this problem instead of aborting. Thanks to help
from mailman-users, I can get past it now by removing
any relevant heldmsg's and removing request.db. Seems
like this does not take a human to do. The error has
happened with every mailman migration I've been
involved in.

Thanks,
karl

*** checkdbs Fri Jan 31 14:30:50 2003
--- checkdbs.v Fri Jan 31 14:45:50 2003
***************
*** 54,55 ****
--- 54,56 ----
          # the list must be locked in order to open
the requests database
+ sys.stdout.write (name + '\n')
          mlist = MailList.MailList(name)

Here's the mail.

From <email address hidden> Sat Feb 1 02:00:04 2003
Return-Path: <email address hidden>
Received: from tug.org (tug.org [130.225.2.178])
        by f7.net (8.11.6/8.11.6) with ESMTP id
h11703p21212
        for <email address hidden>; Sat, 1 Feb 2003
02:00:04 -0500
Received: (from mailman@localhost)
        by tug.org (8.11.6/8.11.6) id h11702s25380
        for mailman; Sat, 1 Feb 2003 08:00:02 +0100
Message-Id: <email address hidden>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/mailman2>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=mailman>
Date: Sat, 1 Feb 2003 08:00:02 +0100
From: <email address hidden> (Cron Daemon)
To: <email address hidden>
Subject: Cron <mailman@tug> /usr/local/bin/python -S
/usr/local/mailman/cron/checkdbs

Traceback (most recent call last):
  File "/usr/local/mailman/cron/checkdbs", line 136, in ?
    main()
  File "/usr/local/mailman/cron/checkdbs", line 80, in main
    text += '\n' + pending_requests(mlist)
  File "/usr/local/mailman/cron/checkdbs", line 102, in
pending_requests
    when, addr, fullname, passwd, digest, lang =
mlist.GetRecord(id)
ValueError: unpack tuple of wrong size

[http://sourceforge.net/tracker/index.php?func=detail&aid=678672&group_id=103&atid=100103]

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.