I'm trying to use autocomplete widget (
http://web2py.com/book/default/chapter/07#Autocomplete-Widget) on GAE and
I'm receiving this error:
Traceback (most recent call last):
  File
"/Users/titogarrido/Documents/Projetos/GAE/gametroca/web2py/gluon/restricted.py",
line 188, in restricted
    exec ccode in environment
  File
"/Users/titogarrido/Documents/Projetos/GAE/gametroca/web2py/applications/init/models/db.py",
line 171, in <module>
    db.user_jogo.jogo.widget = SQLFORM.widgets.autocomplete(request,
db.jogo.nome, id_field=db.jogo.id)
  File
"/Users/titogarrido/Documents/Projetos/GAE/gametroca/web2py/gluon/sqlhtml.py",
line 473, in __init__
    self.callback()
  File
"/Users/titogarrido/Documents/Projetos/GAE/gametroca/web2py/gluon/sqlhtml.py",
line 479, in callback
    rows = self.db(field.like(self.request.vars[self.keyword]+'%'))\
  File
"/Users/titogarrido/Documents/Projetos/GAE/gametroca/web2py/gluon/contrib/gql.py",
line 140, in __call__
    return Set(self, where)
  File
"/Users/titogarrido/Documents/Projetos/GAE/gametroca/web2py/gluon/contrib/gql.py",
line 639, in __init__
    self._tables = [filter.left._tablename for filter in where.filters]
AttributeError: 'Query' object has no attribute 'filters'


Is it expected?

Regards,

Tito


-- 

Linux User #387870
.........____
.... _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:_______

Reply via email to