Any news on this bug?  I havent seen anything.

Chris S wrote:
> Apparently it doesn't copy/paste correctly.  The second routes.py that
> I used kept the entire routes_in in a single line.
>
> On May 15, 10:00 am, Chris S <[email protected]> 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 <[email protected]> wrote:
> >
> >
> >
> > > Looks like same problem I've been having.
> >
> > > On May 10, 5:23 pm, Chris S <[email protected]> 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

Reply via email to