Skip to Content

Welcome!

This community is for professionals and enthusiasts of our products and services.
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

You need to be registered to interact with the community.
This question has been flagged
39 Views

RPC_ERROR

Odoo Server Error

Traceback (most recent call last):

  File "/Library/python/DX_Mes/dx-mes/odoo/http\.py",\ line\ 1768,\ in\ _serve_db

 \  \ return\ service_model\.retrying\(self\._serve_ir_http,\ self\.env\)

 \  \  \  \  \  \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/service/model\.py",\ line\ 133,\ in\ retrying

 \  \ result\ =\ func\(\)

 \  \  \  \  \  \  \^\^\^\^\^\^

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/http\.py",\ line\ 1796,\ in\ _serve_ir_http

 \  \ response\ =\ self\.dispatcher\.dispatch\(rule\.endpoint,\ args\)

 \  \  \  \  \  \  \  \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/http\.py",\ line\ 2000,\ in\ dispatch

 \  \ result\ =\ self\.request\.registry\['ir\.http'\]\._dispatch\(endpoint\)

 \  \  \  \  \  \  \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/addons/base/models/ir_http\.py",\ line\ 222,\ in\ _dispatch

 \  \ result\ =\ endpoint\(\*\*request\.params\)

 \  \  \  \  \  \  \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/http\.py",\ line\ 722,\ in\ route_wrapper

 \  \ result\ =\ endpoint\(self,\ \*args,\ \*\*params_ok\)

 \  \  \  \  \  \  \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/addons/web/controllers/dataset\.py",\ line\ 34,\ in\ call_button

 \  \ action\ =\ self\._call_kw\(model,\ method,\ args,\ kwargs\)

 \  \  \  \  \  \  \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/addons/web/controllers/dataset\.py",\ line\ 22,\ in\ _call_kw

 \  \ return\ call_kw\(request\.env\[model\],\ method,\ args,\ kwargs\)

 \  \  \  \  \  \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/api\.py",\ line\ 468,\ in\ call_kw

 \  \ result\ =\ _call_kw_multi\(method,\ model,\ args,\ kwargs\)

 \  \  \  \  \  \  \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/api\.py",\ line\ 453,\ in\ _call_kw_multi

 \  \ result\ =\ method\(recs,\ \*args,\ \*\*kwargs\)

 \  \  \  \  \  \  \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^

 \ File\ "",\ line\ 2,\ in\ button_immediate_install

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/addons/base/models/ir_module\.py",\ line\ 75,\ in\ check_and_log

 \  \ return\ method\(self,\ \*args,\ \*\*kwargs\)

 \  \  \  \  \  \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/addons/base/models/ir_module\.py",\ line\ 466,\ in\ button_immediate_install

 \  \ return\ self\._button_immediate_function\(self\.env\.registry\[self\._name\]\.button_install\)

 \  \  \  \  \  \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/addons/base/models/ir_module\.py",\ line\ 590,\ in\ _button_immediate_function

 \  \ registry\ =\ modules\.registry\.Registry\.new\(self\._cr\.dbname,\ update_module=True\)

 \  \  \  \  \  \  \  \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^

 \ File\ "",\ line\ 2,\ in\ new

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/tools/func\.py",\ line\ 87,\ in\ locked

 \  \ return\ func\(inst,\ \*args,\ \*\*kwargs\)

 \  \  \  \  \  \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/modules/registry\.py",\ line\ 113,\ in\ new

 \  \ odoo\.modules\.load_modules\(registry,\ force_demo,\ status,\ update_module\)

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/modules/loading\.py",\ line\ 480,\ in\ load_modules

 \  \ processed_modules\ \+=\ load_marked_modules\(env,\ graph,

 \  \  \  \  \  \  \  \  \  \  \  \  \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/modules/loading\.py",\ line\ 364,\ in\ load_marked_modules

 \  \ loaded,\ processed\ =\ load_module_graph\(

 \  \  \  \  \  \  \  \  \  \  \  \ \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/modules/loading\.py",\ line\ 227,\ in\ load_module_graph

 \  \ load_data\(env,\ idref,\ mode,\ kind='data',\ package=package\)

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/modules/loading\.py",\ line\ 71,\ in\ load_data

 \  \ tools\.convert_file\(env,\ package\.name,\ filename,\ idref,\ mode,\ noupdate,\ kind\)

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/tools/convert\.py",\ line\ 627,\ in\ convert_file

 \  \ convert_xml_import\(env,\ module,\ fp,\ idref,\ mode,\ noupdate\)

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/tools/convert\.py",\ line\ 693,\ in\ convert_xml_import

 \  \ obj\.parse\(doc\.getroot\(\)\)

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/tools/convert\.py",\ line\ 613,\ in\ parse

 \  \ self\._tag_root\(de\)

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/tools/convert\.py",\ line\ 556,\ in\ _tag_root

 \  \ f\(rec\)

 \ File\ "/Library/python/DX_Mes/dx\-mes/odoo/tools/convert\.py",\ line\ 567,\ in\ _tag_root

 \  \ raise\ ParseError\(msg\)\ from\ None \ \#\ Restart\ with\ "\-\-log\-handler\ odoo\.tools\.convert:DEBUG"\ for\ complete\ traceback

 \  \ \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^

odoo\.tools\.convert\.ParseError:\ while\ parsing\ /Library/python/DX_Mes/dx\-mes/odoo/addons/app_odoo_customize/views/res_config_settings_views\.xml:4

解析或验证视图时出错:


上级视图内找不到元素“”


View\ error\ context:

\{'file':\ '/Library/python/DX_Mes/dx\-mes/odoo/addons/app_odoo_customize/views/res_config_settings_views\.xml',

\ 'line':\ 2,

\ 'name':\ 'app\.res\.config\.settings\.view\.form',

\ 'view':\ ir\.ui\.view\(1724,\),

\ 'view\.model':\ 'res\.config\.settings',

\ 'view\.parent':\ ir\.ui\.view\(223,\),

\ 'xmlid':\ 'app_res_config_settings_view_form'\}



The\ above\ server\ error\ caused\ the\ following\ client\ error:

RPC_ERROR://localhost:8069/web/assets/587298e/web\.assets_web\.min\.js:2874:163\)

 \  \ at\ XMLHttpRequest\.\ \(http://localhost:8069/web/assets/587298e/web.assets_web.min.js:2878:13)

Avatar
Discard

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!