This is still broken. admin-interface does not work with google app engine. 
appadmin works just fine.


On Wednesday, November 22, 2017 at 3:22:46 PM UTC+2, Tommi Lahtonen wrote:
>
> Latest web2py (2.16.1 <http://www.web2py.com/init/default/download>) 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
>
>

-- 
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