Django + WebKit =管坏了 [英] Django + WebKit = Broken pipe

查看:173
本文介绍了Django + WebKit =管坏了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行Django 1.2开发服务器,每当我使用Chrome或Safari加载页面时,都会收到这些Broken Pipe错误消息。当他的开发人员服务器加载一个页面时,我的同事也会收到错误。我们在使用Opera或Firefox时没有这些错误。

I'm running the Django 1.2 development server and I get these Broken Pipe error messages whenever I load a page from it with Chrome or Safari. My co-worker is getting the error as well when he loads a page from his dev server. We don't have these errors when using Opera or Firefox.

Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/django/core/servers/basehttp.py", line 281, in run self.finish_response()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/django/core/servers/basehttp.py", line 321, in finish_response self.write(data)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/django/core/servers/basehttp.py", line 417, in write self._write(data)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/socket.py", line 300, in write self.flush()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/socket.py", line 286, in flush self._sock.sendall(buffer)
error: [Errno 32] Broken pipe

任何人都可以帮我吗?我会疯狂的这个!

Can anyone help me out? I'm going crazy over this!

推荐答案

这不是Django的问题。您的浏览器很可能会发生错误。

This is not a Django issue. Your browser is most likely doing something erroneous.


这是常见错误,当您的浏览器关闭
时,会发生
连接,而dev服务器是
仍然忙于发送数据。

This is common error which happens whenever your browser closes the connection while the dev server is still busy sending data.

检查这个Django机票了解更多信息。

这篇关于Django + WebKit =管坏了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