I found the fix here:
https://code.google.com/p/googleappengine/issues/detail?id=12852
The key step is:

You can add a appengine_config.py python file to the root directory of your 
application with the following contents:

    import sys
    sys.platform = 'linux3'


On Friday, April 15, 2016 at 10:20:41 AM UTC-4, David Manns wrote:
>
> This is probably a stupid question. I'm running on Windows 10 with latest 
> version of Python 2.7.11 and the latest source code version of web2py. 
> Actually, I downloaded the source code version 2.14.3 and updated via the 
> admin console to 2.14.4 and then to 2.14.5.
>
> My application runs fine in the web2py development environment. When I try 
> to run using the GAE SDK launcher, I get the failure as logged below. Its 
> my understanding that the source distribution of web2py includes pyDAL and 
> this is presumably being used when running in the web2py test environment. 
> I also tried installing pyDAL using pip install pydal, this appeared to 
> work but made no difference.
>
> What am I missing?
>
> 2016-04-15 09:56:21 Running command: "['C:\\Python27\\python.exe', 
> 'C:\\Program Files (x86)\\Google\\google_appengine\\dev_appserver.py', 
> '--skip_sdk_update_check=yes', '--port=24080', '--admin_port=8016', 
> 'C:\\Users\\David\\Google Drive\\My Documents\\Ocsnedb52']"
> INFO     2016-04-15 09:56:24,586 devappserver2.py:769] Skipping SDK update 
> check.
> INFO     2016-04-15 09:56:24,773 api_server.py:205] Starting API server 
> at: http://localhost:55164
> INFO     2016-04-15 09:56:24,779 dispatcher.py:197] Starting module 
> "default" running at: http://localhost:24080
> INFO     2016-04-15 09:56:24,780 admin_server.py:116] Starting admin 
> server at: http://localhost:8016
> ERROR    2016-04-15 13:56:43,612 wsgi.py:263] 
>
> Traceback (most recent call last):
>
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 240, 
> in Handle
>
>     handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
>
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 299, 
> in _LoadHandler
>
>     handler, path, err = LoadObject(self._handler)
>
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 85, 
> in LoadObject
>
>     obj = __import__(path[0])
>
>   File "C:\Users\David\Google Drive\My Documents\Ocsnedb52\gaehandler.py", 
> line 47, in <module>
>
>     from gluon.settings import global_settings
>
>   File "C:\Users\David\Google Drive\My 
> Documents\Ocsnedb52\gluon\__init__.py", line 29, in <module>
>
>     "You can also download a complete copy from http://www.web2py.com.";
>
> RuntimeError: web2py depends on pydal, which apparently you have not 
> installed.
>
> Probably you cloned the repository using git without '--recursive'
>
> To fix this, please run (from inside your web2py folder):
>
>
>
>      git submodule update --init --recursive
>
>
>
> You can also download a complete copy from http://www.web2py.com.
>
> INFO     2016-04-15 09:56:43,621 module.py:787] default: "GET / HTTP/1.1" 
> 500 -
>
>

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