将odoo部署在云端
-
大家好,
我准备将odoo部署在云端,之前在本地PC机器上,采用ubuntu14.04 desktop版本安装非常顺利;但准备部署到云端上,出现了如下报错:
Last login: Wed Jul 22 07:57:14 2015 from 117.185.100.211
root@iZ23n549v4yZ:~# sudo su - odoo -s /bin/bash
odoo@iZ23n549v4yZ:~$ /opt/odoo/openerp-server
Traceback (most recent call last):
File "/opt/odoo/openerp-server", line 2, in <module>
import openerp
File "/opt/odoo/openerp/init.py", line 76, in <module>
import modules
File "/opt/odoo/openerp/modules/init.py", line 27, in <module>
from . import db, graph, loading, migration, module, registry
File "/opt/odoo/openerp/modules/loading.py", line 44, in <module>
from openerp.modules.module import initialize_sys_path, <br /> File "/opt/odoo/openerp/modules/module.py", line 37, in <module>
import unittest2
ImportError: No module named unittest2
我去修改了__init__.py中的时区问题;同时修改了odoo/addons/web/static/src/js/openerpframework.js中的UTC字符去除;
可依旧系统报错;
难道是12.02的问题?我desktop也是14.04啊;系统时区如今也设置成了上海;怎么还是不对?
求高手指点;非常感谢;