Когда я запускаю django в отладчике pycharm, он работает очень медленно и через некоторое время выдает ошибки сломанной трубы. Любые идеи, как это исправить? Ниже вы можете увидеть результат из консоли:
[27/Feb/2012 15:44:24] "GET /media/tools/flexigrid/acme/images/load.gif HTTP/1.1" 200 1737
[27/Feb/2012 15:44:24] "GET /contextual-help/page-help/?url=%2Fmanage%2Fblacklist%2F HTTP/1.1" 200 35
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 56649)
----------------------------------------
Traceback (most recent call last):
File "/home/greg/.virtualenvs/acme/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 284, in run
self.finish_response()
File "/home/greg/.virtualenvs/acme/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 324, in finish_response
self.write(data)
File "/home/greg/.virtualenvs/acme/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 403, in write
self.send_headers()
File "/home/greg/.virtualenvs/acme/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 467, in send_headers
self.send_preamble()
File "/home/greg/.virtualenvs/acme/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 385, in send_preamble
'Date: %s\r\n' % http_date()
File "/usr/lib/python2.7/socket.py", line 324, in write
self.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
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 "/home/greg/.virtualenvs/acme/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 570, in __init__
BaseHTTPRequestHandler.__init__(self, *args, **kwargs)
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
[27/Feb/2012 15:44:49] "GET /media/tools/flexigrid/acme/images/pager-first.png HTTP/1.1" 200 321