Re: [webpy] Webpy/Unittest noob question

2011-08-29 Thread unnamed....@gmail.com
Hey: check the web.py api request(self, localpart='/', method='GET', data=None, host='0.0.0.0:8080', headers=None, https=False, **kw) 2011/8/29 Otto : > Hi All, I'm new to python & webpy, and am trying to get a simple unit > test running. I have separated the test and application code in

Re: [webpy] spawn-fcgi + webpy

2011-08-09 Thread unnamed....@gmail.com
try to add head line #!/usr/bin/env python add line before run() func if __name__ == "__main__": web.wsgi.runwsgi = lambda func, addr=None: web.wsgi.runfcgi(func, addr) app.run() than chmod +x index.py 2011/5/11 Carlos RĂ­os Vera > On Tue, May 10, 2011 at 6:12 AM, Samuel Chen wrot

[webpy] how to debug in spawn-fcgi?

2011-05-13 Thread unnamed....@gmail.com
Hey All: I use nginx+spawn-fcgi+webpy. when run "python code.py", it works good. but when run in spawn-fcgi , I get 504 Gateway Time-out,and I don't konw why. so I just want to know how to debug in spawn-fcgi Thanks very much!! -- You received this message because you are sub