Hi

I guess this bug has not been fixed yet?

I am getting the following error:

unable to import Rocket
Your routes.py has a syntax error Please fix it before you restart web2py
Traceback (most recent call last):
  File "/base/data/home/apps/reviewround/1.344628390884008259/gluon/rewrite.py",
line 106, in load
    exec routesfp.read() in symbols
  File "<string>", line 3

   ^
SyntaxError: invalid syntax

<type 'exceptions.SyntaxError'>: invalid syntax (<string>, line 3)
Traceback (most recent call last):
  File "/base/data/home/apps/reviewround/1.344628390884008259/gaehandler.py",
line 52, in <module>
    import gluon.main
  File "/base/data/home/apps/reviewround/1.344628390884008259/gluon/main.py",
line 66, in <module>
    rewrite.load()
  File "/base/data/home/apps/reviewround/1.344628390884008259/gluon/rewrite.py",
line 114, in load
    raise e
<type 'exceptions.SyntaxError'>: invalid syntax (<string>, line 3)



The routes.py looks like :
#!/usr/bin/python
# -*- coding: utf-8 -*-

default_application = 'reviewround'     # ordinarily set in base routes.py
default_controller = 'default'          # ordinarily set in app-specific
routes.py
default_function = 'index'


routes_in = ( ('/', '/reviewround/default/index'),)
routes_out = ( ('/reviewround/default/index', '/'),)



thanks
Miguel

Reply via email to