Hi Massimo,
I'm trying to deploy my web2py app on GAE and am repeatedly getting
the following error:
E 02-23 11:59AM 10.449
Your routes.py has a syntax error. Please fix it before you restart
web2py
E 02-23 11:59AM 10.474
<type 'exceptions.SyntaxError'>: invalid syntax (<string>, line 1)
Traceback (most recent call last):
File "/base/data/home/apps/xyzapp/1.340095668641286505/
gaehandler.py", line 42, in <module>
import gluon.main
File "/base/data/home/apps/xyzapp/1.340095668641286505/gluon/
main.py", line 105, in <module>
rewrite.load()
File "/base/data/home/apps/xyzapp/1.340095668641286505/gluon/
rewrite.py", line 45, in load
raise e
Here's my routes.py file:
---
routes_in = (('/$c/$f','/init/$c/$f'),)
routes_out = (('/init/$c/$f','/$c/$f'),)
---
This works fine on localhost. I'm using web2py from the trunk
(1.75.4).
Thanks in advance,
Vishal
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.