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.