Hi everybody.
Currently I’m using send email from core in a visual way, I mean I use “email alert” in configuration. When it is sent with frappe 10.1.6 and erpnext 10.1.13 all is OK.
Now I migrated to last version frappe 10.1.35 and erpnext 10.1.126 it launchs the next error:
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 260, in save
return self._save(*args, **kwargs)
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 283, in _save
self.insert()
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 243, in insert
self.run_method("after_insert")
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 767, in run_method
self.run_email_alerts(method)
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 817, in run_email_alerts
_evaluate_alert(alert)
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 798, 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 271, in evaluate_alert
frappe.log_error(message=frappe.get_traceback(), title=str(e))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 27: ordinal not in range(128)
request.js:315 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 942, 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 260, in save
return self._save(args, **kwargs)
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 283, in _save
self.insert()
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 243, in insert
self.run_method("after_insert")
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 767, in run_method
self.run_email_alerts(method)
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 817, in run_email_alerts
_evaluate_alert(alert)
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 798, 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 271, in evaluate_alert
frappe.log_error(message=frappe.get_traceback(), title=str(e))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 27: ordinal not in range(128)
Can you say me if in the last version of frappe and erpnext something changed?
Thanks in advanced