尝试访问会计应用程序时出现Odoo服务器错误

时间:2016-01-14 03:18:54

标签: openerp odoo-9

我在我当地的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

1 个答案:

答案 0 :(得分:0)

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

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

  • 通过安装最新的一体化软件包或从Github上的Odoo存储库中提取最新版本来更新您的Odoo服务器,
  • 再次加载语言,请务必在public Form1() { { InitializeComponent(); Merken[0] = "Yamaha"; Merken[1] = "Suzuki"; Merken[2] = "Harley"; Merken[3] = "Kawasaki"; merkNr = 4; listBoxMotoren.DataSource = Brands; } } - &gt;中查看Overwrite existing termsSettings - &gt; Translations

注意:

  • 您目前必须在debugger mode才能看到此复选框
  • 如果您编写了自定义翻译,则可以覆盖它们

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