Community mailing list archives

community@mail.odoo.com

New Pycharm debug problem

by
cysnake4713
- 11/29/2014 00:53:45
Hi:
     I find a very tricky problem, When I'm using the newest pycharm 4 
to debug odoo v8, I got log like this:

/home/cysnake4713/pythonenv/tianv-erp/local/bin/python 
/home/cysnake4713/software/pycharm/helpers/pydev/pydevd.py --multiproc 
--client 127.0.0.1 --port 51864 --file 
/home/cysnake4713/pythonenv/tianv-erp/odoo/openerp-server -c 
/home/cysnake4713/pythonenv/tianv-erp/odoo/.openerp_serverrc
pydev debugger: process 4181 is connecting

Connected to pydev debugger (build 139.574)
2014-11-29 05:46:57,506 4181 INFO ? openerp: OpenERP version 8.0
2014-11-29 05:46:57,506 4181 INFO ? openerp: addons paths: 
['/home/cysnake4713/.local/share/OpenERP/addons/8.0', 
u'/home/cysnake4713/pythonenv/tianv-erp/odoo/addons', 
u'/home/cysnake4713/githome/tianv-erp', 
'/home/cysnake4713/pythonenv/tianv-erp/odoo/openerp/addons']
2014-11-29 05:46:57,506 4181 INFO ? openerp: database hostname: localhost
2014-11-29 05:46:57,506 4181 INFO ? openerp: database port: 5433
2014-11-29 05:46:57,506 4181 INFO ? openerp: database user: openerp_updis
2014-11-29 05:46:58,006 4181 INFO ? openerp.service.server: Evented 
Service (longpolling) running on 0.0.0.0:8072

There is no service listening 8069, So I can't browse odoo in any browser!

However, When I'm using pycharm4 to run odoo v8, Log like this:

/home/cysnake4713/pythonenv/tianv-erp/local/bin/python 
/home/cysnake4713/pythonenv/tianv-erp/odoo/openerp-server -c 
/home/cysnake4713/pythonenv/tianv-erp/odoo/.openerp_serverrc
2014-11-29 05:48:28,164 4218 INFO ? openerp: OpenERP version 8.0
2014-11-29 05:48:28,164 4218 INFO ? openerp: addons paths: 
['/home/cysnake4713/.local/share/OpenERP/addons/8.0', 
u'/home/cysnake4713/pythonenv/tianv-erp/odoo/addons', 
u'/home/cysnake4713/githome/tianv-erp', 
'/home/cysnake4713/pythonenv/tianv-erp/odoo/openerp/addons']
2014-11-29 05:48:28,164 4218 INFO ? openerp: database hostname: localhost
2014-11-29 05:48:28,164 4218 INFO ? openerp: database port: 5433
2014-11-29 05:48:28,164 4218 INFO ? openerp: database user: openerp_updis
2014-11-29 05:48:28,255 4218 INFO ? openerp.service.server: HTTP service 
(werkzeug) running on 0.0.0.0:8069

Everything is working great,

So I also try to debug use pycharm 3.4  , there is no problem, service 
still listen 8069,

I wonder someone have the same problem? It's seems be pycharm version 
problem, but I really don't know how to fix it. Maybe some parameters 
not set right in debug ?