Thanks. For the record I know what I did wrong. The error is caused by my installing sudo pip install pydal first, and then installing web2py. Apparently the pip version is behind the current version of pydal, and as web2py was using the pip version, there were errors.
In the first case, where everything worked fine, I installed web2py FIRST and THEN pip install pydal. In this case, web2py was using its own version of pydal and not the pip version. Interesting! On Thursday, June 30, 2016 at 8:57:44 AM UTC-7, Niphlod wrote: > > download a stable release first and foremost.... there's no way to tell > what > > On Thursday, June 30, 2016 at 6:42:59 AM UTC+2, Ben Lawrence wrote: >> >> Wait, no, I just downloaded the web2py software from the original >> raspberry pi that I installed and functioned ok. I get the same error. Let >> me go away and figure this out... >> >> On Tuesday, June 28, 2016 at 9:46:21 PM UTC-7, Ben Lawrence wrote: >>> >>> HI >>> About a month ago, I installed web2py on raspberry pi >>> git clone --recursive https://github.com/web2py/web2py.git >>> and ran the rocket server >>> web2py -a 'your_password' -i 0.0.0.0 -p 8000 -c ca.crt -k ca.key >>> and everything worked fine. >>> So I got another raspberry pi and installed web2py , and now I get the >>> following error. Does anyone know why? >>> Error ticket for "admin"Ticket ID >>> >>> 192.168.0.135.2016-06-28.21-37-37.11462a4b-e69f-4408-a874-cb840aa214d0 >>> <type 'exceptions.AttributeError'> 'CommonDialect' object has no >>> attribute 'quote_template'Traceback >>> >>> 1. >>> 2. >>> 3. >>> 4. >>> 5. >>> 6. >>> 7. >>> 8. >>> 9. >>> 10. >>> 11. >>> 12. >>> 13. >>> 14. >>> 15. >>> 16. >>> 17. >>> 18. >>> >>> >>> >>> >>> Traceback (most recent call last): >>> File "/home/pi/web2py/gluon/restricted.py", line 224, in restricted >>> exec(ccode, environment) >>> File "/home/pi/web2py/applications/admin/controllers/default.py" >>> <https://192.168.0.126:8000/admin/default/edit/admin/controllers/default.py>, >>> line 2003, in <module> >>> File "/home/pi/web2py/gluon/globals.py", line 405, in <lambda> >>> self._caller = lambda f: f() >>> File "/home/pi/web2py/applications/admin/controllers/default.py" >>> <https://192.168.0.126:8000/admin/default/edit/admin/controllers/default.py>, >>> line 231, in site >>> table_name='appcreate') >>> File "/home/pi/web2py/gluon/sqlhtml.py", line 1809, in factory >>> return SQLFORM(DAL(None).define_table(table_name, *fields), >>> File "/usr/local/lib/python2.7/dist-packages/pydal/base.py", line 173, in >>> __call__ >>> obj = super(MetaDAL, cls).__call__(*args, **kwargs) >>> File "/usr/local/lib/python2.7/dist-packages/pydal/base.py", line 484, in >>> __init__ >>> entity_quoting=entity_quoting) >>> File "/usr/local/lib/python2.7/dist-packages/pydal/adapters/__init__.py", >>> line 45, in __call__ >>> quot = obj.dialect.quote_template >>> AttributeError: 'CommonDialect' object has no attribute 'quote_template' >>> >>> >>> >>> -- 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.

