[Mailman-Developers] cron/checkdbs error

Daniel Buchmann db@bibsys.no
Tue, 06 Nov 2001 18:19:25 +0100


If there are subscription/unsubscription requests waiting, but no moderated
posts waiting for approval, cron/checkdbs gives me this error:

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

This only seems to happen on newly created lists (e.g. lists that
never have had any moderated posts waiting for approval).

How to produce the error:
1. Create a new list, set steps required for subscription
   to "Require approval" or "Confirm and approve".
2. Subscribe to the list.
3. run cron/checkdbs when the subscription request is
   waiting for moderator approval.