[web2py] Re: Routes.py not working when deployed to GAE

2010-05-08 Thread Dane
Looks like the error is being raised in this block of rewrite.py.. is this due to an attempt to interact with the file system? def load(routes='routes.py'): symbols = {} if not os.path.exists(routes): return try: routesfp = open(routes, 'r') exec routesfp.read()

[web2py] Re: Routes.py not working when deployed to GAE

2010-05-08 Thread Dane
I tried this. It works locally, but still having problems when deployed. Now I'm getting a 500. Here's the traceback: : invalid syntax (, line 1) Traceback (most recent call last): File "/base/data/home/apps/tthultimate/1.341813257625966505/ gaehandler.py", line 42, in import gluon.main

[web2py] Re: Routes.py not working when deployed to GAE

2010-05-08 Thread mdipierro
Can you try? routes_in = ((/crossdomain.xml', '/init/static/crossdomain.xml'),) On May 8, 11:58 am, Dane wrote: > Hello, > > In my routes.py file, I have this line: > > routes_in = (('.*:/crossdomain.xml', '/init/static/crossdomain.xml'),) > > Working locally, if I go tohttp://localhost:8080/cro