Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
StopIteration Exceptions for Gevent worker #790
I'm getting this, every time.
This is a test project that elicits the same result (it's a simple, unexceptional project using gevent). Traditionally, I don't use gevent workers. However, I did on a recent project, though I didn't see any errors until last night (which I can't explain).
bind = 'unix:/tmp/gevent.gunicorn.sock' worker_class = 'gevent'
import web class HandleMe(object): def GET(self): return 'xyz' URLS = ( '/', HandleMe, ) app = web.application( URLS, globals()) wsgi = app.wsgifunc()
I get a result back, but it's always followed-up by this exception.
The request shouldn't return an error. I don't understand... I'm getting the intended string back, and it's a 200:
...Why is the log indicating an error, and why am I getting back exactly what's expected if it is an error?
The "--config-check" option doesn't appear valid. It's not in the configuration documentation, and I get an error when passing as an option:
How am I supposed to use it?
Everything looks fine with the config. I haven't yet tested the other PR, so the version I'm testing with hasn't changed.
I'm assuming that your commit fixed it.
I just hadn't had the opportunity yet.
Later, I went back to the application that experienced it to begin with,
On Sun, Jun 15, 2014 at 10:59 PM, Benoit Chesneau email@example.com