Error on save in Item doctype

On pressing save after updating the item details I get the error
Password not found

The trace details is given below

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 22, in savedocs
doc.save()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 256, in save
return self._save(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 307, in _save
self.run_post_save_methods()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 887, in run_post_save_methods
self.run_method(“on_update”)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 757, in run_method
self.run_email_alerts(method)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 807, in run_email_alerts
_evaluate_alert(alert)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 788, in _evaluate_alert
evaluate_alert(self, alert.name, alert.event)
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_alert/email_alert.py”, line 266, in evaluate_alert
frappe.log_error(message=frappe.get_traceback(), title=e)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 1378, in log_error
method=title)).insert(ignore_permissions=True)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 230, in insert
self.db_insert()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/base_document.py”, line 303, in db_insert
), list(d.values()))
File “/home/frappe/frappe-bench/apps/frappe/frappe/database.py”, line 166, in sql
self._cursor.execute(query, values)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/cursors.py”, line 163, in execute
query = self.mogrify(query, args)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/cursors.py”, line 142, in mogrify
query = query % self._escape_args(args, conn)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/cursors.py”, line 117, in _escape_args
return tuple(conn.literal(arg) for arg in args)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/cursors.py”, line 117, in
return tuple(conn.literal(arg) for arg in args)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/connections.py”, line 819, in literal
return self.escape(obj, self.encoders)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/connections.py”, line 812, in escape
return converters.escape_item(obj, self.charset, mapping=mapping)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/converters.py”, line 27, in escape_item
val = encoder(val, mapping)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/converters.py”, line 118, in escape_unicode
return u"‘%s’" % _escape_unicode(value)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/converters.py”, line 73, in _escape_unicode
return value.translate(_escape_table)
AttributeError: ‘AuthenticationError’ object has no attribute ‘translate’

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 62, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 939, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 22, in savedocs
doc.save()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 256, in save
return self._save(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 307, in _save
self.run_post_save_methods()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 887, in run_post_save_methods
self.run_method(“on_update”)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 757, in run_method
self.run_email_alerts(method)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 807, in run_email_alerts
_evaluate_alert(alert)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 788, in _evaluate_alert
evaluate_alert(self, alert.name, alert.event)
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_alert/email_alert.py”, line 266, in evaluate_alert
frappe.log_error(message=frappe.get_traceback(), title=e)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 1378, in log_error
method=title)).insert(ignore_permissions=True)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 230, in insert
self.db_insert()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/base_document.py”, line 303, in db_insert
), list(d.values()))
File “/home/frappe/frappe-bench/apps/frappe/frappe/database.py”, line 166, in sql
self._cursor.execute(query, values)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/cursors.py”, line 163, in execute
query = self.mogrify(query, args)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/cursors.py”, line 142, in mogrify
query = query % self._escape_args(args, conn)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/cursors.py”, line 117, in _escape_args
return tuple(conn.literal(arg) for arg in args)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/cursors.py”, line 117, in
return tuple(conn.literal(arg) for arg in args)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/connections.py”, line 819, in literal
return self.escape(obj, self.encoders)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/connections.py”, line 812, in escape
return converters.escape_item(obj, self.charset, mapping=mapping)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/converters.py”, line 27, in escape_item
val = encoder(val, mapping)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/converters.py”, line 118, in escape_unicode
return u"‘%s’" % _escape_unicode(value)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/converters.py”, line 73, in _escape_unicode
return value.translate(_escape_table)
AttributeError: ‘AuthenticationError’ object has no attribute ‘translate’