Hello there! I've been getting this weird error since I've switched to web.py, where I've written a small program, which reads a file, then sends header to the browser along with the content of a file (feeds the file line-by-line to the browser).
I keep getting these in my server: Exception exceptions.RuntimeError: 'generator ignored GeneratorExit' in <generator object at 0xc60200> ignored Followed by: 2010-09-12 01:11:32: (server.c.1258) NOTE: a request for /6287/full/Kagiso_Demon_Magic.png timed out after writing 849682 bytes. We waited 360 seconds. If this a problem increase server.max-write-idle 2010-09-12 01:11:36: (server.c.1258) NOTE: a request for /6287/full/Kagiso_Demon_Magic.png timed out after writing 463818 bytes. We waited 360 seconds. If this a problem increase server.max-write-idle 2010-09-12 01:16:21: (server.c.1258) NOTE: a request for /6215/full/Fursona_Ref_2010.png timed out after writing 68238 bytes. We waited 360 seconds. If this a problem increase server.max-write-idle 2010-09-12 01:16:22: (server.c.1258) NOTE: a request for /6215/full/Fursona_Ref_2010.png timed out after writing 68238 bytes. We waited 360 seconds. If this a problem increase server.max-write-idle 2010-09-12 01:16:28: (server.c.1258) NOTE: a request for /6215/full/Fursona_Ref_2010.png timed out after writing 585736 bytes. We waited 360 seconds. If this a problem increase server.max-write-idle I've did a research on these things, and it looks like it has to be a Python issue... Specifically Python 2.5. ( http://www.algorithm.co.il/blogs/index.php/programming/python/generatorexit-another-reason-to-upgrade-to-python-2-6/) HOWEVER; Some programs, that were written in python, had a workaround for this issue. For instance: ~ Trac: http://trac.edgewall.org/ticket/5339 ~ CherryPy: http://www.cherrypy.org/ticket/693 >From what I managed to gather; This is a lethal blend of Python 2.5 and fcgi. I could be wrong, since I've only found this for Lighty / apache FCGI and python. And unfortunately, I don't have a luxury to upgrade to Python 2.6, but if I could, I'd did it in a heartbeat. My code (if anyone is interested): http://pastebin.com/cpBXwf8k Thanks. -- http://www.wolfhowlmedia.com -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
