Re: [Mailman-Users] Bug in Mailman 2.1.6b4

2005-07-11 Thread Darren G Pifer
Hello,

  Today, after doing some checking on the user's list, I
found the errors associated with There is a bug in 2.1.6b4.
in mailman's error log which I reported to this list a week
ago. I don't know why I did not see it earlier. Here is a 
portion of the trace in the error log:

Jul 07 09:30:39 2005 admin(12364):

admin(12364): [- Mailman Version: 2.1.6b4 -]
admin(12364): [- Traceback --]
admin(12364): Traceback (most recent call last):
admin(12364):   File /usr1/mailman/mailman/scripts/driver, line 101,
in run_main
admin(12364): main()
admin(12364):   File /usr1/mailman/mailman/Mailman/Cgi/admindb.py,
line 232, in main
admin(12364): num = show_pending_subs(mlist, form)
admin(12364):   File /usr1/mailman/mailman/Mailman/Cgi/admindb.py,
line 276, in show_pending_subs
admin(12364): pendingsubs = mlist.GetSubscriptionIds()
admin(12364):   File /usr1/mailman/mailman/Mailman/ListAdmin.py, line
146, in GetSubscriptionIds
admin(12364): return self.__getmsgids(SUBSCRIPTION)
admin(12364):   File /usr1/mailman/mailman/Mailman/ListAdmin.py, line
138, in __getmsgids
admin(12364): ids = [k for k, (op, data) in self.__db.items() if op
== rtype]
admin(12364): ValueError: unpack tuple of wrong size

Has anybody seen this? Should I send the complete trace to the
developers list, so the can see what is going wrong?

Regards,

Darren Pifer
Old Dominion University



On Fri, 2005-07-08 at 12:46, John Dennis wrote:
 On Fri, 2005-07-08 at 12:08 -0400, Darren G Pifer wrote:
  Thanks for the information. You are correct, I have not seen
  anything in the Apache logs, however, I have not seen anything
  logged to mailman's logs either.
  
  Is there a way to disable stealth mode? I know this could cause
  security implications but may need to do this temporarily to
  find and fix the problem. We will be upgrading to Mailman
  2.1.6 in the next week but am not feeling that this will
  fix the problem.
 
 You may want to read the doc here: http://www.list.org/faq.html and
 search for STEALTH.
 
 I spoke in error, the local logging is not to your mailman error log but
 rather to syslog. Please note syslog is handled differently on different
 systems, you may have to tweak your syslog configuration to log the
 mailman errors.
 
 The only way I know of to disable STEALTH_MODE is to change its
 hardcoded setting in the driver script, you will have to locate this
 file and edit it. However, if you can, it really would be better to get
 your syslog working, you do want these errors logged and it really is
 better to keep sensitive information out of the public eye.
 

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Bug in Mailman 2.1.6b4

2005-07-11 Thread Darren G Pifer
I hate answering my question but I found this info from
a google search. Has anyone else modified ListAdmin.py
with these changes?:

http://list.iskon.hr/~jelly/mailman-2.1.5-_UpdateRequests.diff

Does this look reasonable?

Darren Pifer
Old Dominion University

On Mon, 2005-07-11 at 13:22, Darren G Pifer wrote:
 Hello,
 
   Today, after doing some checking on the user's list, I
 found the errors associated with There is a bug in 2.1.6b4.
 in mailman's error log which I reported to this list a week
 ago. I don't know why I did not see it earlier. Here is a 
 portion of the trace in the error log:
 
 Jul 07 09:30:39 2005 admin(12364):
 
 admin(12364): [- Mailman Version: 2.1.6b4 -]
 admin(12364): [- Traceback --]
 admin(12364): Traceback (most recent call last):
 admin(12364):   File /usr1/mailman/mailman/scripts/driver, line 101,
 in run_main
 admin(12364): main()
 admin(12364):   File /usr1/mailman/mailman/Mailman/Cgi/admindb.py,
 line 232, in main
 admin(12364): num = show_pending_subs(mlist, form)
 admin(12364):   File /usr1/mailman/mailman/Mailman/Cgi/admindb.py,
 line 276, in show_pending_subs
 admin(12364): pendingsubs = mlist.GetSubscriptionIds()
 admin(12364):   File /usr1/mailman/mailman/Mailman/ListAdmin.py, line
 146, in GetSubscriptionIds
 admin(12364): return self.__getmsgids(SUBSCRIPTION)
 admin(12364):   File /usr1/mailman/mailman/Mailman/ListAdmin.py, line
 138, in __getmsgids
 admin(12364): ids = [k for k, (op, data) in self.__db.items() if op
 == rtype]
 admin(12364): ValueError: unpack tuple of wrong size
 
 Has anybody seen this? Should I send the complete trace to the
 developers list, so the can see what is going wrong?
 
 Regards,
 
 Darren Pifer
 Old Dominion University
 
 
 
 On Fri, 2005-07-08 at 12:46, John Dennis wrote:
  On Fri, 2005-07-08 at 12:08 -0400, Darren G Pifer wrote:
   Thanks for the information. You are correct, I have not seen
   anything in the Apache logs, however, I have not seen anything
   logged to mailman's logs either.
   
   Is there a way to disable stealth mode? I know this could cause
   security implications but may need to do this temporarily to
   find and fix the problem. We will be upgrading to Mailman
   2.1.6 in the next week but am not feeling that this will
   fix the problem.
  
  You may want to read the doc here: http://www.list.org/faq.html and
  search for STEALTH.
  
  I spoke in error, the local logging is not to your mailman error log but
  rather to syslog. Please note syslog is handled differently on different
  systems, you may have to tweak your syslog configuration to log the
  mailman errors.
  
  The only way I know of to disable STEALTH_MODE is to change its
  hardcoded setting in the driver script, you will have to locate this
  file and edit it. However, if you can, it really would be better to get
  your syslog working, you do want these errors logged and it really is
  better to keep sensitive information out of the public eye.
  
 
 --
 Mailman-Users mailing list
 Mailman-Users@python.org
 http://mail.python.org/mailman/listinfo/mailman-users
 Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
 Unsubscribe: 
 http://mail.python.org/mailman/options/mailman-users/dpifer%40odu.edu
 
 Security Policy: 
 http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq01.027.htp
 
 
 

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Bug in Mailman 2.1.6b4

