How to solve the below error? I am not able to install any app. When I click install the installation process goes on running and at the end it gives me the below error.
What should I do to correct this error? Kindly give me suitable solutions for this error.
Error:
Odoo Server Error
Traceback (most recent call last):
File "/home/et/opt/odoo/odoo/odoo/http.py", line 651, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/et/opt/odoo/odoo/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/home/et/opt/odoo/odoo/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/home/et/opt/odoo/odoo/odoo/http.py", line 693, in dispatch
result = self._call_function(**self.params)
File "/home/et/opt/odoo/odoo/odoo/http.py", line 342, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/et/opt/odoo/odoo/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/home/et/opt/odoo/odoo/odoo/http.py", line 335, in checked_call
result = self.endpoint(*a, **kw)
File "/home/et/opt/odoo/odoo/odoo/http.py", line 937, in __call__
return self.method(*args, **kw)
File "/home/et/opt/odoo/odoo/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/home/et/opt/odoo/odoo/addons/web/controllers/main.py", line 938, in call_button
action = self._call_kw(model, method, args, {})
File "/home/et/opt/odoo/odoo/addons/web/controllers/main.py", line 926, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/home/et/opt/odoo/odoo/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/home/et/opt/odoo/odoo/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "</home/et/.local/lib/python3.6/site-packages/decorator.py:decorator-gen-42>", line 2, in button_immediate_install
File "/home/et/opt/odoo/odoo/odoo/addons/base/module/module.py", line 71, in check_and_log
return method(self, *args, **kwargs)
File "/home/et/opt/odoo/odoo/odoo/addons/base/module/module.py", line 449, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/home/et/opt/odoo/odoo/odoo/addons/base/module/module.py", line 543, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/home/et/opt/odoo/odoo/odoo/modules/registry.py", line 85, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/home/et/opt/odoo/odoo/odoo/modules/loading.py", line 380, in load_modules
loaded_modules, update_module, models_to_check)
File "/home/et/opt/odoo/odoo/odoo/modules/loading.py", line 274, in load_marked_modules
perform_checks=perform_checks, models_to_check=models_to_check
File "/home/et/opt/odoo/odoo/odoo/modules/loading.py", line 181, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "/home/et/opt/odoo/odoo/odoo/modules/loading.py", line 95, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/home/et/opt/odoo/odoo/odoo/tools/convert.py", line 789, in convert_file
convert_yaml_import(cr, module, fp, kind, idref, mode, noupdate, report)
File "/home/et/opt/odoo/odoo/odoo/tools/yaml_import.py", line 854, in yaml_import
yaml_interpreter.process(yaml_string)
File "/home/et/opt/odoo/odoo/odoo/tools/yaml_import.py", line 794, in process
for node in yaml.load(yaml_string):
File "/home/et/.local/lib/python3.6/site-packages/yaml/__init__.py", line 114, in load
return loader.get_single_data()
File "/home/et/.local/lib/python3.6/site-packages/yaml/constructor.py", line 43, in get_single_data
return self.construct_document(node)
File "/home/et/.local/lib/python3.6/site-packages/yaml/constructor.py", line 52, in construct_document
for dummy in generator:
File "/home/et/.local/lib/python3.6/site-packages/yaml/constructor.py", line 404, in construct_yaml_map
value = self.construct_mapping(node)
File "/home/et/.local/lib/python3.6/site-packages/yaml/constructor.py", line 210, in construct_mapping
return super().construct_mapping(node, deep=deep)
File "/home/et/.local/lib/python3.6/site-packages/yaml/constructor.py", line 131, in construct_mapping
key = self.construct_object(key_node, deep=deep)
File "/home/et/.local/lib/python3.6/site-packages/yaml/constructor.py", line 92, in construct_object
data = constructor(self, node)
File "/home/et/.local/lib/python3.6/site-packages/yaml/constructor.py", line 420, in construct_undefined
node.start_mark)
yaml.constructor.ConstructorError: could not determine a constructor for the tag '!python'
in "<byte string>", line 2, column 3:
!python {model: account.chart.te ...
^