-1

我在本地 debian jessie 服务器上使用 odoo 9。我在没有演示数据的情况下安装,并安装了基本应用程序(如会计、销售、crm 等)

安装后,我将 odoo 配置为非 root 用户,一切正常。

我看到了可用的选项,并且可以访问会计应用程序,但是当我重新启动计算机并再次启动 odoo 服务器并尝试打开会计应用程序时,出现以下错误。

任何人都知道我该如何解决?

谢谢!

Odoo 服务器错误

Traceback (most recent call last):
  File "/home/user1/no_root/odoo-9/openerp/http.py", line 643, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/home/user1/no_root/odoo-9/openerp/http.py", line 680, in dispatch
    result = self._call_function(**self.params)
  File "/home/user1/no_root/odoo-9/openerp/http.py", line 316, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/user1/no_root/odoo-9/openerp/service/model.py", line 118, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/user1/no_root/odoo-9/openerp/http.py", line 309, in checked_call
    result = self.endpoint(*a, **kw)
  File "/home/user1/no_root/odoo-9/openerp/http.py", line 959, in __call__
    return self.method(*args, **kw)
  File "/home/user1/no_root/odoo-9/openerp/http.py", line 509, in response_wrap
    response = f(*args, **kw)
  File "/home/user1/no_root/odoo-9/openerp/addons/web/controllers/main.py", line 892, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/home/user1/no_root/odoo-9/openerp/addons/web/controllers/main.py", line 884, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File "/home/user1/no_root/odoo-9/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/user1/no_root/odoo-9/openerp/api.py", line 354, in old_api
    result = method(recs, *args, **kwargs)
  File "/home/user1/no_root/odoo-9/openerp/addons/web_planner/models/web_planner.py", line 45, in render
    return self.env['ir.ui.view'].browse(template_id).render(values=values)
  File "/home/user1/no_root/odoo-9/openerp/api.py", line 248, in wrapper
    return new_api(self, *args, **kwargs)
  File "/home/user1/no_root/odoo-9/openerp/api.py", line 574, in new_api
    result = method(self._model, cr, uid, self.ids, *args, **old_kwargs)
  File "/home/user1/no_root/odoo-9/openerp/addons/web_editor/models/ir_ui_view.py", line 29, in render
    return super(view, self).render(cr, uid, id_or_xml_id, values=values, engine=engine, context=context)
  File "/home/user1/no_root/odoo-9/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/user1/no_root/odoo-9/openerp/addons/base/ir/ir_ui_view.py", line 1070, in render
    return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)
  File "/home/user1/no_root/odoo-9/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/user1/no_root/odoo-9/openerp/addons/base/ir/ir_qweb.py", line 252, in render
    element = self.get_template(id_or_xml_id, qwebcontext)
  File "/home/user1/no_root/odoo-9/openerp/addons/base/ir/ir_qweb.py", line 172, in get_template
    document = qwebcontext.loader(name)
  File "/home/user1/no_root/odoo-9/openerp/addons/base/ir/ir_ui_view.py", line 1068, in loader
    return self.read_template(cr, uid, name, context=context)
  File "/home/user1/no_root/odoo-9/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/user1/no_root/odoo-9/openerp/addons/base/ir/ir_ui_view.py", line 943, in read_template
    return self._read_template(cr, uid, view_id, context=context)
  File "/home/user1/no_root/odoo-9/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "<string>", line 2, in _read_template
  File "/home/user1/no_root/odoo-9/openerp/tools/cache.py", line 85, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/home/user1/no_root/odoo-9/openerp/addons/base/ir/ir_ui_view.py", line 928, in _read_template
    arch = self.read_combined(cr, uid, view_id, fields=['arch'], context=context)['arch']
  File "/home/user1/no_root/odoo-9/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/user1/no_root/odoo-9/openerp/addons/base/ir/ir_ui_view.py", line 640, in read_combined
    view_arch = etree.fromstring(view['arch'].encode('utf-8'))
  File "lxml.etree.pyx", line 3092, in lxml.etree.fromstring (src/lxml/lxml.etree.c:70691)
  File "parser.pxi", line 1828, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:106689)
  File "parser.pxi", line 1716, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:105478)
  File "parser.pxi", line 1086, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:100105)
  File "parser.pxi", line 580, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:94543)
  File "parser.pxi", line 690, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:96003)
  File "parser.pxi", line 620, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:95050)
XMLSyntaxError: Entity 'aacute' not defined, line 549, column 76
4

1 回答 1

0

这是您使用的语言的翻译中的错误。

很可能,错误已经得到纠正。然后,您所要做的就是:

  • 通过安装最新的一体化软件包或从 Github 上的 Odoo 存储库中提取最新版本来更新您的 Odoo 服务器,
  • 再次加载语言,确保检查Overwrite existing terms, in Settings-> Translations-> Load a translation

注意:

  • 您当前必须处于调试器模式才能看到此复选框
  • 如果您编写了自定义翻译,这可能会覆盖它们

如果这不能解决您的问题,那么您的语言翻译中可能仍然存在错误。然后,您可以通过电子邮件 (online@odoo.com) 联系 Odoo 支持。

于 2016-01-14T10:07:09.007 回答