Error in scheduler log after setting incoming email account

Method
pull_from_email_account
Error
{‘retry’: 0, ‘log’: <function log at 0x7efd944ff7d0>, ‘site’: u’site1.local’, ‘event’: u’all’, ‘method_name’: u’pull_from_email_account’, ‘method’: <function pull_from_email_account at 0x7efd944ac5f0>, ‘user’: u’Administrator’, ‘kwargs’: {‘email_account’: u’Info’}, ‘async’: True, ‘job_name’: u’pull_from_email_account|Info’}
Traceback (most recent call last):
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/utils/background_jobs.py”, line 61, in execute_job
method(**kwargs)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py”, line 427, in pull_from_email_account
email_account.receive()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py”, line 179, in receive
incoming_mails = email_server.get_messages()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/email/receive.py”, line 109, in get_messages
email_list = self.get_new_mails()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/email/receive.py”, line 159, in get_new_mails
email_list = message[0].split()
AttributeError: ‘NoneType’ object has no attribute ‘split’

Can you share the full error trace?

image

Can you add screenshot for Request Header as well, which is below Error.

How to take Request Header ?

it is on this page only, right below Error. Just take screenshot of screen below Error.

any idea on this error.error started after imap checkbox ticked

i am getting this error on every two minutes in scheduler log.i dont know how to take screenshot of screen below Error @KanchanChauhan

Share the screenshot of specs of Email Account “Sales”.

please find the screen shot of email settings page

Only Error is there.Email incoming and outgoing are working fine.

Looks like this error occurs when it tries to get emails and does not find them.

SCHLOG17362 - scheduler log error

Around 17362 error log-is there any way to stop this error