All done on an Ubuntu Server 14.04 VM running on an OSX El Capitan host. On Friday, March 18, 2016 at 3:42:34 PM UTC-7, [email protected] wrote: > > 2.12.2 is definitely not broken, since that's what I've been using live on > GAE for about six months. (www.trytha.com) > > I did the precise steps I outline above while I was preparing the post. > Not much to it, and it started working again as soon as I replaced the new > /pydal with the old. I've been beating my head against this for two days. > I thought it was just a problem I was having deploying locally since I had > gotten things working on GAE last year (I had skipped a *local* GAE > deployment at that time). This morning I decided to just try my known, > server-side-working app (2.12.2) locally and it worked with no issues. > That's when I started swapping out directories until I found the offender > was /pydal. I also tested 2.12.3 and it does *NOT* work. > > I would really love to be using the latest version. Hopefully if it's a > mistake on my end, you might have some insight into where I've stepped off > the path. > > On Friday, March 18, 2016 at 3:28:15 PM UTC-7, Massimo Di Pierro wrote: >> >> gae on 2.12.2 was broken. It is no broken in current stable and trunk. >> >> 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.

