mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-16 01:57:16 +00:00
602c381d6e
Incorrect format of cms.yml config file was causing the following error on course import: cms-worker_1 | Traceback (most recent call last): cms-worker_1 | File "/openedx/edx-platform/cms/djangoapps/cms_user_tasks/tasks.py", line 53, in send_task_complete_email cms-worker_1 | mail.send_mail(subject, message, from_address, [dest_addr], fail_silently=False) cms-worker_1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/mail/__init__.py", line 61, in send_mail cms-worker_1 | return mail.send() cms-worker_1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/mail/message.py", line 284, in send cms-worker_1 | return self.get_connection(fail_silently).send_messages([self]) cms-worker_1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/mail/backends/smtp.py", line 102, in send_messages cms-worker_1 | new_conn_created = self.open() cms-worker_1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/mail/backends/smtp.py", line 62, in open cms-worker_1 | self.connection = self.connection_class(self.host, self.port, **connection_params) cms-worker_1 | File "/opt/pyenv/versions/3.8.12/lib/python3.8/smtplib.py", line 255, in __init__ cms-worker_1 | (code, msg) = self.connect(host, port) cms-worker_1 | File "/opt/pyenv/versions/3.8.12/lib/python3.8/smtplib.py", line 339, in connect cms-worker_1 | self.sock = self._get_socket(host, port, self.timeout) cms-worker_1 | File "/opt/pyenv/versions/3.8.12/lib/python3.8/smtplib.py", line 310, in _get_socket cms-worker_1 | return socket.create_connection((host, port), timeout, cms-worker_1 | File "/opt/pyenv/versions/3.8.12/lib/python3.8/socket.py", line 787, in create_connection cms-worker_1 | for res in getaddrinfo(host, port, 0, SOCK_STREAM): cms-worker_1 | File "/opt/pyenv/versions/3.8.12/lib/python3.8/socket.py", line 918, in getaddrinfo cms-worker_1 | for res in _socket.getaddrinfo(host, port, family, type, proto, flags): cms-worker_1 | socket.gaierror: [Errno -8] Servname not supported for ai_socktype The reason was that the trailing comma "," was interpreted as being part of the email port. |
||
---|---|---|
.. | ||
commands | ||
hooks | ||
plugins | ||
templates | ||
__about__.py | ||
__init__.py | ||
bindmounts.py | ||
config.py | ||
env.py | ||
exceptions.py | ||
fmt.py | ||
images.py | ||
interactive.py | ||
jobs.py | ||
serialize.py | ||
types.py | ||
utils.py |