oh... you are going to be busy! Congratulations!!!
On May 25, 9:44 pm, Chris S <sanders.ch...@gmail.com> wrote: > I copied the above posted lines into a file named routes.py. > > Dont prioritize this on my behalf. I'm gonna be busy for a bit, my > daughter was born today, so web2py project wont be seeing testing for > a few weeks :) > > On May 25, 8:23 pm, Richard <richar...@gmail.com> wrote: > > > did you copy routes.example.py to routes.py? > > > On May 16, 1:00 am, Chris S <sanders.ch...@gmail.com> wrote: > > > > I've updated my code and run it again. Sorry for the delay last time > > > I downloaded a web2py trunk it was in Subversion. While it didn't > > > take me long to get it in Mercurial it did trigger a lot of Subversion/ > > > Mercurial/Git research simply because I had not heard of them > > > before :P > > > > New error log: > > > ----------------------------------- > > > 05-15 07:52AM 35.104 > > > unable to import Rocket > > > E 05-15 07:52AM 35.111 > > > Your routes.py has a syntax error Please fix it before you restart > > > web2py > > > Traceback (most recent call last): > > > File "/base/data/home/apps/rms-solutions/beta.341969347619573291/ > > > gluon/rewrite.py", line 58, in load > > > exec routesfp.read() in symbols > > > File "<string>", line 3 > > > routes_in = (('/favicon.ico', '/init/static/favicon.ico'), > > > > E 05-15 07:52AM 35.122 > > > ^ > > > SyntaxError: invalid syntax > > > E 05-15 07:52AM 35.123 > > > <type 'exceptions.SyntaxError'>: invalid syntax (<string>, line 3) > > > Traceback (most recent call last): > > > File "/base/data/home/apps/rms-solutions/beta.341969347619573291/ > > > gaehandler.py", line 44, in <module> > > > import gluon.main > > > File "/base/data/home/apps/rms-solutions/beta.341969347619573291/ > > > gluon/main.py", line 66, in <module> > > > rewrite.load() > > > File "/base/data/home/apps/rms-solutions/beta.341969347619573291/ > > > gluon/rewrite.py", line 66, in load > > > raise e > > > ----------------------------------- > > > > I thought it looked like I had a problem with a line continuation so I > > > changed routes.py to: > > > > routes_in = (('/favicon.ico', '/init/static/favicon.ico'),('/ > > > robots.txt', '/init/static/robots.txt')) > > > routes_out = () > > > > However it gave the exact same error as above. Hope this helps. > > > > On May 13, 12:25 am, Dane <dane.schnei...@gmail.com> wrote: > > > > > Looks like same problem I've been having. > > > > > On May 10, 5:23 pm, Chris S <sanders.ch...@gmail.com> wrote: > > > > > > Doesroutes.pywork onGAE? I've recently deployed an app which used > > > > > the 5-lineroutes.pyfrom 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 > > > > > removingroutes.pyagain 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 > > > > > Yourroutes.pyhas 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