just remove logging.conf alltogether or remove the handler that writes to a 
file. GAE has not a writable FS

On Tuesday, March 8, 2016 at 7:33:29 PM UTC+1, Krishna Bavandlapally wrote:
>
> Not able to run GAE dev_server 
>
> $ python working/google_appengine/dev_appserver.py working/web2py/
> INFO     2016-03-08 04:58:36,097 api_server.py:205] Starting API server 
> at: http://localhost:46588
> INFO     2016-03-08 04:58:36,113 dispatcher.py:197] Starting module 
> "default" running at: http://localhost:8080
> INFO     2016-03-08 04:58:36,114 admin_server.py:118] Starting admin 
> server at: http://localhost:8000
> ERROR    2016-03-08 04:58:41,003 wsgi.py:263]
> Traceback (most recent call last):
>   File "/google_appengine/google/appengine/runtime/wsgi.py", line 240, in 
> Handle
>     handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
>   File "/google_appengine/google/appengine/runtime/wsgi.py", line 299, in 
> _LoadHandler
>     handler, path, err = LoadObject(self._handler)
>   File "/google_appengine/google/appengine/runtime/wsgi.py", line 85, in 
> LoadObject
>     obj = __import__(path[0])
>   File "/web2py/gaehandler.py", line 62, in <module>
>     import gluon.main
>   File "/web2py/gluon/main.py", line 85, in <module>
>     logging.config.fileConfig(abspath("logging.conf"))
>   File "/usr/lib/python2.7/logging/config.py", line 85, in fileConfig
>     handlers = _install_handlers(cp, formatters)
>   File "/usr/lib/python2.7/logging/config.py", line 163, in 
> _install_handlers
>     h = klass(*args)
>   File "/usr/lib/python2.7/logging/handlers.py", line 117, in __init__
>     BaseRotatingHandler.__init__(self, filename, mode, encoding, delay)
>   File "/usr/lib/python2.7/logging/handlers.py", line 64, in __init__
>     logging.FileHandler.__init__(self, filename, mode, encoding, delay)
>   File "/usr/lib/python2.7/logging/__init__.py", line 903, in __init__
>     StreamHandler.__init__(self, self._open())
>   File "/usr/lib/python2.7/logging/__init__.py", line 928, in _open
>     stream = open(self.baseFilename, self.mode)
>   File 
> "/google_appengine/google/appengine/tools/devappserver2/python/stubs.py", 
> line 247, in __init__
>     raise IOError(errno.EROFS, 'Read-only file system', filename)
> IOError: [Errno 30] Read-only file system: '/web2py/web2py.log'
> INFO     2016-03-08 04:58:41,008 module.py:809] 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