Friends,
After the the last Bench update
(ERPNext: v6.23.0 & Frappe Framework: v6.24.0) i get some troubles with the emails.
When i tried to send any email i get this in the event logs (I delete my email in “recipients”):
METHOD
frappe.tasks.sendmail
ERROR
{
"attachments": "[]",
"cc": [],
"communication_name": "7f03054a89",
"lang": "es",
"print_format": "",
"print_html": "",
"recipients": [
"---@---"
],
"site": "erpnext"
}
Traceback (innermost last):
File "/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/tasks.py", line 231, in sendmail
recipients=recipients, cc=cc)
File "/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/core/doctype/communication/communication.py", line 162, in _notify
_notify(self, print_html, print_format, attachments, recipients, cc)
File "/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/core/doctype/communication/email.py", line 132, in _notify
bulk=True
File "/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/__init__.py", line 351, in sendmail
expose_recipients=expose_recipients, bulk_priority=bulk_priority)
File "/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/email/bulk.py", line 103, in send
reference_name, attachments, reply_to, cc, message_id, send_after, bulk_priority)
File "/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/email/bulk.py", line 130, in add
e.insert(ignore_permissions=True)
File "/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/model/document.py", line 194, in insert
self._validate()
File "/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/model/document.py", line 342, in _validate
self._sanitize_content()
File "/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/model/base_document.py", line 521, in _sanitize_content
elif ("<" not in value and ">" not in value):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 303: ordinal not in range(128)
Any idea?