Hi,
When I click .../app.html#List/Lead to list the Leads, the following error appears:
Traceback (innermost last):
File "lib/webnotes/handler.py", line 78, in handle
execute_cmd(cmd)
File "lib/webnotes/handler.py", line 118, in execute_cmd
ret = call(method, webnotes.form_dict)
File "lib/webnotes/handler.py", line 140, in call
return fn(**newargs)
File "lib/webnotes/widgets/form/load.py", line 63, in getdoctype
doclist = webnotes.model.doctype.get(doctype, processed=True)
File "lib/webnotes/model/doctype.py", line 51, in get
add_code(doctype, doclist)
File "lib/webnotes/model/doctype.py", line 276, in add_code
add_embedded_js(doc)
File "lib/webnotes/model/doctype.py", line 300, in add_embedded_js
doc.fields['__js'] = re.sub('(wn.require\([^\)]*.)', _sub, doc.fields['__js'])
File "/usr/lib/python2.7/re.py", line 151, in sub
return _compile(pattern, flags).sub(repl, string, count)
File "lib/webnotes/model/doctype.py", line 295, in _sub
return '\n' + unicode(f.read(), "utf-8") + '\n'
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe1 in position 1089: invalid continuation byte
How can I solve this?
Thanks,
Edney