Notification e-mail definition error in version 7.1.11

I got the following error when defining the notification e-mail on version 7.1.11
Attached is the screen showing the error.

@hfarid

Are you still getting this error on ERPNext/Frappé v7.1.15?

I tried to update from version 7.1.11 but I got this error, don’t know why “this is a fresh installation from scratch”.

$ cd /home/frappe
$ cd frappe-bench
$ bench update
INFO:bench.utils:updating bench
Already up-to-date.
remote: Counting objects: 155, done.
remote: Compressing objects: 100% (64/64), done.
remote: Total 155 (delta 121), reused 125 (delta 91), pack-reused 0
Receiving objects: 100% (155/155), 16.11 KiB | 0 bytes/s, done.
Resolving deltas: 100% (121/121), completed with 53 local objects.
From https://github.com/frappe/frappe
0d2674e…4940695 master -> upstream/master

  • [new tag] v7.1.17 -> v7.1.17
  • [new tag] v7.1.14 -> v7.1.14
  • [new tag] v7.1.15 -> v7.1.15
  • [new tag] v7.1.16 -> v7.1.16
    Requirement already satisfied: Pillow in ./env/lib/python2.7/site-packages
    INFO:bench.app:pulling frappe
    From https://github.com/frappe/frappe
  • branch master -> FETCH_HEAD
    Updating 0d2674e…4940695
    error: Your local changes to the following files would be overwritten by merge:
    frappe/init.py
    frappe/client.py
    frappe/core/doctype/communication/comment.py
    frappe/core/doctype/communication/communication.py
    frappe/core/doctype/user/user.py
    frappe/desk/doctype/desktop_icon/desktop_icon.py
    frappe/desk/page/backups/backups.py
    frappe/email/doctype/auto_email_report/auto_email_report.py
    frappe/integrations/doctype/dropbox_settings/dropbox_settings.py
    frappe/model/document.py
    frappe/model/rename_doc.py
    frappe/patches.txt
    frappe/patches/v7_1/setup_integration_services.py
    frappe/print/page/print_format_builder/print_format_builder.js
    frappe/print/page/print_format_builder/print_format_builder_field.html
    frappe/print/page/print_format_builder/print_format_builder_layout.html
    frappe/public/js/frappe/views/reports/query_report.js
    frappe/templates/generators/web_form.html
    frappe/website/doctype/web_form_field/web_form_field.json
    Please, commit your changes or stash them before you can merge.
    Aborting
    Traceback (most recent call last):
    File “/usr/local/bin/bench”, line 11, in
    load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
    File “/home/frappe/.bench/bench/cli.py”, line 40, in cli
    bench_command()
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 716, in call
    return self.main(*args, **kwargs)
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 696, in main
    rv = self.invoke(ctx)
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 534, in invoke
    return callback(*args, **kwargs)
    File “/home/frappe/.bench/bench/commands/update.py”, line 62, in update
    _update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, upgrade, force=force, reset=reset)
    File “/home/frappe/.bench/bench/commands/update.py”, line 78, in _update
    pull_all_apps(bench_path=bench_path, reset=reset)
    File “/home/frappe/.bench/bench/app.py”, line 146, in pull_all_apps
    remote=remote, branch=get_current_branch(app, bench_path=bench_path)), cwd=app_dir)
    File “/home/frappe/.bench/bench/utils.py”, line 127, in exec_cmd
    raise CommandFailedError(cmd)
    bench.utils.CommandFailedError: git pull upstream master
    $

Don’t worry, I have solved the upgrade error and now I am on version ERPNext 7.1.16 and frappe on 7.1.18
And have same error when defining Notification E-mail

I got this in the worker error log, please advice

14:47:47 *** Listening on short…
14:51:46 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.email.queue.flush’, kwargs={}, method=u’frappe.email.queue.flush’, site=u’site1.local’, user=u’Administrator’) (ecd6c3b4-47ad-4722-bb49-6cb21ccaf145)
14:51:47 short: Job OK (ecd6c3b4-47ad-4722-bb49-6cb21ccaf145)
14:51:47 Result is kept for 500 seconds
14:51:47
14:51:47 *** Listening on short…
14:51:47 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.email.doctype.email_account.email_account.pull’, kwargs={}, method=u’frappe.email.doctype.email_account.email_account.pull’, site=u’site1.local’, user=u’Administrator’) (533d8bbe-e241-4811-b3bc-1725d93daa45)
14:51:47 short: Job OK (533d8bbe-e241-4811-b3bc-1725d93daa45)
14:51:47 Result is kept for 500 seconds
14:51:47
14:51:47 *** Listening on short…
14:51:47 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.email.doctype.email_account.email_account.notify_unreplied’, kwargs={}, method=u’frappe.email.doctype.email_account.email_account.notify_unreplied’, site=u’site1.local’, user=u’Administrator’) (089b4e18-f08a-4e0c-b75b-a37d2e893afe)
14:51:47 short: Job OK (089b4e18-f08a-4e0c-b75b-a37d2e893afe)
14:51:47 Result is kept for 500 seconds
14:51:47

@hfarid

This is not an error log, these are just logs from the worker which runs every 5 mins pulling or pushing the mails from the ERPNext.

Solved, it was because of my server. The server was blocking port 25
After enabling the port it works fine.