Have you completely given up on Cloud SQL support? I just checked back after a year and it's STILL broken. The last version of DAL that works with Cloud SQL I'm aware of is 2.12.2...
The original hack I detail at the top is still the only way to get Cloud SQL working... OK, I went through github and this is this seems to be the last commit that broke Cloud SQL (the version of pydal from the previous commit seems to work fine): https://github.com/web2py/pydal/commit/4fee2923db00763c4a4666c5ad0e5c1104e8f24a Also, this is the only way to get lost password requests working on GAE right now: https://groups.google.com/forum/#!topic/web2py/YndwuzoEypw On Monday, March 21, 2016 at 5:50:40 PM UTC-7, Massimo Di Pierro wrote: > > please try the latest nightly build from the web page. > > On Monday, 21 March 2016 19:21:31 UTC-5, [email protected] <javascript:> > wrote: >> >> Cool beans. Look forward to giving it a whirl. >> >> On Monday, March 21, 2016 at 3:29:48 PM UTC-7, Massimo Di Pierro wrote: >>> >>> we will post a new stable version tomorrow I think. >>> >>> On Monday, 21 March 2016 00:41:15 UTC-5, [email protected] wrote: >>>> >>>> From the git repo, yes. From the current source files on web2py.com, >>>> no. >>>> >>>> On Sunday, March 20, 2016 at 10:22:20 PM UTC-7, Massimo Di Pierro wrote: >>>>> >>>>> So can you confirm the latest pydal works for you? >>>>> >>>>> On Saturday, 19 March 2016 16:57:11 UTC-5, [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.

