On Oct 17, 2008, at 8:14 AM, Michael van Tellingen wrote:
>
> Heya,
>
> I'm currently pretty much reliably triggering the following exception
> using IE6 (and some iframe/form post stuff):
>
> ----------------------------------------
> Exception happened during processing of request from
> ('192.168.131.1', 58222)
> Traceback (most recent call last):
> File "/Library/Python/2.5/site-packages/Paste-1.7.1-py2.5.egg/paste/
> httpserver.py",
> line 1056, in process_request_in_thread
> self.finish_request(request, client_address)
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/SocketServer.py",
> line 254, in finish_request
> self.RequestHandlerClass(request, client_address, self)
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/SocketServer.py",
> line 522, in __init__
> self.handle()
> File "/Library/Python/2.5/site-packages/Paste-1.7.1-py2.5.egg/paste/
> httpserver.py",
> line 432, in handle
> BaseHTTPRequestHandler.handle(self)
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/BaseHTTPServer.py",
> line 316, in handle
> self.handle_one_request()
> File "/Library/Python/2.5/site-packages/Paste-1.7.1-py2.5.egg/paste/
> httpserver.py",
> line 427, in handle_one_request
> self.wsgi_execute()
> File "/Library/Python/2.5/site-packages/Paste-1.7.1-py2.5.egg/paste/
> httpserver.py",
> line 295, in wsgi_execute
> result.close()
> RuntimeError: generator ignored GeneratorExit
> ----------------------------------------
>
>
> Putting the result.close() call in a try/except clause will allow
> paster to send the data to the client, thus this is currently my
> workaround.
How do we produce this? I assume you're using a generator in a Pylons
controller, is it that easy or is there anything else involved?
--
Philip Jenvey
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---