0
这真是奇怪的行为。当我多次发布POST请求时,django突然开始忽略它们。我可以在firebug中看到,但调试服务器什么也没有显示。重新启动服务器不起作用。更重要的是,当我尝试重新启动服务器时发生这种情况时,我始终得到:django服务器忽略POST请求
Error: That port is already in use.
重新启动整个机器有所帮助。
我认为这可能与我有但
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
错误解决方法应用后事件:上Understand python threading bug
我仍然有同样的描述
import threading
threading._DummyThread._Thread__stop = lambda x: 42
问题。 我不知道何来诊断问题的根源。
也许这将是有益的:
OS: ubuntu 12.04 LTS
Processor: Intel® Core™ i7-2720QM CPU @ 2.20GHz × 4
Python 2.7.3
Django 1.4.1
任何帮助,将不胜感激。
我已经遇到过,我只是删除终端,然后再次启动它。原因是数据的长期过程,系统找不到正确的路径,这就是为什么它挂起 – catherine 2013-02-13 12:31:41
只是跟踪你的代码,可能有错误... – catherine 2013-02-13 12:32:25
这是与开发服务器? – Rohan 2013-02-13 12:33:17