Dear team,

 

 

I'm using Google App Engine - with python 2.7 and web2py. My application 
suddenly stopped working from yesterday to today. 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 yesterday is working. The same 
code deployed today does not work.

 

 

Is the problem related to the change to 1.8.1 where scattered auto id is 
the default?

 

 

Are others facing similar issues? Any known solutions?

 

 

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

 

While accessing application getting below error after  deployment, the 
application was working fine previously.

 

I have performed below steps successfully:

-          Deployment on sand box and testing

-          Deployment on GAE

 

Kindly suggest what changes are required at configuration leavel, so that I 
will be able to access the application

-- 

--- 
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.


Reply via email to