Hello all
There is an error in the Email Digest it does not sent and I have this error log:
{'method_name': 'erpnext.setup.doctype.email_digest.email_digest.send', 'log': <function log at 0x7fdb4dbae598>, 'retry': 0, 'is_async': True, 'user': 'Administrator', 'kwargs': {}, 'job_name': 'erpnext.setup.doctype.email_digest.email_digest.send', 'event': 'daily', 'method': <function send at 0x7fdb4d8c70d0>, 'site': 'accounting.amhgroup.com.sa'}
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py", line 99, in execute_job
method(**kwargs)
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/doctype/email_digest/email_digest.py", line 788, in send
ed_obj.send()
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/doctype/email_digest/email_digest.py", line 57, in send
msg_for_this_recipient = self.get_msg_html()
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/doctype/email_digest/email_digest.py", line 102, in get_msg_html
frappe.throw(_("No items to be received are overdue"))
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 360, in throw
msgprint(msg, raise_exception=exc, title=title, indicator='red')
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 346, in msgprint
_raise_exception()
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 315, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.ValidationError: No items to be received are overdue
I think the problem is a little more complicated
Because I turned off (Purchase Orders Items Overdue) and i save and then pressed send now, it showed me that it sent the e-mail, but after a short time the entire system stopped and it was showing this message:
then i use sudo supervisorctl restart all to make it work again.
The translation is :
User None does not exist
or User does not exist
Because the message appears as in the picture even if I use the program in the English version.
Hi all,
any updates on this? We see the same error - which as far as I can see is actually obsolete…
frappe.throw(_("No items to be received are overdue"))
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py", line 99, in execute_job
method(**kwargs)
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/doctype/email_digest/email_digest.py", line 788, in send
ed_obj.send()
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/doctype/email_digest/email_digest.py", line 57, in send
msg_for_this_recipient = self.get_msg_html()
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/doctype/email_digest/email_digest.py", line 102, in get_msg_html
frappe.throw(_("No items to be received are overdue"))
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 360, in throw
msgprint(msg, raise_exception=exc, title=title, indicator='red')
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 346, in msgprint
_raise_exception()
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 315, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.ValidationError: Keine zu übergebenden Artikel sind überfällig
Surprisingly, this is still an issue in v15. The github issue was locked as resolved in Jan 2024. The workaround of disabling the checkbox for “Purchase Orders Items Overdue” works for me though.