SyntaxError: Adapter not found for gae

67 views
Skip to first unread message

Tommi Lahtonen

unread,
Nov 22, 2017, 8:22:46 AM11/22/17
to web2py-users
Latest web2py (2.16.1) and latest Google App Engine  launcher (1.9.63) do not work together on Windows 7. Welcome application works but admin interface does not. Trying to open Admin will give you this error:

INFO     2017-11-22 15:15:22,841 module.py:825] default: "GET /admin HTTP/1.1" 500 707
WARNING  2017-11-22 13:15:25,806 sandbox.py:1082] The module _ctypes is whitelisted for local dev only. If your application relies on _ctypes, it is likely that it will not function properly in production.

ERROR    2017-11-22 13:15:26,867 restricted.py:174] Traceback (most recent call last):

  File "C:\MyTemp\web-sovellukset\web2py_2017\web2py\gluon\restricted.py", line 219, in restricted

    exec(ccode, environment)

  File "C:\MyTemp\web-sovellukset\web2py_2017\web2py\applications\admin\models\access.py", line 16, in <module>

    session_db = DAL('gae')

  File "C:\MyTemp\web-sovellukset\web2py_2017\web2py\gluon\packages\dal\pydal\base.py", line 169, in __call__

    obj = super(MetaDAL, cls).__call__(*args, **kwargs)

  File "C:\MyTemp\web-sovellukset\web2py_2017\web2py\gluon\packages\dal\pydal\base.py", line 453, in __init__

    adapter = adapters.get_for(self._dbname)

  File "C:\MyTemp\web-sovellukset\web2py_2017\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-11-22 13:15:26,867 gaehandler.py:75] **** Request: 184.00ms/184.05ms (real time/cpu time)

INFO     2017-11-22 15:15:26,871 module.py:825] default: "GET /admin/ HTTP/1.1" 500 707

Tommi Lahtonen

unread,
Mar 19, 2018, 6:58:38 AM3/19/18
to web2py-users
This is still broken. admin-interface does not work with google app engine. appadmin works just fine.
Reply all
Reply to author
Forward
0 new messages