Does routes.py work on GAE? I've recently deployed an app which used
the 5-line routes.py from the book for routing robots.txt and
favicon.icon. I just wanted to get rid of that 100% error rate on
those two files. I recevied the following message. Only after
removing routes.py again did the app launch properly.
------------begin error message----------------
#
05-10 01:18PM 34.771
unable to import Rocket
#
E 05-10 01:18PM 34.774
Your routes.py has a syntax error. Please fix it before you restart
web2py
#
E 05-10 01:18PM 34.778
<type 'exceptions.SyntaxError'>: invalid syntax (<string>, line 3)
Traceback (most recent call last):
File "/base/data/home/apps/rms-solutions/beta.341858638445092536/
gaehandler.py", line 44, in <module>
import gluon.main
File "/base/data/home/apps/rms-solutions/beta.341858638445092536/
gluon/main.py", line 66, in <module>
rewrite.load()
File "/base/data/home/apps/rms-solutions/beta.341858638445092536/
gluon/rewrite.py", line 63, in load
raise e