If running on source edit File "/home/hosts/googleappengine/web2py/ gluon/contrib/gql.py", line 407 and add 'cache' to the list. This will be fixed in the next version. This is only a problem with trunk not with the stable version.
On Jan 2, 8:41 am, mdipierro <[email protected]> wrote: > which version? 1.55 or earlier? > > Massimo > > On Jan 2, 8:20 am, notabene <[email protected]> wrote: > > > Can anyone help with this t2.create() error? > > > "invalid select attribute" > > Works in web2py - fails in gae (dev_appserver) > > I did not define an (options) widget. > > > ERROR 2009-01-02 13:44:41,426 main.py] Traceback (most recent call > > last): > > File "/home/nb/web2py/gluon/restricted.py", line 62, in > > restricted > > exec ccode in > > environment > > File "/home/hosts/googleappengine/web2py/applications/kultunaut/ > > controllers/arr.py:edit", line 127, in <module> > > File "/home/hosts/googleappengine/web2py/gluon/globals.py", line 55, > > in <lambda> > > self._caller=lambda f: f() > > File "/home/hosts/googleappengine/web2py/applications/kultunaut/ > > controllers/arr.py:edit", line 45, in edit > > File "/home/hosts/googleappengine/web2py/applications/t3/modules/ > > t2.py", line 417, in create > > showid=False,col3=col3,_class='t2-create') > > File "/home/hosts/googleappengine/web2py/gluon/sqlhtml.py", line > > 197, in __init__ > > inp=self.widgets.options.widget(field,default) > > File "/home/hosts/googleappengine/web2py/gluon/sqlhtml.py", line 60, > > in widget > > options=field.requires.options() > > File "/home/hosts/googleappengine/web2py/gluon/validators.py", line > > 161, in options > > self.build_set() > > File "/home/hosts/googleappengine/web2py/gluon/validators.py", line > > 157, in build_set > > records=self.dbset.select(self.dbset._db[self.ktable].ALL,**dd) > > File "/home/hosts/googleappengine/web2py/gluon/contrib/gql.py", line > > 452, in select > > items,tablename,fields=self._select(*fields,**attributes) > > File "/home/hosts/googleappengine/web2py/gluon/contrib/gql.py", line > > 407, in _select > > raise SyntaxError, 'invalid select attribute' > > SyntaxError: invalid select attribute --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

