I just saw another error - on form submit:
Traceback (most recent call last):
File "/base/data/home/apps/myapp/1.332578716997575186/gluon/
restricted.py", line 98, in restricted
exec ccode in environment
File "/base/data/home/apps/myapp/1.332578716997575186/applications/
init/controllers/default.py", line 118, in <module>
File "/base/data/home/apps/myapp/1.332578716997575186/gluon/
globals.py", line 75, in <lambda>
self._caller = lambda f: f()
File "/base/data/home/apps/myapp/1.332578716997575186/applications/
init/controllers/default.py", line 102, in user
return dict(form=auth())
File "/base/data/home/apps/myapp/1.332578716997575186/gluon/
tools.py", line 412, in __call__
return self.change_password()
File "/base/data/home/apps/myapp/1.332578716997575186/gluon/
tools.py", line 902, in change_password
onvalidation=onvalidation):
File "/base/data/home/apps/myapp/1.332578716997575186/gluon/
sqlhtml.py", line 476, in accepts
onvalidation,
File "/base/data/home/apps/myapp/1.332578716997575186/gluon/
html.py", line 894, in accepts
status = self._traverse(status)
File "/base/data/home/apps/myapp/1.332578716997575186/gluon/
html.py", line 290, in _traverse
newstatus = c._traverse(status) and newstatus
File "/base/data/home/apps/myapp/1.332578716997575186/gluon/
html.py", line 290, in _traverse
newstatus = c._traverse(status) and newstatus
File "/base/data/home/apps/myapp/1.332578716997575186/gluon/
html.py", line 290, in _traverse
newstatus = c._traverse(status) and newstatus
File "/base/data/home/apps/myapp/1.332578716997575186/gluon/
html.py", line 290, in _traverse
newstatus = c._traverse(status) and newstatus
File "/base/data/home/apps/myapp/1.332578716997575186/gluon/
html.py", line 296, in _traverse
newstatus = self._validate()
File "/base/data/home/apps/myapp/1.332578716997575186/gluon/
html.py", line 707, in _validate
(value, errors) = validator(value)
File "/base/data/home/apps/myapp/1.332578716997575186/gluon/
validators.py", line 266, in __call__
if self.dbset(field == value).count():
File "/base/data/home/apps/myapp/1.332578716997575186/gluon/contrib/
gql.py", line 632, in __call__
raise SyntaxError
SyntaxError: None
On Apr 5, 8:13 pm, mdipierro <[email protected]> wrote:
> I think I fixed it in trunk. Please give it a try.
>
> Massimo
>
> On Apr 5, 11:28 am, Vidul Petrov <[email protected]> wrote:
>
>
>
> > change_password works fine except on GAE:
>
> > Traceback (most recent call last):
> > File "/base/data/home/apps/myapp/1.332577102462600463/gluon/
> > restricted.py", line 98, in restricted
> > exec ccode in environment
> > File "/base/data/home/apps/myapp/1.332577102462600463/applications/
> > init/controllers/default.py", line 117, in <module>
> > File "/base/data/home/apps/myapp/1.332577102462600463/gluon/
> > globals.py", line 75, in <lambda>
> > self._caller = lambda f: f()
> > File "/base/data/home/apps/myapp/1.332577102462600463/applications/
> > init/controllers/default.py", line 101, in user
> > return dict(form=auth())
> > File "/base/data/home/apps/myapp/1.332577102462600463/gluon/
> > tools.py", line 411, in __call__
> > return self.change_password()
> > File "/base/data/home/apps/myapp/1.332577102462600463/gluon/
> > tools.py", line 900, in change_password
> > requires=[IS_EXPR('value==%s' % repr(pass1))]))
> > File "/base/data/home/apps/myapp/1.332577102462600463/gluon/
> > sqlhtml.py", line 658, in form_factory
> > return SQLFORM(SQLDB(None).define_table('no_table', *fields),
> > File "/base/data/home/apps/myapp/1.332577102462600463/gluon/sql.py",
> > line 851, in define_table
> > t = self[tablename] = SQLTable(self, tablename, *fields)
> > File "/base/data/home/apps/myapp/1.332577102462600463/gluon/sql.py",
> > line 1006, in __init__
> > 'define_table argument is not a SQLField'
> > SyntaxError: define_table argument is not a SQLField
>
> > Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---