Openerp 6.1-1 ubuntu 12.04 安装成功 创建数据库时报错
-
报错内容
Could not create database 'opnerp': Traceback (most recent call last): File "/opt/openerp/server/openerp/addons/web/common/http.py", line 592, in send result = openerp.netsvc.dispatch_rpc(service_name, method, args) File "/opt/openerp/server/openerp/netsvc.py", line 360, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/opt/openerp/server/openerp/service/web_services.py", line 117, in dispatch return fn(*params) File "/opt/openerp/server/openerp/service/web_services.py", line 137, in exp_create self._create_empty_database(db_name) File "/opt/openerp/server/openerp/service/web_services.py", line 125, in _create_empty_database cr.execute("""CREATE DATABASE "%s" ENCODING 'unicode' TEMPLATE "%s" """ % (name, chosen_template)) File "/opt/openerp/server/openerp/sql_db.py", line 152, in wrapper return f(self, *args, **kwargs) File "/opt/openerp/server/openerp/sql_db.py", line 212, in execute res = self._obj.execute(query, params) DataError: encoding UTF8 does not match locale zh_CN DETAIL: The chosen LC_CTYPE setting requires encoding EUC_CN.
应该是字符编码的问题 不知道怎么解决
按照ubuntu时选的是中文