[9.0]非root权限无法启动odoo
-
CentOS 7.0
Odoo 9.0
问题1:
sudo执行odoo启动命令可以正常启动,但非root权限就无法启动,不知道什么问题??
提示如下:
Traceback (most recent call last):
File "/data/service/odoo/odoo.py", line 160, in <module>
main()
File "/data/service/odoo/odoo.py", line 156, in main
import openerp
File "/data/service/odoo/openerp/init.py", line 58, in <module>
import modules
File "/data/service/odoo/openerp/modules/init.py", line 8, in <module>
from . import db, graph, loading, migration, module, registry
File "/data/service/odoo/openerp/modules/graph.py", line 13, in <module>
import openerp.osv as osv
File "/data/service/odoo/openerp/osv/init.py", line 4, in <module>
import osv
File "/data/service/odoo/openerp/osv/osv.py", line 4, in <module>
from ..exceptions import except_orm
File "/data/service/odoo/openerp/exceptions.py", line 15, in <module>
from lxml import etree
File "lxml.etree.pyx", line 161, in init lxml.etree (src/lxml/lxml.etree.c:198645)
TypeError: encode() argument 1 must be string without null bytes, not unicode
不知道是不是跟python安装的时候是以root权限安装的有关联?