Re: [Mailman-Users] authentication problem on upgrade

2003-02-26 Thread Matthew Davis
* Dave Stern - Former Rocket Scientist ([EMAIL PROTECTED]) wrote:
   AttributeError: 'Mailman.Cookie' module has no attribute 'SimpleCookie'
 
  Try cleaning out the cookies on the client machine.  There have been
  problems with old 2.0.13 cookies interfearing with 2.1 cookies.
 
 
 Sounds like a good idea. How is this done? I presume you're not talking
 about the subscribers cookies in ~/.netscape/cookie. I see
 $PREFIX/Mailman/Cookie.py
 $PREFIX/Mailman/Handlers/CookHeaders.py
 Do these need to be modified or do they access some DBfile?

I was speaking of the cookies in the client machine.  So in Netscape's
cookie manager (Tools - Cookie Manager - Manage Stored Cookies, i think
netscape has one, I use mozilla), find the cookies for your domain and
delete them.

If netscape doesn't have a cookie manager, and you don't mind losing all
your cookies, just delete ~/.netscape/cookie

--
Matthew Davis
http://dogpound.vnet.net/

Mr. Worf, scan that ship.  Aye, Captain... 300 DPI?

--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] authentication problem on upgrade

2003-02-25 Thread Dave Stern - Former Rocket Scientist
On Mon, 24 Feb 2003, Matthew Davis wrote:

 * Dave Stern - Former Rocket Scientist ([EMAIL PROTECTED]) wrote:
  I'm going from 2.0.13 to 2.1.1. The machine I want to first test it on
  has no compiler so I copy the real mailman structures onto another machine,
  (let's call it test.domain) have account, group, perms etc set up,
 [snip]
  Traceback (most recent call last):
File /etc/mailman/scripts/driver, line 87, in run_main
  main()
File /etc/mailman/Mailman/Cgi/admin.py, line 82, in main
  cgidata.getvalue('adminpw', '')):
File /etc/mailman/Mailman/SecurityManager.py, line 219, in WebAuthenticate
  print self.MakeCookie(ac, user)
File /etc/mailman/Mailman/SecurityManager.py, line 234, in MakeCookie
  c = Cookie.SimpleCookie()
  AttributeError: 'Mailman.Cookie' module has no attribute 'SimpleCookie'
 
  Any ideas?

 Try cleaning out the cookies on the client machine.  There have been
 problems with old 2.0.13 cookies interfearing with 2.1 cookies.


Sounds like a good idea. How is this done? I presume you're not talking
about the subscribers cookies in ~/.netscape/cookie. I see
$PREFIX/Mailman/Cookie.py
$PREFIX/Mailman/Handlers/CookHeaders.py
Do these need to be modified or do they access some DBfile?



 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] authentication problem on upgrade

2003-02-24 Thread Dave Stern - Former Rocket Scientist
I'm going from 2.0.13 to 2.1.1. The machine I want to first test it on
has no compiler so I copy the real mailman structures onto another machine,
(let's call it test.domain) have account, group, perms etc set up,

configure --prefix=/etc/mailman --build=test.domain \
  --host=test.domain

make install
copy resulting structure (/etc/mailman) onto new machine

edit /etc/mailman/Mailman/mm_cfg.py and Defaults.py on test.domain to have
 the correct hostname and path

restart web server

I can get to the main page but it fails to authenticate me.
I even rerun mmsitepass on test.domain.   I presume it takes this
as I can create a new list.


Here's the error I get on the webpage when I try to authenticate and get into
the newly created list (or existing lists)
===
Bug in Mailman version 2.1.1

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 /etc/mailman/scripts/driver, line 87, in run_main
main()
  File /etc/mailman/Mailman/Cgi/admin.py, line 82, in main
cgidata.getvalue('adminpw', '')):
  File /etc/mailman/Mailman/SecurityManager.py, line 219, in WebAuthenticate
print self.MakeCookie(ac, user)
  File /etc/mailman/Mailman/SecurityManager.py, line 234, in MakeCookie
c = Cookie.SimpleCookie()
AttributeError: 'Mailman.Cookie' module has no attribute 'SimpleCookie'

Any ideas?

Thanks




 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] authentication problem on upgrade

2003-02-24 Thread Matthew Davis
* Dave Stern - Former Rocket Scientist ([EMAIL PROTECTED]) wrote:
 I'm going from 2.0.13 to 2.1.1. The machine I want to first test it on
 has no compiler so I copy the real mailman structures onto another machine,
 (let's call it test.domain) have account, group, perms etc set up,
[snip]
 Traceback (most recent call last):
   File /etc/mailman/scripts/driver, line 87, in run_main
 main()
   File /etc/mailman/Mailman/Cgi/admin.py, line 82, in main
 cgidata.getvalue('adminpw', '')):
   File /etc/mailman/Mailman/SecurityManager.py, line 219, in WebAuthenticate
 print self.MakeCookie(ac, user)
   File /etc/mailman/Mailman/SecurityManager.py, line 234, in MakeCookie
 c = Cookie.SimpleCookie()
 AttributeError: 'Mailman.Cookie' module has no attribute 'SimpleCookie'
 
 Any ideas?

Try cleaning out the cookies on the client machine.  There have been
problems with old 2.0.13 cookies interfearing with 2.1 cookies.

Just an idea, see if that works.

--
Matthew Davis
http://dogpound.vnet.net/

DOS-O-MANIA : Reboot is not kicking your computer again

--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org