2005-07-11 Thread Darren G Pifer
BTW, I found the changes to ListAdmin.py from:

http://www.mail-archive.com/mailman-coders@python.org/msg00255.html

Darren

On Mon, 2005-07-11 at 13:22, Darren G Pifer wrote:
 Hello,
 
   Today, after doing some checking on the user's list, I
 found the errors associated with There is a bug in 2.1.6b4.
 in mailman's error log which I reported to this list a week
 ago. I don't know why I did not see it earlier. Here is a 
 portion of the trace in the error log:
 
 Jul 07 09:30:39 2005 admin(12364):
 
 admin(12364): [- Mailman Version: 2.1.6b4 -]
 admin(12364): [- Traceback --]
 admin(12364): Traceback (most recent call last):
 admin(12364):   File /usr1/mailman/mailman/scripts/driver, line 101,
 in run_main
 admin(12364): main()
 admin(12364):   File /usr1/mailman/mailman/Mailman/Cgi/admindb.py,
 line 232, in main
 admin(12364): num = show_pending_subs(mlist, form)
 admin(12364):   File /usr1/mailman/mailman/Mailman/Cgi/admindb.py,
 line 276, in show_pending_subs
 admin(12364): pendingsubs = mlist.GetSubscriptionIds()
 admin(12364):   File /usr1/mailman/mailman/Mailman/ListAdmin.py, line
 146, in GetSubscriptionIds
 admin(12364): return self.__getmsgids(SUBSCRIPTION)
 admin(12364):   File /usr1/mailman/mailman/Mailman/ListAdmin.py, line
 138, in __getmsgids
 admin(12364): ids = [k for k, (op, data) in self.__db.items() if op
 == rtype]
 admin(12364): ValueError: unpack tuple of wrong size
 
 Has anybody seen this? Should I send the complete trace to the
 developers list, so the can see what is going wrong?
 
 Regards,
 
 Darren Pifer
 Old Dominion University
 
 
 
 On Fri, 2005-07-08 at 12:46, John Dennis wrote:
  On Fri, 2005-07-08 at 12:08 -0400, Darren G Pifer wrote:
   Thanks for the information. You are correct, I have not seen
   anything in the Apache logs, however, I have not seen anything
   logged to mailman's logs either.
   
   Is there a way to disable stealth mode? I know this could cause
   security implications but may need to do this temporarily to
   find and fix the problem. We will be upgrading to Mailman
   2.1.6 in the next week but am not feeling that this will
   fix the problem.
  
  You may want to read the doc here: http://www.list.org/faq.html and
  search for STEALTH.
  
  I spoke in error, the local logging is not to your mailman error log but
  rather to syslog. Please note syslog is handled differently on different
  systems, you may have to tweak your syslog configuration to log the
  mailman errors.
  
  The only way I know of to disable STEALTH_MODE is to change its
  hardcoded setting in the driver script, you will have to locate this
  file and edit it. However, if you can, it really would be better to get
  your syslog working, you do want these errors logged and it really is
  better to keep sensitive information out of the public eye.
  
 
 --
 Mailman-Users mailing list
 Mailman-Users@python.org
 http://mail.python.org/mailman/listinfo/mailman-users
 Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
 Unsubscribe: 
 http://mail.python.org/mailman/options/mailman-users/dpifer%40odu.edu
 
 Security Policy: 
 http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq01.027.htp
 
 
 

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Bug in Mailman 2.1.6b4

