On 21 Jul 2012, at 7:42 AM, Massimo Di Pierro wrote: > Is this reproducible? Can you check if you get the same problem with stable?
Please try enabling router logging. In routes.py, there is (or should be) a line like this: logging = 'debug' Try setting it to 'info', which is IIRC the default logging threshold, and if necessary enable some kind of logging that you can see. Thanks. > > I do not think this is a uWSGI issue. Please open an issue on google code. > > On Saturday, 21 July 2012 09:28:43 UTC-5, Neil wrote: > Trunk. routes seems to work for a minute or two, and then stops until I click > the reload button. Not sure if this is a uwsgi issue or not. > > On Saturday, July 21, 2012 3:11:29 PM UTC+1, Massimo Di Pierro wrote: > Using stable or trunk? > > > On Saturday, 21 July 2012 07:06:02 UTC-5, Neil wrote: > I'm going through this exact thing at the moment. I was wondering if it was > because I am testing out the dev version of web2py, but I guess not. If I > click the "reload routes" link on the main admin page it works. At least > temporarily - I'm experiencing some strange behaviour. I know I have to click > the button every time I restart uwsgi. Let me know if you figure anything out. > > On Saturday, July 21, 2012 12:16:28 PM UTC+1, Alec Taylor wrote: > Does uWSGI work with routes.py? > > The section in chapter 1 of the "web2py Application Development Cookbook" > didn't mentioned routes... > > But when I copied my routes.py over and started the uWSGI server, I became > unable to get to any page apart from the `/admin/` ones. I couldn't even > access the welcome app! > > FYI: Here is my routes.py - http://pastebin.com/KuVAgiCR > > (I plan on changing that routes even further, see: > https://groups.google.com/forum/#!topic/web2py/Zmzo3BeQQ7g for my plans) > > How do I get routing to work properly with uWSGI? > > Thanks for all suggestions, > > Alec Taylor > > --

