yes that is true, thanks alot, :D

any chance to get a better error message for this? oh wait yes, I
should write a patch :P

On Feb 7, 3:39 pm, Massimo Di Pierro <[email protected]>
wrote:
> Looks like you have a custom auth_user table that misses the field
> reset_password_key
>
> Massimo
>
> On Feb 7, 5:29 am, selecta <[email protected]> wrote:
>
>
>
> > Traceback (most recent call last):
> >   File "/home/fkrause/Dev/web2py/gluon/restricted.py", line 188, in
> > restricted
> >     exec ccode in environment
> >   File "/home/fkrause/Dev/web2py/applications/pyMantis/controllers/
> > default.py", line 101, in <module>
> >   File "/home/fkrause/Dev/web2py/gluon/globals.py", line 95, in
> > <lambda>
> >     self._caller = lambda f: f()
> >   File "/home/fkrause/Dev/web2py/applications/pyMantis/controllers/
> > default.py", line 61, in user
> >     return dict(form=auth())
> >   File "/home/fkrause/Dev/web2py/gluon/tools.py", line 1037, in
> > __call__
> >     elif args[0] == 'retrieve_username':
> >   File "/home/fkrause/Dev/web2py/gluon/tools.py", line 2033, in
> > retrieve_password
> >     onvalidation=DEFAULT,
> >   File "/home/fkrause/Dev/web2py/gluon/tools.py", line 2009, in
> > request_reset_password
> >     if self.settings.mailer.send(to=form.vars.email,
> >   File "/home/fkrause/Dev/web2py/gluon/dal.py", line 1250, in <lambda>
> >     else:
> >   File "/home/fkrause/Dev/web2py/gluon/dal.py", line 4438, in
> > update_record
> >     def __invert__(self):
> >   File "/home/fkrause/Dev/web2py/gluon/dal.py", line 4399, in update
> >     except:
> >   File "/home/fkrause/Dev/web2py/gluon/dal.py", line 854, in update
> >     self.execute(sql)
> >   File "/home/fkrause/Dev/web2py/gluon/dal.py", line 1061, in execute
> >   File "/home/fkrause/Dev/web2py/gluon/dal.py", line 1058, in
> > log_execute
> > OperationalError: near "WHERE": syntax error
>
> > ...
>
> > (self=<gluon.dal.SQLiteAdapter object>, *a=('UPDATE auth_user SET
> > WHERE (auth_user.id = 1);',), **b={})
>
> > did I do something wrong?

Reply via email to