2005-07-08 Thread John Dennis
On Fri, 2005-07-08 at 11:54 +0900, Jim Tittsler wrote:
 On Jul 8, 2005, at 04:59, Darren G Pifer wrote:
  [...] from a version of Mailman we upgraded to recently. I tried to  
  look
  in the logs but could not find anything. We will be upgrading
 
 Did you look in your Apache error logs?  There may be a Python  
 traceback there that would narrow down the problem.

I'm pretty sure that 2.1.6b (as well as 2.1.6) have enabled stealth
mode. This prevents stack traces from being visible on the web page for
security reasons (you used to be able to see the stack traces). To
analyze what caused a bug you'll need the stack trace. Although the
stack trace is no longer visible it is logged on the system hosting
mailman, I believe in the mailman error.log file, its location will be
installation dependent (/var/log/mailman, /usr/local/mailman/log are
common locations).
-- 
John Dennis [EMAIL PROTECTED]

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Bug in Mailman 2.1.6b4

2005-07-08 Thread Darren G Pifer
Thanks for the information. You are correct, I have not seen
anything in the Apache logs, however, I have not seen anything
logged to mailman's logs either.

Is there a way to disable stealth mode? I know this could cause
security implications but may need to do this temporarily to
find and fix the problem. We will be upgrading to Mailman
2.1.6 in the next week but am not feeling that this will
fix the problem.

Darren
Old Dominion University

On Fri, 2005-07-08 at 09:50, John Dennis wrote:
 On Fri, 2005-07-08 at 11:54 +0900, Jim Tittsler wrote:
  On Jul 8, 2005, at 04:59, Darren G Pifer wrote:
   [...] from a version of Mailman we upgraded to recently. I tried to  
   look
   in the logs but could not find anything. We will be upgrading
  
  Did you look in your Apache error logs?  There may be a Python  
  traceback there that would narrow down the problem.
 
 I'm pretty sure that 2.1.6b (as well as 2.1.6) have enabled stealth
 mode. This prevents stack traces from being visible on the web page for
 security reasons (you used to be able to see the stack traces). To
 analyze what caused a bug you'll need the stack trace. Although the
 stack trace is no longer visible it is logged on the system hosting
 mailman, I believe in the mailman error.log file, its location will be
 installation dependent (/var/log/mailman, /usr/local/mailman/log are
 common locations).

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Bug in Mailman 2.1.6b4

2005-07-08 Thread John Dennis
On Fri, 2005-07-08 at 12:08 -0400, Darren G Pifer wrote:
 Thanks for the information. You are correct, I have not seen
 anything in the Apache logs, however, I have not seen anything
 logged to mailman's logs either.
 
 Is there a way to disable stealth mode? I know this could cause
 security implications but may need to do this temporarily to
 find and fix the problem. We will be upgrading to Mailman
 2.1.6 in the next week but am not feeling that this will
 fix the problem.

You may want to read the doc here: http://www.list.org/faq.html and
search for STEALTH.

I spoke in error, the local logging is not to your mailman error log but
rather to syslog. Please note syslog is handled differently on different
systems, you may have to tweak your syslog configuration to log the
mailman errors.

The only way I know of to disable STEALTH_MODE is to change its
hardcoded setting in the driver script, you will have to locate this
file and edit it. However, if you can, it really would be better to get
your syslog working, you do want these errors logged and it really is
better to keep sensitive information out of the public eye.


-- 
John Dennis [EMAIL PROTECTED]

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Bug in Mailman 2.1.6b4

2005-07-07 Thread Darren G Pifer
We recently received a report from one of users regarding a bug
from a version of Mailman we upgraded to recently. I tried to look
in the logs but could not find anything. We will be upgrading
the mailman software to 2.1.6 in hopes the bug will be fixed.
Can someone tell me what I can look for? The following message
is the one sent to our helpdesk address from the user:

When I tried to log into approve a message that is when I got the
error message. I typed in my password and it appeared.

this is the message

Bug in Mailman version 2.1.6b4

We're sorry, we hit a bug!


Regards,

Darren Pifer
Old Dominion University

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Bug in Mailman 2.1.6b4

2005-07-07 Thread Jim Tittsler
On Jul 8, 2005, at 04:59, Darren G Pifer wrote:
 [...] from a version of Mailman we upgraded to recently. I tried to  
 look
 in the logs but could not find anything. We will be upgrading

Did you look in your Apache error logs?  There may be a Python  
traceback there that would narrow down the problem.

 When I tried to log into approve a message that is when I got the
 error message. I typed in my password and it appeared.

My first guess would be a permissions problem.  Did you try running  
bin/check_perms to verify/fix any permissions problems on your new  
installation?



-- 
Jim Tittsler http://www.OnJapan.net/  GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/crew/jwt/
Mailman IRC  irc://irc.freenode.net/#mailman



--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp