I have been running my application on GAE using Python 2.7 and web2py 2.4.6.
Recently made minor application change and deployed with web2py 2.7.4, the current version. I am getting an error in at least one part of the application. The GAE log is attached. Re-deployed with the same application but web2py 2.4.6 and all is working. Application uses the datastore (nosql) Failure occurs in this statement: form = crud.update(db.Reservations, request.vars.resvid, deletable = True, onvalidation=setmodified, ondelete=delreservation, onaccept=modreservation) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
2013-10-29 08:08:43.423 /init/default/reservationform?next=%2Finit%2Fdefault%2Freservationlist%3Fmembid%3D15636%26next%3D%252Finit%252Fdefault%252Fmemberlist%253Fpage%253D25%2526start%253D0%26page%3D10%26start%3D0&resvid=4685783550132224 500 412ms 0kb Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Firefox/24.0 146.115.73.26 - - [29/Oct/2013:05:08:43 -0700] "GET /init/default/reservationform?next=%2Finit%2Fdefault%2Freservationlist%3Fmembid%3D15636%26next%3D%252Finit%252Fdefault%252Fmemberlist%253Fpage%253D25%2526start%253D0%26page%3D10%26start%3D0&resvid=4685783550132224 HTTP/1.1" 500 245 - "Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Firefox/24.0" "ocsnedb.appspot.com" ms=412 cpu_ms=677 cpm_usd=0.000027 app_engine_release=1.8.6 instance=00c61b117c9d2d92bd20555a527d20901a7d7c I 2013-10-29 08:08:43.259 1 E 2013-10-29 08:08:43.421 Traceback (most recent call last): File "/base/data/home/apps/s~ocsnedb-hrd/24.371245259741626660/gluon/restricted.py", line 217, in restricted exec ccode in environment File "/base/data/home/apps/s~ocsnedb-hrd/24.371245259741626660/applications/init/controllers/default.py", line 2293, in <module> File "/base/data/home/apps/s~ocsnedb-hrd/24.371245259741626660/gluon/globals.py", line 372, in <lambda> self._caller = lambda f: f() File "/base/data/home/apps/s~ocsnedb-hrd/24.371245259741626660/applications/init/controllers/default.py", line 710, in reservationform onaccept=modreservation) File "/base/data/home/apps/s~ocsnedb-hrd/24.371245259741626660/gluon/tools.py", line 3859, in update **attributes # contains hidden File "/base/data/home/apps/s~ocsnedb-hrd/24.371245259741626660/gluon/sqlhtml.py", line 1089, in __init__ inp = self.widgets.options.widget(field, default) File "/base/data/home/apps/s~ocsnedb-hrd/24.371245259741626660/gluon/sqlhtml.py", line 270, in widget options = requires[0].options() File "/base/data/home/apps/s~ocsnedb-hrd/24.371245259741626660/gluon/validators.py", line 2649, in _options options = self.other.options() File "/base/data/home/apps/s~ocsnedb-hrd/24.371245259741626660/gluon/validators.py", line 559, in options self.build_set() File "/base/data/home/apps/s~ocsnedb-hrd/24.371245259741626660/gluon/validators.py", line 545, in build_set records = self.dbset(table).select(*fields, **dd) File "/base/data/home/apps/s~ocsnedb-hrd/24.371245259741626660/gluon/dal.py", line 10111, in select return adapter.select(self.query,fields,attributes) File "/base/data/home/apps/s~ocsnedb-hrd/24.371245259741626660/gluon/dal.py", line 4974, in select (items, tablename, fields) = self.select_raw(query,fields,attributes) File "/base/data/home/apps/s~ocsnedb-hrd/24.371245259741626660/gluon/dal.py", line 4859, in select_raw filters = self.expand(query) File "/base/data/home/apps/s~ocsnedb-hrd/24.371245259741626660/gluon/dal.py", line 4733, in expand return expression.op(expression.first, expression.second) File "/base/data/home/apps/s~ocsnedb-hrd/24.371245259741626660/gluon/dal.py", line 4747, in AND a = self.expand(first) File "/base/data/home/apps/s~ocsnedb-hrd/24.371245259741626660/gluon/dal.py", line 4733, in expand return expression.op(expression.first, expression.second) File "/base/data/home/apps/s~ocsnedb-hrd/24.371245259741626660/gluon/dal.py", line 4802, in BELONGS raise SyntaxError("Not supported") SyntaxError: Not supported