when i try to create a new user, i get an error message. i dont know when this error starts to occure so i dont know which addon or module is faulty... hopefully some of you can read this and give me a hint. This is the odoo debug log.
2019-08-03 00:52:17,743 55 DEBUG lueers-mv odoo.modules.registry: Multiprocess signaling check: [Registry - 214 -> 214] [Cache - 7638 -> 7638]
2019-08-03 00:52:17,762 55 DEBUG lueers-mv odoo.api: call res.users().create({'sel_groups_45_46': False, 'in_group_37': True, 'active': True, 'signature': '<p><br></p>', 'in_group_108': False, 'in_group_94': True, 'sel_groups_95_96': False, 'signup_type': False, 'in_group_35': True, 'in_group_97': True, 'in_group_48': True, 'in_group_71': False, 'in_group_32': True, 'in_group_19': False, 'in_group_47': True, 'in_group_39': True, 'alias_id': False, 'sel_groups_109': 109, 'in_group_93': False, 'alias_contact': False, 'sel_groups_2_3': False, 'sel_groups_53_54': False, 'company_id': 1, 'in_group_61': True, 'in_group_8': True, 'sel_groups_21_22_23': 21, 'in_group_42': True, 'sel_groups_1_9_10': 1, 'in_group_62': False, 'sel_groups_75': False, 'in_group_56': True, 'odoobot_state': 'not_initialized', 'send_mail_flag': True, 'sel_groups_80_81': False, 'in_group_69': False, 'name': 'hansmax', 'sel_groups_105_106': 106, 'sel_groups_103_101_102': 102, 'in_group_77': False, 'in_group_58': False, 'in_group_70': True, 'in_group_5': False, '__last_update': False, 'in_group_55': True, 'in_group_76': True, 'oauth_provider_id': False, 'in_group_67': False, 'company_ids': [[6, False, [1]]], 'in_group_59': False, 'login': 'mail@hansmax.de', 'in_group_36': True, 'in_group_98': False, 'notification_type': 'email', 'in_group_6': True, 'in_group_34': True, 'in_group_12': True, 'in_group_60': True, 'in_group_17': False, 'in_group_26': True, 'in_group_13': True, 'in_group_66': True, 'sel_groups_40_41': False, 'sel_groups_99_100': False, 'in_group_57': True, 'in_group_52': True, 'in_group_68': False, 'sel_groups_110_111': 111, 'in_group_38': True, 'sel_groups_43_44': False, 'in_group_16': True, 'in_group_30': False, 'sel_groups_63_64': 63, 'oauth_uid': False, 'action_id': False, 'sel_groups_72_73': False, 'in_group_25': False, 'in_group_7': True, 'in_group_18': True, 'sel_groups_49_50': 49, 'in_group_31': False, 'in_group_4': False, 'in_group_51': True, 'in_group_20': True, 'in_group_11': False, 'image': False, 'code': False, 'email': 'mail@hansmax.de', 'sel_groups_78_79': 78, 'in_group_33': True, 'tz': 'Europe/Berlin', 'in_group_74': False, 'in_group_29': True, 'lang': 'de_DE', 'in_group_27': False, 'in_group_104': True, 'sel_groups_91_92': False, 'sel_groups_65': False, 'sel_groups_24_28': False})
2019-08-03 00:52:21,497 55 ERROR lueers-mv odoo.addons.mail.models.mail_mail: failed sending mail (id: 178) due to argument should be a bytes-like object or ASCII string, not 'bool'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_mail.py", line 298, in _send
for a in attachments.sudo().read(['datas_fname', 'datas', 'mimetype'])]
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_mail.py", line 298, in <listcomp>
for a in attachments.sudo().read(['datas_fname', 'datas', 'mimetype'])]
File "/usr/lib/python3.5/base64.py", line 81, in b64decode
s = _bytes_from_decode_data(s)
File "/usr/lib/python3.5/base64.py", line 46, in _bytes_from_decode_data
"string, not %r" % s.__class__.__name__) from None
TypeError: argument should be a bytes-like object or ASCII string, not 'bool'
2019-08-03 00:52:21,530 55 ERROR lueers-mv odoo.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 654, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 312, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/usr/lib/python3/dist-packages/odoo/http.py", line 696, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 344, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 337, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 939, in __call__
return self.method(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 517, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 962, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 954, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 747, in call_kw
return _call_kw_model_create(method, model, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 727, in _call_kw_model_create
result = method(recs, *args, **kwargs)
File "<decorator-gen-336>", line 2, in create
File "/usr/lib/python3/dist-packages/odoo/api.py", line 430, in _model_create_single
return create(self, arg)
File "/mnt/extra-addons/email_verification/models/email_verification.py", line 37, in create
res_id = super(ResUsers, self).create(vals)
File "<decorator-gen-204>", line 2, in create
File "/usr/lib/python3/dist-packages/odoo/api.py", line 430, in _model_create_single
return create(self, arg)
File "/usr/lib/python3/dist-packages/odoo/addons/digest/models/res_users.py", line 12, in create
user = super(ResUsers, self).create(vals)
File "<decorator-gen-193>", line 2, in create
File "/usr/lib/python3/dist-packages/odoo/api.py", line 430, in _model_create_single
return create(self, arg)
File "/mnt/extra-addons/asterisk_calls/models/user.py", line 32, in create
res = super(ResUser, self).create(vals)
File "<decorator-gen-186>", line 2, in create
File "/usr/lib/python3/dist-packages/odoo/api.py", line 430, in _model_create_single
return create(self, arg)
File "/usr/lib/python3/dist-packages/odoo/addons/sales_team/models/res_users.py", line 17, in create
user = super(ResUsers, self).create(vals)
File "<decorator-gen-132>", line 2, in create
File "/usr/lib/python3/dist-packages/odoo/api.py", line 430, in _model_create_single
return create(self, arg)
File "/usr/lib/python3/dist-packages/odoo/addons/auth_signup/models/res_users.py", line 219, in create
user.with_context(create_user=True).action_reset_password()
File "/usr/lib/python3/dist-packages/odoo/addons/auth_signup/models/res_users.py", line 201, in action_reset_password
template.with_context(lang=user.lang).send_mail(user.id, force_send=True, raise_exception=True)
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_template.py", line 559, in send_mail
mail.send(raise_exception=raise_exception)
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_mail.py", line 264, in send
smtp_session=smtp_session)
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_mail.py", line 298, in _send
for a in attachments.sudo().read(['datas_fname', 'datas', 'mimetype'])]
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_mail.py", line 298, in <listcomp>
for a in attachments.sudo().read(['datas_fname', 'datas', 'mimetype'])]
File "/usr/lib/python3.5/base64.py", line 81, in b64decode
s = _bytes_from_decode_data(s)
File "/usr/lib/python3.5/base64.py", line 46, in _bytes_from_decode_data
"string, not %r" % s.__class__.__name__) from None
TypeError: argument should be a bytes-like object or ASCII string, not 'bool'