I'm using Google App Engine - with python 2.7 and web2py. My application application suddenly stopped working with new deployment.
I deployed the application today (June14, 2013) and I get the error "OverflowError: Python int too large to convert to C long" when web2py code tries to store id() from DB entity into a int variable. As web2py DB read/write is central to my application almost nothing works. The last version of application deployed on June12, 2013 is working fine. The same code deployed today does not work. Is the problem related to the change to Google App Engine Release 1.8.1 where scattered auto id is the default? Is Google team have solutions or support to us what need to change at configuration level? Call stack of failure (when web2py tries to write session object into database): Traceback (most recent call last): File "/base/data/home/apps/s~nittio-live/24.368055561930403768/gluon/main.py", line 551, in wsgibase session._try_store_in_db(request, response) File "/base/data/home/apps/s~nittio-live/24.368055561930403768/gluon/globals.py", line 728, in _try_store_in_db record_id = table.insert(**dd) File "/base/data/home/apps/s~nittio-live/24.368055561930403768/gluon/dal.py", line 7806, in insert ret = self._db._adapter.insert(self,self._listify(fields)) File "/base/data/home/apps/s~nittio-live/24.368055561930403768/gluon/dal.py", line 4618, in insert rid = Reference(tmp.key().id()) OverflowError: Python int too large to convert to C long I have performed below steps successfully: - Deployment on sand box and testing - Deployment on GAE While accessing application getting below error after deployment, the application was working fine previously. [image: cid:image001.jpg@01CE68DC.ABE50590] *I came to know from the forums that we need to set “auto_id_policy: legacy” in app.yaml file but exact syntax is not available. I have tried own with few but did not get success on it*: - auto_id_policy: legacy - auto_id_policy= scattered Kindly suggest what changes are required at configuration level, so that I will be able to access the application. Warm Regards, Mukesh -- --- 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.