Hii !
I just deployed an app on appspot, and I have a routes.py file which looks
like this:-
routes_in=(('/','/mysite/default/homepage'),)
routes_out=(('/mysite/default/homepage','/'),)
I have not rewritten any other paths. The site is working fine as of now but
GAE's logs show an error like the below for the url '/' i.e the root:-
<class 'google.appengine.runtime.DeadlineExceededError'>:
> Traceback (most recent call last):
> File "/base/data/home/apps/frekshrekee/1.345048852802383422/gaehandler.py",
> line 97, in main
> run_wsgi_app(wsgiapp)
> File
> "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/util.py",
> line 97, in run_wsgi_app
> run_bare_wsgi_app(add_wsgi_middleware(application))
> File
> "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/util.py",
> line 117, in run_bare_wsgi_app
> for data in result:
> File
> "/base/python_runtime/python_lib/versions/1/google/appengine/ext/appstats/recording.py",
> line 857, in appstats_wsgi_wrapper
> result = app(environ, appstats_start_response)
> File "/base/data/home/apps/frekshrekee/1.345048852802383422/gaehandler.py",
> line 82, in wsgiapp
> return gluon.main.wsgibase(env, res)
> File "/base/data/home/apps/frekshrekee/1.345048852802383422/gluon/main.py",
> line 478, in wsgibase
> e = RestrictedError('Framework', '', '', locals())
> File
> "/base/data/home/apps/frekshrekee/1.345048852802383422/gluon/restricted.py",
> line 120, in __init__
> self.snapshot = snapshot(context=10,code=code,environment=environment)
> File
> "/base/data/home/apps/frekshrekee/1.345048852802383422/gluon/restricted.py",
> line 214, in snapshot
> records = inspect.getinnerframes(etb, context)
> File "/base/python_runtime/python_dist/lib/python2.5/inspect.py", line 876,
> in getinnerframes
> framelist.append((tb.tb_frame,) + getframeinfo(tb, context))
> File "/base/python_runtime/python_dist/lib/python2.5/inspect.py", line 840,
> in getframeinfo
> lines, lnum = findsource(frame)
> File "/base/python_runtime/python_dist/lib/python2.5/inspect.py", line 462,
> in findsource
> module = getmodule(object, file)
> File "/base/python_runtime/python_dist/lib/python2.5/inspect.py", line 436,
> in getmodule
> os.path.realpath(f)] = module.__name__
> File "/base/python_runtime/python_dist/lib/python2.5/posixpath.py", line
> 421, in realpath
> if islink(component):
> File "/base/python_runtime/python_dist/lib/python2.5/posixpath.py", line
> 159, in islink
> st = os.lstat(path)
>
>