Bugs item #998384, was opened at 2004-07-27 02:15
Message generated for change (Comment added) made by followme
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=998384&group_id=103

Category: Web/CGI
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Len Hatfield (lenhatfield)
Assigned to: Nobody/Anonymous (nobody)
Summary: Tend to Pending Moderator Requests breaks on a few lists

Initial Comment:
After upgrading from MM 2.0.3 to 2.1.5, I find that on
just a couple of my lists when I access the web-admin
interface and try to follow the "Tend to Pending
Moderator Requests" link, I get the following bug
announcement:

Bug in Mailman version 2.1.5

We're sorry, we hit a bug!

If you would like to help us identify the problem,
please email a copy of this page to the webmaster for
this site with a description of what happened. Thanks!
Traceback:

Traceback (most recent call last):
  File "/c/mm2/scripts/driver", line 87, in run_main
    main()
  File "/c/mm2/Mailman/Cgi/admindb.py", line 231, in main
    num = show_pending_subs(mlist, form)
  File "/c/mm2/Mailman/Cgi/admindb.py", line 274, in
show_pending_subs
    pendingsubs = mlist.GetSubscriptionIds()
  File "/c/mm2/Mailman/ListAdmin.py", line 138, in
GetSubscriptionIds
    return self.__getmsgids(SUBSCRIPTION)
  File "/c/mm2/Mailman/ListAdmin.py", line 130, in
__getmsgids
    ids = [k for k, (op, data) in self.__db.items() if
op == rtype]
ValueError: unpack tuple of wrong size



Python information:

Variable        Value
sys.version     2.3.4 (#1, Jul 21 2004, 23:31:00) [GCC
2.95.3 20010315 (release)]
sys.executable  /usr/bin/python
sys.prefix      /usr/local
sys.exec_prefix /usr/local
sys.path        /usr/local
sys.platform    linux2

Environment variables:

Variable        Value
HTTP_REFERER    http://wiz.cath.vt.edu/mailman/admin/hel-l
SERVER_SOFTWARE         Apache
SCRIPT_NAME     /mailman/admindb
SERVER_SIGNATURE        
REQUEST_METHOD  GET
HTTP_KEEP_ALIVE         300
SERVER_PROTOCOL         HTTP/1.1
QUERY_STRING    
HTTP_ACCEPT_CHARSET     ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_USER_AGENT         Mozilla/5.0 (Macintosh; U; PPC Mac OS
X Mach-O; en-US; rv:1.7) Gecko/20040628 Firefox/0.9.1
HTTP_CONNECTION         keep-alive
HTTP_COOKIE 
hel-l+admin=280200000069299d0541732800000034633337343331663037376464386366353661356532393638663262343937613764313365663234
SERVER_NAME     wiz.cath.vt.edu
REMOTE_ADDR     68.185.125.105
PATH_TRANSLATED         /www/hel-l
SERVER_PORT     80
SERVER_ADDR     128.173.51.243
DOCUMENT_ROOT   /www
PYTHONPATH      /c/mm2
SCRIPT_FILENAME         /c/mm2/cgi-bin/admindb
SERVER_ADMIN    [EMAIL PROTECTED]
HTTP_HOST       wiz.cath.vt.edu
REQUEST_URI     /mailman/admindb/hel-l
HTTP_ACCEPT 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
GATEWAY_INTERFACE       CGI/1.1
REMOTE_PORT     61615
HTTP_ACCEPT_LANGUAGE    en-us,en;q=0.5
HTTP_ACCEPT_ENCODING    gzip,deflate
UNIQUE_ID       QQWdLICtM-MAAEji16U
PATH_INFO       /hel-l


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

Comment By: Zoran Dzelajlija (followme)
Date: 2005-03-16 21:36

Message:
Logged In: YES 
user_id=106281

I've stumbled upon this too. I've sent a patch to mailman-devel without
checking for the same bug reported, so I'll try ot attach it here too.
As soon as I find out how to.


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

Comment By: Zoran Dzelajlija (followme)
Date: 2005-03-16 21:34

Message:
Logged In: YES 
user_id=106281

I've stumbled upon this too. I've sent a patch to mailman-devel without
checking for the same bug reported, so I'll try ot attach it here too.
As soon as I find out how to.



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

Comment By: Zot O'Connor (zot)
Date: 2004-10-15 06:58

Message:
Logged In: YES 
user_id=79680

I am seeing the same exact thing.

Traceback (most recent call last):
  File "/var/mailman/scripts/driver", line 87, in run_main
    main()
  File "/var/mailman/Mailman/Cgi/admindb.py", line 231, in main
    num = show_pending_subs(mlist, form)
  File "/var/mailman/Mailman/Cgi/admindb.py", line 274, in
show_pending_subs
    pendingsubs = mlist.GetSubscriptionIds()
  File "/var/mailman/Mailman/ListAdmin.py", line 138, in
GetSubscriptionIds
    return self.__getmsgids(SUBSCRIPTION)
  File "/var/mailman/Mailman/ListAdmin.py", line 130, in
__getmsgids
    ids = [k for k, (op, data) in self.__db.items() if op ==
rtype]
ValueError: unpack tuple of wrong size

sys.version      2.3.3 (#1, May 7 2004, 10:31:40) [GCC 3.3.3
20040412 (Red Hat Linux 3.3.3-7)]
sys.executable  /usr/bin/python
sys.prefix      /usr
sys.exec_prefix /usr
sys.path        /usr
sys.platform    linux2 

The environment vars were a bit off for 

PATH_TRANSLATED

and 

DOCUMENT_ROOT

But evertyhing else seems to be working.

Is anyone looking at this bug?

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=998384&group_id=103
_______________________________________________
Mailman-coders mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-coders

Reply via email to