[web2py] Re: current trunk using memdb results in crash

2014-04-11 Thread Bas Ti
t; escreveu: >>>>>> >>>>>> I can only provide assistance for the "unique key error": >>>>>> line 883: >>>>>> https://github.com/web2py/web2py/blame/master/gluon/globals.py: >>>>>> dee4e6a9<https://github.com/web2py/web2

[web2py] current trunk using memdb results in crash

2014-03-01 Thread Bas Ti
The current trunk does not support using memcache as session store on GAE: session.connect calls memdb.Table.__call__(recordid, unique_key=unique_key) however unique_key is not supported by memdb.Table, it is only supported by dal.Table -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: csv import crashes on GAE

2013-01-02 Thread Bas Ti
thank you, that worked :) --

[web2py] csv import crashes on GAE

2013-01-02 Thread Bas Ti
importing a csv on GAE (including image blobs) fails on GAE: Traceback (most recent call last): File "/base/data/home/apps/s~cambeoserver/1.364313602794800132/gluon/restricted.py", line 212, in restricted exec ccode in environment File "/base/data/home/apps/s~cambeoserver/1.364313602794

[web2py] insert image from filesystem into database on GAE

2013-01-02 Thread Bas Ti
Hello, I have the following problem: db.auth_user.insert( ... image = open('./sebastian.jpg', 'rb') does work locally using a mysql database. But if I run it on GAE the image does not exist on the server