Which version of web2py? Did you use git clone? Did you do what it is 
asking?

git submodule update --init --recursive



On Wednesday, 23 March 2016 18:33:39 UTC-5, Tommi Lahtonen wrote:
>
>
> It looks like GAE Launcher 1.34 breaks my web2py-applications. Is this a 
> problem with App Engine Launcher or with web2py?
>
> For example this simple application does not work:
> http://appro.mit.jyu.fi/web-sovellukset/ohjaus/ohjaus6/web2py_malli.zip
>
> It works just fine with App Engine Launcher 1.9.32. I have another 
> application which is much more complex than this one but has been working 
> for a couple
> of years and now it breaks but with different error than the first one.
>
> Logs:
>
> 2016-03-23 17:58:44 Running command: "['C:\\Python27\\pythonw.exe', 
> 'C:\\Program Files (x86)\\Google\\google_appengine\\dev_appserver.py', 
> '--skip_sdk_update_check=yes', '--port=9080', '--admin_port=8001', 
> 'E:\\download\\web2py_malli\\web2py_malli']"
> INFO     2016-03-23 17:58:45,851 devappserver2.py:769] Skipping SDK update 
> check.
> INFO     2016-03-23 17:58:46,367 api_server.py:205] Starting API server 
> at: http://localhost:62082
> INFO     2016-03-23 17:58:46,367 dispatcher.py:197] Starting module 
> "default" running at: http://localhost:9080
> INFO     2016-03-23 17:58:46,367 admin_server.py:116] Starting admin 
> server at: http://localhost:8001
> ERROR    2016-03-23 15:59:07,539 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 "E:\download\web2py_malli\web2py_malli\gaehandler.py", line 47, in 
> <module>
>
>     from gluon.settings import global_settings
>
>   File "E:\download\web2py_malli\web2py_malli\gluon\__init__.py", line 15, 
> in <module>
>
>     from globals import current
>
>   File "E:\download\web2py_malli\web2py_malli\gluon\globals.py", line 17, 
> in <module>
>
>     from gluon.storage import Storage, List
>
>   File "E:\download\web2py_malli\web2py_malli\gluon\storage.py", line 16, 
> in <module>
>
>     import gluon.portalocker as portalocker
>
>   File "E:\download\web2py_malli\web2py_malli\gluon\portalocker.py", line 
> 96, in <module>
>
>     if platform.system() == 'Windows':
>
>   File "C:\Python27\lib\platform.py", line 1263, in system
>
>     return uname()[0]
>
>   File "C:\Python27\lib\platform.py", line 1159, in uname
>
>     release,version,csd,ptype = win32_ver()
>
>   File "C:\Python27\lib\platform.py", line 632, in win32_ver
>
>     from _winreg import OpenKeyEx, QueryValueEx, CloseKey, 
> HKEY_LOCAL_MACHINE
>
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\tools\devappserver2\python\sandbox.py",
>  
> line 963, in load_module
>
>     raise ImportError('No module named %s' % fullname)
>
> ImportError: No module named _winreg
>
> INFO     2016-03-23 17:59:07,635 module.py:787] default: "GET / HTTP/1.1" 
> 500 -
>
> and log from the second application:
>
> 2016-03-23 18:00:02 Running command: "['C:\\Python27\\pythonw.exe', 
> 'C:\\Program Files (x86)\\Google\\google_appengine\\dev_appserver.py', 
> '--skip_sdk_update_check=yes', '--port=8080', '--admin_port=8000', 
> 'E:\\qr-punch']"
> INFO     2016-03-23 18:00:03,996 devappserver2.py:769] Skipping SDK update 
> check.
> INFO     2016-03-23 18:00:04,069 api_server.py:205] Starting API server 
> at: http://localhost:62087
> INFO     2016-03-23 18:00:04,075 dispatcher.py:197] Starting module 
> "default" running at: http://localhost:8080
> INFO     2016-03-23 18:00:04,075 admin_server.py:116] Starting admin 
> server at: http://localhost:8000
> ERROR    2016-03-23 16:00:12,319 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 "E:\qr-punch\gaehandler.py", line 47, in <module>
>
>     from gluon.settings import global_settings
>
>   File "E:\qr-punch\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-03-23 18:00:12,328 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