which web2py version?

On Oct 9, 11:27 pm, Chuck Paulson <[email protected]> wrote:
> I am getting an error while registering on my local GAE. I fill out
> the registration form, click submit, and then get a ticket for the
> error shown below.
>
> The user is put into the auth_user table, but the registration_key
> field is set to a UUID, causing a "registration needs verification"
> message to pop up when attempting to login.
>
> What could be causing this?
>
> Chuck Paulson
>
> Traceback (most recent call last):
>   File "C:\webdev\web2py\gluon\restricted.py", line 188, in restricted
>     exec ccode in environment
>   File "C:\webdev\web2py\applications\ArticleSpin/controllers/
> default.py:user", line 155, in <module>
>   File "C:\webdev\web2py\gluon\globals.py", line 96, in <lambda>
>     self._caller = lambda f: f()
>   File "C:\webdev\web2py\applications\ArticleSpin/controllers/
> default.py:user", line 134, in user
>   File "C:\webdev\web2py\gluon\tools.py", line 1028, in __call__
>     return self.register()
>   File "C:\webdev\web2py\gluon\tools.py", line 1627, in register
>     table_user[form.vars.id] = dict(registration_key='')
>   File "C:\webdev\web2py\gluon\sql.py", line 1672, in __setitem__
>     elif not self._db(self._id == key)\
>   File "C:\webdev\web2py\gluon\sql.py", line 1683, in __getattr__
>     return dict.__getitem__(self,key)
> KeyError: '_id'

Reply via email to