[Zope] Failed to reset inituser

Wouter Vanden Hove atheist@pandora.be
Tue, 22 Jul 2003 20:56:42 +0200


Silly me, I lost my password to the zope-management interface.
I try to set a new one via the shell, but I receive following error:


[root@*** zope]# python zpasswd.py inituser
Username: admin
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 a solution? Since execution halts, the 
new inituser-account is not active, so I can't login.



Wouter Vanden Hove