[ mailman-Bugs-678672 ] no list identification in cron error mail

SourceForge.net noreply at sourceforge.net
Sat Feb 1 06:13:00 EST 2003


Bugs item #678672, was opened at 2003-02-01 14:13
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=678672&group_id=103

Category: command line scripts
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: karl berry (kberry)
Assigned to: Nobody/Anonymous (nobody)
Summary: no list identification in cron error mail

Initial Comment:
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 mailman at tug.org  Sat Feb  1 02:00:04 2003
Return-Path: <mailman at tug.org>
Received: from tug.org (tug.org [130.225.2.178])
        by f7.net (8.11.6/8.11.6) with ESMTP id
h11703p21212
        for <karl at freefriends.org>; Sat, 1 Feb 2003
02:00:04 -0500
Received: (from mailman at localhost)
        by tug.org (8.11.6/8.11.6) id h11702s25380
        for mailman; Sat, 1 Feb 2003 08:00:02 +0100
Message-Id: <200302010700.h11702s25380 at tug.org>
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: root at tug.org (Cron Daemon)
To: mailman at tug.org
Subject: Cron <mailman at 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


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=678672&group_id=103



More information about the Mailman-coders mailing list