大家好,在安装odoo时,出现系统报错;求解决;
Traceback (most recent call last):
File "/opt/odoo/openerp/http.py", line 537, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/openerp/http.py", line 574, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/openerp/http.py", line 311, in _call_function
return self.endpoint(*args, **kwargs)
File "/opt/odoo/openerp/http.py", line 803, in call
return self.method(*args, **kw)
File "/opt/odoo/openerp/http.py", line 403, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/addons/web/controllers/main.py", line 703, in create
params['create_admin_pwd'])
File "/opt/odoo/openerp/http.py", line 879, in proxy_method
result = dispatch_rpc(self.service_name, method, args)
File "/opt/odoo/openerp/http.py", line 115, in dispatch_rpc
result = dispatch(method, params)
File "/opt/odoo/openerp/service/db.py", line 65, in dispatch
security.check_super(passwd)
File "/opt/odoo/openerp/service/security.py", line 33, in check_super
raise openerp.exceptions.AccessDenied()
AccessDenied: Access denied.
357709468
-
Http.py报错的问题,求教 -
将odoo部署在云端你好,我sudo apt-get install python-unittest2 了,依旧还是报错;能否再指导一下?
-
将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啊;系统时区如今也设置成了上海;怎么还是不对?
求高手指点;非常感谢;