Take the 2-minute tour ×

When developing a web2py application, its pretty normal to have various syntax errors, db issues and such.

However, when debugging these problems (in a non production system), a ticket link is presented by default, instead of the actual ticket.

Is there a way to auto redirect to the actual ticket , eliminating the need to click (and wait for the actual ticket to load)?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

Try adding something like the following to your /web2py/routes.py file:

    <script language="javascript">
    <!-- this is junk text else IE does not display the page: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx //-->

For more details, see Routes on Error in the online book.

share|improve this answer
Works great! Thank you! –  Tom Feiner Aug 17 '11 at 15:13

Your Answer


