Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic email sending not working #1395

Open
0xab3d opened this issue May 15, 2024 · 1 comment
Open

Automatic email sending not working #1395

0xab3d opened this issue May 15, 2024 · 1 comment
Labels

Comments

@0xab3d
Copy link

0xab3d commented May 15, 2024

Hello,

When I send an email it keeps failing on the automatic/scheduled send. However, if I click on Send Now it works. Could anyone be able to help! Also, how could I make an immediate email send?

@0xab3d 0xab3d added the bug label May 15, 2024
@0xab3d
Copy link
Author

0xab3d commented May 15, 2024

Log when the email is scheduled

File "/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_queue/email_queue.py", line 167, in send message = ctx.build_message(recipient.recipient) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_queue/email_queue.py", line 314, in build_message message = self.include_attachments(message) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_queue/email_queue.py", line 387, in include_attachments print_format_file = frappe.attach_print(**attachment) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 2225, in attach_print else get_print(doctype, name, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 2179, in get_print response = get_response_without_exception_handling("printview", 200) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/frappe/frappe-bench/apps/frappe/frappe/website/serve.py", line 46, in get_response_without_exception_handling _endpoint, renderer_instance = path_resolver.resolve() ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/frappe/frappe-bench/apps/frappe/frappe/website/path_resolver.py", line 68, in resolve renderer_instance = renderer(endpoint, self.http_status_code) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/frappe/frappe-bench/apps/frappe/frappe/website/page_renderers/static_page.py", line 30, in __init__ self.set_file_path() File "/home/frappe/frappe-bench/apps/frappe/frappe/website/page_renderers/static_page.py", line 37, in set_file_path file_path = frappe.get_app_path(app, "www") + "/" + self.path ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1505, in get_app_path return get_pymodule_path(app_name, *joins) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1535, in get_pymodule_path return abspath(join(dirname(get_module(scrub(modulename)).__file__ or ""), *joins)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1476, in get_module return importlib.import_module(modulename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant