Re: [web2py] Re: Displaying custom error message instead of the ticketing system
On Sunday, November 6, 2011 11:51:23 PM UTC-5, Sathvik Ponangi wrote: Restarting my AppEngine server has fixed this issue. Thank you all for your help. Yes, you always need to do a restart whenever you change routes.py.
Re: [web2py] Re: Displaying custom error message instead of the ticketing system
Thanks! On Mon, Nov 7, 2011 at 8:21 PM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: You can also try call: http://.../admin/default/reload_routes On Nov 7, 6:47 am, Anthony abasta...@gmail.com wrote: On Sunday, November 6, 2011 11:51:23 PM UTC-5, Sathvik Ponangi wrote: Restarting my AppEngine server has fixed this issue. Thank you all for your help. Yes, you always need to do a restart whenever you change routes.py. -- Sathvik Ponangi
Re: [web2py] Re: Displaying custom error message instead of the ticketing system
@Massimo: I've tried it with routes_onerror = [('*/*', '/init/static/error.* *html')] in routes.py it still shows me a ticket. @Anthony: Of course, I can access it directly at http://localhost:8080/init/static/error.html On Mon, Nov 7, 2011 at 2:03 AM, Anthony abasta...@gmail.com wrote: Is there an actual '/init/static/error.html' file in your GAE installation of web2py? On Sunday, November 6, 2011 10:18:29 AM UTC-5, Sathvik Ponangi wrote: Hello all, How do I display a custom error message instead of the ticket-issued screen? I've tried using the default routes.py, by setting : routes_onerror = [(r'*/*',r'/init/static/error.**html')] Thanks in advance. With Regards, Sathvik -- Sathvik Ponangi
Re: [web2py] Re: Displaying custom error message instead of the ticketing system
Restarting my AppEngine server has fixed this issue. Thank you all for your help. On Mon, Nov 7, 2011 at 10:05 AM, Sathvik Ponangi psath...@gmail.com wrote: @Massimo: I've tried it with routes_onerror = [('*/*', '/init/static/error.**html')] in routes.py it still shows me a ticket. @Anthony: Of course, I can access it directly at http://localhost:8080/init/static/error.html On Mon, Nov 7, 2011 at 2:03 AM, Anthony abasta...@gmail.com wrote: Is there an actual '/init/static/error.html' file in your GAE installation of web2py? On Sunday, November 6, 2011 10:18:29 AM UTC-5, Sathvik Ponangi wrote: Hello all, How do I display a custom error message instead of the ticket-issued screen? I've tried using the default routes.py, by setting : routes_onerror = [(r'*/*',r'/init/static/error.**html')] Thanks in advance. With Regards, Sathvik -- Sathvik Ponangi -- Sathvik Ponangi