Menu

#528 Bug canceling discarded mail

2.1 beta
closed-fixed
nobody
None
5
2002-08-16
2002-08-13
Garey Mills
No

When poster tries to cancel email, and moderator has
already discarded it, Mailman reports a bug. Here is the
trace:

Traceback:

Traceback (most recent call last):
File "/usr/local/mailman/scripts/driver", line 82, in
run_main
main()
File "/usr/local/mailman/Mailman/Cgi/confirm.py", line
141, in main
heldmsg_prompt(mlist, doc, cookie, *content[1:])
File "/usr/local/mailman/Mailman/Cgi/confirm.py", line
612, in heldmsg_prompt
ign, sender, msgsubject, givenreason, ign, ign =
mlist.GetRecord(id)
File "/usr/local/mailman/Mailman/ListAdmin.py", line
163, in GetRecord
type, data = self.__db[id]
KeyError: 5

Python information:

Variable
Value
sys.version
2.2.1 (#1, Jun 10 2002, 14:31:04) [GCC 2.95
19990728 (release)]
sys.executable
/usr/local/bin/python
sys.prefix
/usr/local
sys.exec_prefix
/usr/local
sys.path
/usr/local
sys.platform
osf1V4

Environment variables:

Variable

Value
HTTP_COOKIE

mailman+admin=2802000000693f28593d7328000000613
63333616235613030333131303932383837653463343661
653733376234623536363661363939;

allusers+admin=2802000000696628593d7328000000353
73635316133633866323335346264373061613638646530
323436663963633066613131336131; asc+admin=;
p-r-
demo+admin=280200000069bb34593d732800000034373
33562333563323038653463356264643637623566306462
6430333634313966333561353736
SERVER_SOFTWARE
Apache/1.3.26 (Unix)
PYTHONPATH
/usr/local/mailman
SCRIPT_FILENAME
/usr/local/mailman/cgi-bin/confirm
SERVER_ADMIN
jgarey@library.berkeley.edu
SCRIPT_NAME
/mailman/confirm
SERVER_SIGNATURE
REQUEST_METHOD
GET
HTTP_HOST
www.lib.berkeley.edu
PATH_INFO
/p-r-
demo/690b69a8dccbfa63a5b1a8aa592f14597f517e87
SERVER_PROTOCOL
HTTP/1.0
QUERY_STRING
REQUEST_URI
/mailman/confirm/p-r-
demo/690b69a8dccbfa63a5b1a8aa592f14597f517e87
HTTP_ACCEPT
image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET
iso-8859-1,*,utf-8
HTTP_USER_AGENT
Mozilla/4.79 [en] (Windows NT 5.0; U)
HTTP_CONNECTION
Keep-Alive
HTTP_REFERER

http://us.f136.mail.yahoo.com/ym/ShowLetter?
MsgId=6112_8948012_210880_1238_476_0_10784&YY=
54989&inc=25&order=down&sort=date&pos=0&view=&h
ead=&box=Inbox
SERVER_NAME
www.lib.berkeley.edu
REMOTE_ADDR
128.32.238.84
REMOTE_PORT
1342
HTTP_ACCEPT_LANGUAGE
en
PATH_TRANSLATED
/data/_b/webdata/p-r-
demo/690b69a8dccbfa63a5b1a8aa592f14597f517e87
SERVER_PORT
80
GATEWAY_INTERFACE
CGI/1.1
HTTP_ACCEPT_ENCODING
gzip
SERVER_ADDR
169.229.32.48
DOCUMENT_ROOT
/data/_b/webdata

Discussion

  • Barry Warsaw

    Barry Warsaw - 2002-08-16

    Logged In: YES
    user_id=12800

    Fixed, thanks!

     
  • Barry Warsaw

    Barry Warsaw - 2002-08-16
    • status: open --> closed-fixed
     
  • Garey Mills

    Garey Mills - 2002-08-16

    Logged In: YES
    user_id=555793

    Barry -

    Is there a patch you could send me?

    Thanks;

    Garey Mills <gmills@library.berkeley.edu>

     

Log in to post a comment.