Hi!

py2web 2.15.2-stable doesn't seems to work properly with GAE 1.9.57 in 
Ubuntu 16.04. After running py2web in GAE, I am able to load first page, 
but after selecting e.g. admin, I get this error in console:

"
ERROR    2017-07-20 10:07:09,287 restricted.py:174] Traceback (most recent 
call last):
  File 
"/home/lauri/Desktop/web-sovellukset_vk6/web2py/gluon/restricted.py", line 
219, in restricted
    exec(ccode, environment)
  File 
"/home/lauri/Desktop/web-sovellukset_vk6/web2py/applications/admin/models/access.py",
 
line 16, in <module>
    session_db = DAL('gae')
  File 
"/home/lauri/Desktop/web-sovellukset_vk6/web2py/gluon/packages/dal/pydal/base.py",
 
line 170, in __call__
    obj = super(MetaDAL, cls).__call__(*args, **kwargs)
  File 
"/home/lauri/Desktop/web-sovellukset_vk6/web2py/gluon/packages/dal/pydal/base.py",
 
line 454, in __init__
    adapter = adapters.get_for(self._dbname)
  File 
"/home/lauri/Desktop/web-sovellukset_vk6/web2py/gluon/packages/dal/pydal/adapters/__init__.py",
 
line 20, in get_for
    'Adapter not found for %s' % uri
SyntaxError: Adapter not found for gae

INFO     2017-07-20 10:07:09,287 gaehandler.py:75] **** Request: 
568.49ms/318.78ms (real time/cpu time)
"

py2web 2.15.2-stable works fine when running without GAE. I have template 
project with py2web 2.9.4-stable which runs fine with GAE 1.9.57. Python 
version is 2.7.12.

Any ideas for fixing this?

Thanks!
Lauri

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to