I am still struggling with the option that allows a user to reset a
lost password. I have been scouring the web for a solution for weeks
but can't get a handle on anything that will point me in the right
direction. I know it is a error on my part but I now consider myself
at a dead end and any hint to put me on track is appreciated. I am
using Google's GAE and this is what I get when I initiate the lost/
reset password option:

ERROR    2010-10-12 01:26:32,822 restricted.py:151] Traceback (most
recent call last):
  File "/Volumes/pas/www/workspace/web2py-1863/gluon/restricted.py",
line 188, in restricted
    exec ccode in environment
  File "/Volumes/pas/www/workspace/web2py-1863/applications/wasp/
controllers/default.py:user", line 50, in <module>
  File "/Volumes/pas/www/workspace/web2py-1863/gluon/globals.py", line
96, in <lambda>
    self._caller = lambda f: f()
  File "/Volumes/pas/www/workspace/web2py-1863/applications/wasp/
controllers/default.py:user", line 27, in user
  File "/Volumes/pas/www/workspace/web2py-1863/gluon/tools.py", line
1038, in __call__
    return self.request_reset_password()
  File "/Volumes/pas/www/workspace/web2py-1863/gluon/tools.py", line
1991, in request_reset_password
    user.update_record(reset_password_key=reset_password_key)
  File "/Volumes/pas/www/workspace/web2py-1863/gluon/sql.py", line
3381, in <lambda>
    colset.update_record = lambda _ = (colset, table, id), **a:
update_record(_, a)
  File "/Volumes/pas/www/workspace/web2py-1863/gluon/sql.py", line
3512, in update_record
    table._db(table._id==id).update(**c)
  File "/Volumes/pas/www/workspace/web2py-1863/gluon/sql.py", line
1683, in __getattr__
    return dict.__getitem__(self,key)
KeyError: '_id'

Reply via email to