openerp.service.server: Evented Service (longpolling) running on 0.0.0.0:8072
今天调试odoo时发现调试模式没法使用,从网络查找了一下发现出现上面的情况,找到了解决方案,http://www.lxway.com/591219401.htm
把odoo/openerp/__init__.py
import sys
evented = False
#if sys.modules.get("gevent") is not None:
# evented = True
下面的两个注释掉,因为我昨天装了gevent,具体错误原因还不知道,没有深入查找原因,等有空了找找原因,看着估计是因为多线程并发的原因吧,有空再看看,先这么解决用着吗
今天调试odoo时发现调试模式没法使用,从网络查找了一下发现出现上面的情况,找到了解决方案,http://www.lxway.com/591219401.htm
把odoo/openerp/__init__.py
import sys
evented = False
#if sys.modules.get("gevent") is not None:
# evented = True
下面的两个注释掉,因为我昨天装了gevent,具体错误原因还不知道,没有深入查找原因,等有空了找找原因,看着估计是因为多线程并发的原因吧,有空再看看,先这么解决用着吗