[Zope] zpasswd.py didn't create any account

Hytham Shehab hythamshb@menanet.net
Wed, 27 Nov 2002 16:07:22 +0200


 guys,
     i have read it in ch7, then i follow up, then i got into the errors
below after running zpasswd.py and adding root as the username and my
password, then chooseing the default encrypting method:
 Traceback (innermost last):
  File "zpasswd.py", line 200, in ?
  if __name__=3D=3D'__main': m=
 ain(sys.argv)
  File "zpasswd.py", line 190, in
  main access_file.write(usernam=
 e + ":" +
  File "zpasswd.py", line 33, in
  generate_passwd encoding.upper()
 AttributeError: 'string' object has no attribute 'upper'

 now what is the problem, besides i have tried out the admin build in
account
 with its supplied password but it didn't work !!

 thx guys.
 --
 Hytham Shehab