Community mailing list archives

community@mail.odoo.com

Re: Odoo V8 Eclipse Debug

by
kevin
- 01/06/2015 01:49:38
hi
this problem is caused by new version of pydev debugger, it imported
gevent on starting debug. Odoo check whether gevent was imported to
enable gevent mode.
So, comment the following lines debug work fine.

+++ b/openerp/__init__.py
@@ -27,8 +27,8 @@
 # Is the server running with gevent.
 import sys
 evented = False
-if sys.modules.get("gevent") is not None:
-    evented = True
+# if sys.modules.get("gevent") is not None:
+#     evented = True



KEVIN WANG

在 2015-01-05一的 22:12 +0000,Gastón Pablo Pérez写道:
> Hi!
> 
> 
> How can I configure the debug in eclipse to run odoo v8?
> 
> 
> If I configure as in opernerp 7, odoo runs only in port 8072 and no
> run properly in 8069
> 
> 
> thanks in advance
> 
> 
> _______________________________________________
> Mailing-List: https://www.odoo.com/groups/community-59
> Post to: mailto:community@mail.odoo.com
> Unsubscribe: https://www.odoo.com/groups?unsubscribe
> 
> 
>