I keep getting this error when I try to install any app or module after fresh installation of Odoo v10. on windows Tried Odoov11 and getting same issue.
Kindly assist.
Error report:
Error:
Odoo Server Error
Traceback (most recent call last):
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\http.py", line 653, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\http.py", line 312, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\http.py", line 695, in dispatch
result = self._call_function(**self.params)
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\http.py", line 344, in _call_function
return checked_call(self.db, *args, **kwargs)
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\service\model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\http.py", line 337, in checked_call
result = self.endpoint(*a, **kw)
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\http.py", line 939, in __call__
return self.method(*args, **kw)
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\http.py", line 517, in response_wrap
response = f(*args, **kw)
File "c:\users\setha\onedrive\pycharmprojects\odoo-11.0\addons\web\controllers\main.py", line 938, in call_button
action = self._call_kw(model, method, args, {})
File "c:\users\setha\onedrive\pycharmprojects\odoo-11.0\addons\web\controllers\main.py", line 926, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\api.py", line 699, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\api.py", line 690, in call_kw_multi
result = method(recs, *args, **kwargs)
File "<decorator-gen-42>", line 2, in button_immediate_install
File "c:\users\setha\onedrive\pycharmprojects\odoo-11.0\odoo\addons\base\module\module.py", line 72, in check_and_log
return method(self, *args, **kwargs)
File "c:\users\setha\onedrive\pycharmprojects\odoo-11.0\odoo\addons\base\module\module.py", line 450, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "c:\users\setha\onedrive\pycharmprojects\odoo-11.0\odoo\addons\base\module\module.py", line 552, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\modules\registry.py", line 85, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\modules\loading.py", line 380, in load_modules
loaded_modules, update_module, models_to_check)
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\modules\loading.py", line 274, in load_marked_modules
perform_checks=perform_checks, models_to_check=models_to_check
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\modules\loading.py", line 181, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\modules\loading.py", line 95, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\tools\convert.py", line 792, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\tools\convert.py", line 853, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\tools\convert.py", line 742, in parse
self.parse(rec, mode)
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\tools\convert.py", line 752, in parse
exc_info[2]
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\tools\convert.py", line 745, in parse
self._tags[rec.tag](rec, de, mode=mode)
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\tools\convert.py", line 655, in _tag_record
id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode)
File "c:\users\setha\onedrive\pycharmprojects\odoo-11.0\odoo\addons\base\ir\ir_model.py", line 1527, in _update
record = record.create(values)
File "c:\users\setha\onedrive\pycharmprojects\odoo-11.0\addons\mail\models\mail_message.py", line 751, in create
values['message_id'] = self._get_message_id(values)
File "c:\users\setha\onedrive\pycharmprojects\odoo-11.0\addons\mail\models\mail_message.py", line 730, in _get_message_id
message_id = tools.generate_tracking_message_id('%(res_id)s-%(model)s' % values)
File "C:\Users\setha\OneDrive\PycharmProjects\odoo-11.0\odoo\tools\mail.py", line 455, in generate_tracking_message_id
return "<%s.%.15f-openerp-%s@%s>" % (rndstr, time.time(), res_id, socket.gethostname())
ParseError: "ascii
telei\xf3s
5
6
ordinal not in range(128)" while parsing file:/c:/users/setha/onedrive/pycharmprojects/odoo-11.0/addons/mail/data/mail_channel_data.xml:12, near
<record model="mail.message" id="module_install_notification" context="{'mail_notify_noemail': True}">
<field name="model">mail.channel</field>
<field name="res_id" ref="mail.channel_all_employees"/>
<field name="message_type">email</field>
<field name="subtype_id" ref="mail.mt_comment"/>
<field name="subject">Welcome to Odoo!</field>
<field name="body"><p>Welcome to the #general channel.</p>
<p>This channel is accessible to all users to <b>easily share company information</b>.</p></field>
</record>