[26-10-17 18:00:59] p8367 {/home/manolo/GIT/Tmail-bot/services/email.py:71} DEBUG - Checking account: manoloxxxx@gmail.com:/inbox
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.6/imaplib.py", line 1014, in _command_complete
typ, data = self._get_tagged_response(tag)
File "/usr/lib/python3.6/imaplib.py", line 1134, in _get_tagged_response
self._get_response()
File "/usr/lib/python3.6/imaplib.py", line 1071, in _get_response
raise self.abort("unexpected response: %r" % resp)
imaplib.IMAP4.abort: unexpected response: b'@gmail.com designates 209.85.220.180 as permitted sender) smtp.mailfrom=andreexxxxx@gmail.com;'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/home/manolo/GIT/Tmail-bot/utils/scheduler.py", line 29, in run
schedule.run_pending()
File "/usr/lib/python3.6/site-packages/schedule/__init__.py", line 452, in run_pending
default_scheduler.run_pending()
File "/usr/lib/python3.6/site-packages/schedule/__init__.py", line 75, in run_pending
self._run_job(job)
File "/usr/lib/python3.6/site-packages/schedule/__init__.py", line 129, in _run_job
ret = job.run()
File "/usr/lib/python3.6/site-packages/schedule/__init__.py", line 377, in run
ret = self.job_func()
File "/home/manolo/GIT/Tmail-bot/services/email.py", line 75, in check
self.read_email_from_gmail(folder)
File "/home/manolo/GIT/Tmail-bot/services/email.py", line 84, in read_email_from_gmail
uids, err = self.__get_uid_list(folder)
File "/home/manolo/GIT/Tmail-bot/services/email.py", line 116, in __get_uid_list
return imap_util.get_uid_list(self.mail, folder)
File "/home/manolo/GIT/Tmail-bot/utils/imap.py", line 101, in get_uid_list
mail.select(folder, readonly=True) # Don't mark message as read
File "/usr/lib/python3.6/imaplib.py", line 740, in select
typ, dat = self._simple_command(name, mailbox)
File "/usr/lib/python3.6/imaplib.py", line 1191, in _simple_command
return self._command_complete(name, self._command(name, *args))
File "/usr/lib/python3.6/imaplib.py", line 1016, in _command_complete
raise self.abort('command: %s => %s' % (name, val))
imaplib.IMAP4.abort: command: EXAMINE => unexpected response: b'@gmail.com designates 209.85.220.180 as permitted sender) smtp.mailfrom=andreexxxxx@gmail.com;'