在折腾Archlinux下安装OpenERP,可是在create页面创建数据库老是出错。信息如下,高手看看,是不是安装有问题,还是数据库没链接上阿。
OpenERP Server Error
Client Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/openerp/addons/web/http.py", line 203, in dispatch
response["result"] = method(self, **self.params)
File "/usr/lib/python2.7/site-packages/openerp/addons/web/controllers/main.py", line 769, in create
params['create_admin_pwd'])
File "/usr/lib/python2.7/site-packages/openerp/addons/web/session.py", line 31, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/usr/lib/python2.7/site-packages/openerp/addons/web/session.py", line 104, in send
raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)
Server Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/openerp/addons/web/session.py", line 90, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/usr/lib/python2.7/site-packages/openerp/netsvc.py", line 293, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/usr/lib/python2.7/site-packages/openerp/service/web_services.py", line 122, in dispatch
return fn(*params)
File "/usr/lib/python2.7/site-packages/openerp/service/web_services.py", line 167, in exp_create_database
self._create_empty_database(db_name)
File "/usr/lib/python2.7/site-packages/openerp/service/web_services.py", line 136, in _create_empty_database
cr.execute("""CREATE DATABASE "%s" ENCODING 'unicode' TEMPLATE "%s" """ % (name, chosen_template))
File "/usr/lib/python2.7/site-packages/openerp/sql_db.py", line 161, in wrapper
return f(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/sql_db.py", line 226, in execute
res = self._obj.execute(query, params)
DataError: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)
HINT: Use the same encoding as in the template database, or use template0 as template.