Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

running server for openerp6.1 on centos5.8 for python2.6

By
richa soni
on 10/17/13, 7:08 AM 964 views

I am trying to start openerp6.1 server for python2.6 on Centos 5.8 . and i am getting below error.. could you please have a look on this problem..

[erp@openerp bin]$ python2.6 openerp-server.py --addons-path=/home/erp/De_Mellows/addons-6.1/,//home/erp/De_Mellows/web-client-6.1/addons/ --xmlrpc-port=8067 --netrpc-port=8066

DEPRECATED: you are starting the OpenERP server with its old path,

please use the new executable (available in the parent directory).

Traceback (most recent call last): File "openerp-server", line 42, in ? import openerp File "/home/erp/De_Mellows/server-6.1/openerp/__init__.py", line 28, in ? import addons File "/home/erp/De_Mellows/server-6.1/openerp/addons/__init__.py", line 38, in ? from openerp.modules import get_module_resource, get_module_path File "/home/erp/De_Mellows/server-6.1/openerp/modules/__init__.py", line 28, in ? import openerp.modules.graph File "/home/erp/De_Mellows/server-6.1/openerp/modules/graph.py", line 32, in ? import openerp.osv as osv File "/home/erp/De_Mellows/server-6.1/openerp/osv/__init__.py", line 22, in ? import osv File "/home/erp/De_Mellows/server-6.1/openerp/osv/osv.py", line 98 finally: ^ SyntaxError: invalid syntax

Have you tried using relative paths rather than absolute paths? Also, I'm noticing you have two leading slashes for the web client addons, which would cause an error.

Brett Lehrer
on 10/21/13, 4:15 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 10/17/13, 7:08 AM
Seen: 964 times
Last updated: 3/16/15, 8:10 AM