跳转至内容
  • 版块
  • 标签
  • 热门
  • 用户
  • 群组
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(Flatly)
  • 不使用皮肤
折叠

Odoo 中文社区

  1. 主页
  2. 版块
  3. Odoo 新手求助
  4. Archlinux下安装OpenERP老出错,帮忙看看阿。

Archlinux下安装OpenERP老出错,帮忙看看阿。

已定时 已固定 已锁定 已移动 Odoo 新手求助
3 帖子 1 发布者 2.9k 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • H 离线
    H 离线
    hexaman
    写于 最后由 编辑
    #1

    在折腾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.

    1 条回复 最后回复
    0
    • H 离线
      H 离线
      hexaman
      写于 最后由 编辑
      #2

      ;D  多谢,果然如此。可惜没有安装中文包。

      The database cluster will be initialized with locale &quot;zh_CN.utf-8&quot;.<br />initdb: could not find suitable text search configuration for locale &quot;zh_CN.utf-8&quot;<br />The default text search configuration will be set to &quot;simple&quot;.<br />
      
      1 条回复 最后回复
      0

      • 登录

      • 没有帐号? 注册

      • 登录或注册以进行搜索。
      • 第一个帖子
        最后一个帖子
      0
      • 版块
      • 标签
      • 热门
      • 用户
      • 群组