0
我注意到,當我在調試模式下開發Django應用程序,我有時看到我的服務器標準輸出的輸出:Django開發服務器問題
Traceback (most recent call last):
File "/Users/josephmisiti/projects/temp/lib/python2.6/site-packages/django/core/servers/basehttp.py", line 284, in run
self.finish_response()
File "/Users/josephmisiti/projects/temp/lib/python2.6/site-packages/django/core/servers/basehttp.py", line 324, in finish_response
self.write(data)
File "/Users/josephmisiti/projects/temp/lib/python2.6/site-packages/django/core/servers/basehttp.py", line 403, in write
self.send_headers()
File "/Users/josephmisiti/projects/temp/lib/python2.6/site-packages/django/core/servers/basehttp.py", line 467, in send_headers
self.send_preamble()
File "/Users/josephmisiti//projects/temp/lib/python2.6/site-packages/django/core/servers/basehttp.py", line 385, in send_preamble
'Date: %s\r\n' % http_date()
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/socket.py", line 297, in write
self.flush()
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/socket.py", line 284, in flush
self._sock.sendall(buffer)
error: [Errno 32] Broken pipe
[27/Aug/2011 11:54:14] "GET/HTTP/1.1" 2
有人能告訴我,爲什麼發生這種情況?
+ 1「不要擔心」! –
感謝您的幫助 – josephmisiti