Re: [Zope] LoginManager dlpierson example

2001-01-31 Thread Fred Yankowski
I just realized that I responded in terms of a PythonMethod when you asked about a PythonScript. My ZClass functions for my LoginManager subclass are all PythonMethods, yet to be converted to Python Scripts. My 'authenticate' method takes (self, password, request) as parameters and has for the

[Zope] LoginManager dlpierson example

2001-01-30 Thread W. Robert Kellock
Hi, I'm new to Zope and I've been examining the LoginManager example given by dlpierson (http://www.zope.org/Members/dlpierson/sqlLogin). Although I am nowhere near understanding what it is doing, I'm very close to getting it to work - I think! It looks to me like I'm falling down in the

Re: [Zope] LoginManager dlpierson example

2001-01-30 Thread Fred Yankowski
On Wed, Jan 31, 2001 at 09:25:08AM +1300, W. Robert Kellock wrote: Are PythonScript arguments typeless? I keep getting an error Error Type: AttributeError Error Value: 'string' object has no attribute 'password' from the authenticate method which I'm passing self,password. I think