I saw here, and the table was create in GAE with insert service, but
when I get a select service its fails.

On 18 set, 13:19, mdipierro <mdipie...@cs.depaul.edu> wrote:
> This may be to the facts that on GAE tables are not created until you
> insert a record in them.
>
> On Sep 18, 10:55 am, "leo (kirotawa)" <kirot...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I'm try deploy  my web2py application in GAE, but it return this
> > exception :
>
> > raceback (most recent call last):
> >   File "/home/kirotawa/Documentos/Programacao/Web/Gappengine/web2py/
> > gluon/restricted.py", line 188, in restricted
> >     exec ccode in environment
> >   File "/home/kirotawa/Documentos/Programacao/Web/Gappengine/web2py/
> > applications/init/controllers/api.py:teste", line 94, in <module>
> >   File "/home/kirotawa/Documentos/Programacao/Web/Gappengine/web2py/
> > gluon/globals.py", line 96, in <lambda>
> >     self._caller = lambda f: f()
> >   File "/home/kirotawa/Documentos/Programacao/Web/Gappengine/web2py/
> > applications/init/controllers/api.py:teste", line 84, in teste
> >   File "/home/kirotawa/Documentos/Programacao/Web/Gappengine/web2py/
> > gluon/contrib/gql.py", line 736, in select
> >     (items, tablename, fields) = self._select(*fields, **attributes)
> >   File "/home/kirotawa/Documentos/Programacao/Web/Gappengine/web2py/
> > gluon/contrib/gql.py", line 676, in _select
> >     (tablename, tableobj) = self._get_table_or_raise()
> >   File "/home/kirotawa/Documentos/Programacao/Web/Gappengine/web2py/
> > gluon/contrib/gql.py", line 653, in _get_table_or_raise
> >     raise SyntaxError, 'Set: no tables selected'
> > SyntaxError: Set: no tables selected
>
> > So, in localhost all works fine, but in GAE it return this. how i
> > see,it is as if the tables had not been created. Someboy have any
> > ideia to fixed this?

Reply via email to