i have a view which render a template with 200 records, i got errors
as following:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\django-1.2.3-py2.7.egg\django
\core\servers
\basehttp.py", line 281, in run
self.finish_response()
File "C:\Python27\lib\site-packages\django-1.2.3-py2.7.egg\django
\core\servers
\basehttp.py", line 321, in finish_response
self.write(data)
File "C:\Python27\lib\site-packages\django-1.2.3-py2.7.egg\django
\core\servers
\basehttp.py", line 400, in write
self.send_headers()
File "C:\Python27\lib\site-packages\django-1.2.3-py2.7.egg\django
\core\servers
\basehttp.py", line 464, in send_headers
self.send_preamble()
File "C:\Python27\lib\site-packages\django-1.2.3-py2.7.egg\django
\core\servers
\basehttp.py", line 382, in send_preamble
'Date: %s\r\n' % http_date()
File "C:\Python27\lib\socket.py", line 322, in write
self.flush()
File "C:\Python27\lib\socket.py", line 301, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10053]
----------------------------------------
Exception happened during processing of request from ('127.0.0.1',
49971)
Traceback (most recent call last):
File "C:\Python27\lib\SocketServer.py", line 284, in
_handle_request_noblock
self.process_request(request, client_address)
File "C:\Python27\lib\SocketServer.py", line 310, in process_request
self.finish_request(request, client_address)
File "C:\Python27\lib\SocketServer.py", line 323, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Python27\lib\site-packages\django-1.2.3-py2.7.egg\django
\core\servers
\basehttp.py", line 562, in __init__
BaseHTTPRequestHandler.__init__(self, *args, **kwargs)
File "C:\Python27\lib\SocketServer.py", line 641, in __init__
self.finish()
File "C:\Python27\lib\SocketServer.py", line 694, in finish
self.wfile.flush()
File "C:\Python27\lib\socket.py", line 301, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10053]
----------------------------------------
when debuging, i found the problem on return
HttpResponse(vt.render(c)).
anyone know how to solve this problem?
thanks a lot.
--
You received this message because you are subscribed to the Google Groups
"Django users" 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/django-users?hl=en.