Skip to Content
Menu
This question has been flagged
1260 Views

Error:
Odoo Server Error

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/usr/lib/python3/dist-packages/odoo/http.py", line 683, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 359, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 347, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 912, in __call__
return self.method(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 531, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1389, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1381, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 392, in call_kw
result = _call_kw_model(method, model, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 365, in _call_kw_model
result = method(recs, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/auth_signup/models/res_users.py", line 233, in web_create_users
res = super(ResUsers, self).web_create_users(list(new_emails))
File "/usr/lib/python3/dist-packages/odoo/addons/base_setup/models/res_users.py", line 23, in web_create_users
user = self.with_context(signup_valid=True).create(default_values)
File "", line 2, in create
File "/usr/lib/python3/dist-packages/odoo/api.py", line 344, in _model_create_multi
return create(self, [arg])
File "/usr/lib/python3/dist-packages/odoo/addons/digest/models/res_users.py", line 12, in create
users = super(ResUsers, self).create(vals_list)
File "", line 2, in create
File "/usr/lib/python3/dist-packages/odoo/api.py", line 345, in _model_create_multi
return create(self, arg)
File "/usr/lib/python3/dist-packages/odoo/addons/auth_signup/models/res_users.py", line 246, in create
users_with_email.with_context(create_user=True).action_reset_password()
File "/usr/lib/python3/dist-packages/odoo/addons/auth_signup/models/res_users.py", line 205, in action_reset_password
template.send_mail(user.id, force_send=force_send, raise_exception=True)
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_template.py", line 295, in send_mail
mail.send(raise_exception=raise_exception)
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_mail.py", line 272, in send
smtp_session.quit()
File "/usr/lib/python3.8/smtplib.py", line 988, in quit
res = self.docmd("quit")
File "/usr/lib/python3.8/smtplib.py", line 424, in docmd
self.putcmd(cmd, args)
File "/usr/lib/python3.8/smtplib.py", line 371, in putcmd
self.send(str)
File "/usr/lib/python3.8/smtplib.py", line 363, in send
raise SMTPServerDisconnected('please run connect() first')
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 639, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 315, in _handle_exception
raise exception.with_traceback(None) from new_cause
smtplib.SMTPServerDisconnected: please run connect() first

Avatar
Discard
Related Posts Replies Views Activity
3
Mar 15
7553
1
Jan 24
15597
0
Mar 23
1712
1
Mar 15
6277
0
Mar 15
3131