Looks like you're invoking the script with an old version of Python. Upgrade the Python on your system to 2.2.X or 2.3.X or use the one that comes shipped with Zope (if you've got a Zope binary release). On Sat, 2004-01-24 at 16:26, John Poltorak wrote:
It looks like I didn't set up the initial user correctly so can't use the ZMI.
I just tried running the user setup program again and get the following error:-
Username: zope Password: Verify password:
Please choose a format from:
SHA - SHA-1 hashed password (default) CRYPT - UNIX-style crypt password CLEARTEXT - no protection
Encoding: sha Traceback (innermost last): File "zpasswd.py", line 200, in ? if __name__=='__main__': main(sys.argv) File "zpasswd.py", line 184, in main if encoding.upper() in ['SHA', 'CRYPT', 'CLEARTEXT']: AttributeError: 'string' object has no attribute 'upper'
Anyone know what's wrong?