As penance, you can tell me how to store images in the datastore while using Cloud SQL for everything else (I haven't seen any actual examples of using both at the same time, but the book says it can be done).
On Saturday, March 19, 2016 at 2:57:11 PM UTC-7, [email protected] wrote: > > And thus we discover the true problem. Try using pydal from > http://www.web2py.com/examples/static/web2py_src.zip (the link from > Source Code for Normal Users). -result: Failure > > Now try the pydal from > http://web2py.com/examples/static/2.12.2/web2py_src.zip -result: Success > > Now try the pydal from > http://web2py.com/examples/static/2.13.3/web2py_src.zip (apparently the > latest one accessible by specific version number) -result: Failure > > So..... I hate you so much right now. Give me back my two days! > > There needs to be a way to mark your own answer as the "best answer"... > > > On Saturday, March 19, 2016 at 1:09:16 PM UTC-7, Massimo Di Pierro wrote: >> >> I tested this. I am using trunk code with latest github and I cannot >> reproduce. I am pretty sure this is fixed. Make sure you have the latest >> pydal. >> >> On Friday, 18 March 2016 15:55:21 UTC-5, [email protected] wrote: >>> >>> Steps to replicate (3 mins): >>> >>> >>> 1. Load Web2py from source off website. Copy gaehandler.py and >>> app.yaml to /web2py. >>> 2. In applications/welcome/models/db.py, change the DAL connection >>> to "db = DAL('google:sql://[$project]:[$instance]/[$database]')" >>> 3. python dev_appserver.py --host=0.0.0.0 --mysql_host=localhost >>> --mysql_port=3306 --mysql_user=root --mysql_password=**** >>> /home/www-data/web2py >>> 4. Load, then refresh the Welcome app and it crashes because it >>> thinks it can't access the /databases folder. >>> >>> Solution (1 min): >>> >>> 1. Delete /gluon/packages/dal/pydal >>> 2. Replace with /gluon/packages/dal/pydal from version 2.12.2 of >>> web2py. (http://web2py.com/examples/static/2.12.2/web2py_src.zip) >>> >>> Am I doing something really crazy? How has nobody run across this in >>> the six months it's been broken? Seems like kind of a massive bug. >>> >> -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

