[Zope] Python error: object does not support item or slice assignment

Florian Lindner mailinglists at xgm.de
Fri Sep 26 18:35:01 EDT 2003


Dieter Maurer wrote:

> Florian Lindner wrote at 2003-9-26 13:46 +0200:
>  > ...
>  > Error Type: TypeError
>  > Error Value: object does not support item or slice assignment
>  > 
>  > The Log says that the error is on line 5, marked with <--.
>  > ...
>  > REQUEST['__ac_name'] = REQUEST['username'] <--
> 
> It is write:
> 
>    Use "REQUEST.set('__ac_name', REQUEST['username'])"

Thanks, the script works now.
But I still can't login. I'm using exUserFolder and this script to 
login. Username and Password are right, but I'm always redirected to the 
error page.
But can be wrong?
thanks,
Florian




More information about the Zope mailing list