Hi
Working on YAWN ( a CVIM browser ) which can use werkzeug's run_simple
function to run YAWN application as a daemon.
This works well except for "static" files which are returned as empty, and
sometimes with the error message:
127.0.0.1 - - [15/Oct/2015 09:07:19] "GET
/static/ui-lightness/images/openwbem.png HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 60401)
Traceback (most recent call last):
File "C:\Python27\Lib\SocketServer.py", line 295, in
_handle_request_noblock
self.process_request(request, client_address)
File "C:\Python27\Lib\SocketServer.py", line 321, in process_request
self.finish_request(request, client_address)
File "C:\Python27\Lib\SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Python27\Lib\SocketServer.py", line 657, in __init__
self.finish()
File "C:\Python27\Lib\SocketServer.py", line 716, in finish
self.wfile.close()
File "C:\Python27\Lib\socket.py", line 283, in close
self.flush()
File "C:\Python27\Lib\socket.py", line 307, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10054] An existing connection was forcibly closed by the
remote host
----------------------------------------
FLASK (
http://stackoverflow.com/questions/17787023/python-how-to-catch-a-flask-except-like-this
) has apparently the same problem.
It happens with CSS, javascript or image files, unpredictably, about half
of times. The machine is not loaded nor the network.
Any idea please ?
Thanks
--
You received this message because you are subscribed to the Google Groups
"pocoo-libs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pocoo-libs.
For more options, visit https://groups.google.com/d/optout.