librelist archives

« back to archive

broken pipe

broken pipe

From:
Alex K
Date:
2012-01-18 @ 10:53
Sometimes in our dev server when we run Flask webserver via
python manage.py runserver -t 0.0.0.0 -p 5555

we got exception like this:

Exception happened during processing of request from ('127.0.0.1', 34226)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 284, in
_handle_request_noblock
    self.process_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 310, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 641, in __init__
    self.finish()
  File "/usr/lib/python2.7/SocketServer.py", line 694, in finish
    self.wfile.flush()
  File "/usr/lib/python2.7/socket.py", line 303, in flush
    self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe


It's ok or it can be fixed?

Thanks!

Re: [flask] broken pipe

From:
Bastian Hoyer
Date:
2012-01-18 @ 11:49
this usualy means hat you pressed stop in your Browser while Tier request
was still running
Am 18.01.2012 11:55 schrieb "Alex K" <lestatcheb@googlemail.com>:

> Sometimes in our dev server when we run Flask webserver via
> python manage.py runserver -t 0.0.0.0 -p 5555
>
> we got exception like this:
>
> Exception happened during processing of request from ('127.0.0.1', 34226)
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/SocketServer.py", line 284, in
> _handle_request_noblock
>     self.process_request(request, client_address)
>   File "/usr/lib/python2.7/SocketServer.py", line 310, in process_request
>     self.finish_request(request, client_address)
>   File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request
>     self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python2.7/SocketServer.py", line 641, in __init__
>     self.finish()
>   File "/usr/lib/python2.7/SocketServer.py", line 694, in finish
>     self.wfile.flush()
>   File "/usr/lib/python2.7/socket.py", line 303, in flush
>     self._sock.sendall(view[write_offset:write_offset+buffer_size])
> error: [Errno 32] Broken pipe
>
>
> It's ok or it can be fixed?
>
> Thanks!
>
>
>