2
我在GAE中使用web2py。在使用一些具有獨特子句的查詢時,GAE會拋出一個錯誤。我粘貼了Traceback。有人能幫我解決這個問題嗎?在查詢中使用截然不同的web2py錯誤
In FILE: /base/data/home/apps/panneersoda/1.341206242889687944/applications/init/controllers/default.py
Traceback (most recent call last):
File "/base/data/home/apps/panneersoda/1.341206242889687944/gluon/restricted.py", line 173, in restricted
exec ccode in environment
File "/base/data/home/apps/panneersoda/1.341206242889687944/applications/init/controllers/default.py:profileview", line 263, in <module>
File "/base/data/home/apps/panneersoda/1.341206242889687944/gluon/globals.py", line 96, in <lambda>
self._caller = lambda f: f()
File "/base/data/home/apps/panneersoda/1.341206242889687944/applications/init/controllers/default.py:profileview", line 97, in profileview
File "/base/data/home/apps/panneersoda/1.341206242889687944/gluon/contrib/gql.py", line 675, in select
(items, tablename, fields) = self._select(*fields, **attributes)
File "/base/data/home/apps/panneersoda/1.341206242889687944/gluon/contrib/gql.py", line 624, in _select
raise SyntaxError, 'invalid select attribute: %s' % key
SyntaxError: invalid select attribute: distinct
感謝
感謝您的回答:) – felix 2010-04-14 14:43:07