[Zope] Another problem...

Brian Lloyd Brian@digicool.com
Fri, 20 Aug 1999 18:35:10 -0400


> 	I have the following Initialize method:
> def Initialize(self, REQUEST):
>   self.count = 0
>   REQUEST=REQUEST.set('count', self.count)
> ...
>
> I call Initialize by:
> <!--#var standard_html_header-->
> <dtml-with WebSolveAccess>
> <dtml-call "Initialize(this(), REQUEST)">
> </dtml-with>
> <!--#var standard_html_footer-->
>   
> Unfortunately I get the following error when using it:
> 	Error Type: AttributeError
>         Error Value: 'None' object has no attribute 'set'
>         
>         It sounds to me like REQUEST=None, but I don't know 
> where that's coming 
> from...  Any ideas of what is wrong with this?  Thanks!
>         Donner

Donald,

What Zope version are you using? This sounds like a 
problem that existed in the earlier betas, but has
since been fixed.


Brian Lloyd        brian@digicool.com
Software Engineer  540.371.6909              
Digital Creations  http://www.digicool.com