[Zope] Mistery login problem

Peter Bengtsson mail at peterbe.com
Fri Dec 12 20:51:40 EST 2003


> [root at mypc Zope-2.6.2-linux2-x86]# python zpasswd.py -u admin -p test 
> inituser
> Traceback (innermost last):
>  File "zpasswd.py", line 200, in ?
>    if __name__=='__main__': main(sys.argv)
>  File "zpasswd.py", line 152, in main
>    access_file.write(username + ':' +
>  File "zpasswd.py", line 33, in generate_passwd
>    encoding=encoding.upper()
> AttributeError: 'string' object has no attribute 'upper'
> -- 

This is because the python you use to run is version 1.5.2 probably.
Zope2.6.2 requires Python 2.1.3

-- 
God Jul! Merry Christmas! Joyeux Noël!
Peter Bengtsson, http://www.peterbe.com



More information about the Zope mailing list