Traceback (most recent call last):
File “/home/administrator/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py”, line 163, in get_incoming_server
email_server.connect()
File “/home/administrator/frappe-bench/apps/frappe/frappe/email/receive.py”, line 43, in connect
return self.connect_imap()
File “/home/administrator/frappe-bench/apps/frappe/frappe/email/receive.py”, line 54, in connect_imap
self.imap.login(self.settings.username, self.settings.password)
File “/usr/lib/python3.5/imaplib.py”, line 582, in login
raise self.error(dat[-1])
imaplib.IMAP4.error: b’[AUTHENTICATIONFAILED] Authentication failed.’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/administrator/frappe-bench/apps/frappe/frappe/email/doctype/email_domain/email_domain.py”, line 76, in on_update
email_account.save()
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 260, in save
return self._save(*args, **kwargs)
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 294, in _save
self.run_before_save_methods()
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 869, in run_before_save_methods
self.run_method(“validate”)
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 765, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 1040, in composer
return composed(self, method, *args, **kwargs)
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 1023, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 759, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/administrator/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py”, line 66, in validate
self.get_incoming_server()
File “/home/administrator/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py”, line 165, in get_incoming_server
message = e.message.lower().replace(" “,”")
AttributeError: ‘error’ object has no attribute ‘message’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/administrator/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 22, in savedocs
doc.save()
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 260, in save
return self._save(*args, **kwargs)
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 311, in _save
self.run_post_save_methods()
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 898, in run_post_save_methods
self.run_method(“on_update”)
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 765, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 1040, in composer
return composed(self, method, *args, **kwargs)
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 1023, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 759, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/administrator/frappe-bench/apps/frappe/frappe/email/doctype/email_domain/email_domain.py”, line 79, in on_update
frappe.throw(e)
File “/home/administrator/frappe-bench/apps/frappe/frappe/init.py”, line 327, in throw
msgprint(msg, raise_exception=exc, title=title, indicator=‘red’)
File “/home/administrator/frappe-bench/apps/frappe/frappe/init.py”, line 312, in msgprint
message_log.append(json.dumps(out))
File “/usr/lib/python3.5/json/init.py”, line 230, in dumps
return _default_encoder.encode(obj)
File “/usr/lib/python3.5/json/encoder.py”, line 198, in encode
chunks = self.iterencode(o, _one_shot=True)
File “/usr/lib/python3.5/json/encoder.py”, line 256, in iterencode
return _iterencode(o, 0)
File “/usr/lib/python3.5/json/encoder.py”, line 179, in default
raise TypeError(repr(o) + " is not JSON serializable")
TypeError: AttributeError(“‘error’ object has no attribute ‘message’”,) is not JSON serializable
Traceback (most recent call last):
File “/home/administrator/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py”, line 163, in get_incoming_server
email_server.connect()
File “/home/administrator/frappe-bench/apps/frappe/frappe/email/receive.py”, line 43, in connect
return self.connect_imap()
File “/home/administrator/frappe-bench/apps/frappe/frappe/email/receive.py”, line 54, in connect_imap
self.imap.login(self.settings.username, self.settings.password)
File “/usr/lib/python3.5/imaplib.py”, line 582, in login
raise self.error(dat[-1])
imaplib.IMAP4.error: b’[AUTHENTICATIONFAILED] Authentication failed.’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/administrator/frappe-bench/apps/frappe/frappe/email/doctype/email_domain/email_domain.py”, line 76, in on_update
email_account.save()
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 260, in save
return self._save(*args, **kwargs)
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 294, in _save
self.run_before_save_methods()
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 869, in run_before_save_methods
self.run_method(“validate”)
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 765, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 1040, in composer
return composed(self, method, *args, **kwargs)
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 1023, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 759, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/administrator/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py”, line 66, in validate
self.get_incoming_server()
File “/home/administrator/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py”, line 165, in get_incoming_server
message = e.message.lower().replace(" “,”")
AttributeError: ‘error’ object has no attribute ‘message’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/administrator/frappe-bench/apps/frappe/frappe/app.py”, line 62, in application
response = frappe.handler.handle()
File “/home/administrator/frappe-bench/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/home/administrator/frappe-bench/apps/frappe/frappe/handler.py”, line 55, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/administrator/frappe-bench/apps/frappe/frappe/init.py”, line 942, in call
return fn(*args, **newargs)
File “/home/administrator/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 22, in savedocs
doc.save()
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 260, in save
return self._save(*args, **kwargs)
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 311, in _save
self.run_post_save_methods()
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 898, in run_post_save_methods
self.run_method(“on_update”)
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 765, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 1040, in composer
return composed(self, method, *args, **kwargs)
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 1023, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/administrator/frappe-bench/apps/frappe/frappe/model/document.py”, line 759, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/administrator/frappe-bench/apps/frappe/frappe/email/doctype/email_domain/email_domain.py”, line 79, in on_update
frappe.throw(e)
File “/home/administrator/frappe-bench/apps/frappe/frappe/init.py”, line 327, in throw
msgprint(msg, raise_exception=exc, title=title, indicator=‘red’)
File “/home/administrator/frappe-bench/apps/frappe/frappe/init.py”, line 312, in msgprint
message_log.append(json.dumps(out))
File “/usr/lib/python3.5/json/init.py”, line 230, in dumps
return _default_encoder.encode(obj)
File “/usr/lib/python3.5/json/encoder.py”, line 198, in encode
chunks = self.iterencode(o, _one_shot=True)
File “/usr/lib/python3.5/json/encoder.py”, line 256, in iterencode
return _iterencode(o, 0)
File “/usr/lib/python3.5/json/encoder.py”, line 179, in default
raise TypeError(repr(o) + " is not JSON serializable")
TypeError: AttributeError(“‘error’ object has no attribute ‘message’”,) is not JSON serializable