Search code examples
eclipsedebuggingodooopenerp-8

Odoo v8 server won't start from eclipse


I am trying to start Odoo v8 server from Eclipse ide. I have set the debug configurations and have given the config file path in the arguments as

-c /etc/odoo-server.conf.

When I do debug as python run, I do not get any error. The log file also does not show any error. But when I open localhost:8069 from the browser.

I get server not found error. This does not happen when I start the server through the terminal. Can anyone please tell me what could be the problem?

Below is the odoo-server.conf content:

[options]
; This is the password that allows database operations:
admin_passwd = admin
db_host = False
db_port = False
db_user = odoo
db_password = odoo
addons_path = /opt/odoo/addons
logfile = /var/log/odoo/odoo-server.log

Below is the server traceback:

2014-11-15 07:47:06,205 3875 INFO ? openerp: OpenERP version 8.0 
2014-11-15 07:47:06,206 3875 INFO ? openerp: addons paths: ['/home/hassan/.local/share/Odoo/addons/8.0', u'/opt/odoo/addons', '/opt/odoo/openerp/addons'] 
2014-11-15 07:47:06,207 3875 INFO ? openerp: database hostname: localhost 
2014-11-15 07:47:06,207 3875 INFO ? openerp: database port: 5432 
2014-11-15 07:47:06,207 3875 INFO ? openerp: database user: odoo 
2014-11-15 07:47:07,046 3875 INFO ? openerp.service.server: Evented Service (longpolling) running on 0.0.0.0:8072

Solution

  • Try to check whether the configuration file that you have set is having appropriate access rights. And try not to log the errors into a file, instead allow it show it on the console on Eclipse IDE.