Traceback (most recent call last):
File "/home/shmadmin/frappe-bench/apps/frappe/frappe/app.py", line 61, in application
response = frappe.handler.handle()
File "/home/shmadmin/frappe-bench/apps/frappe/frappe/handler.py", line 21, in handle
data = execute_cmd(cmd)
File "/home/shmadmin/frappe-bench/apps/frappe/frappe/handler.py", line 56, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "/home/shmadmin/frappe-bench/apps/frappe/frappe/__init__.py", line 1036, in call
return fn(*args, **newargs)
File "/home/shmadmin/frappe-bench/apps/frappe/frappe/handler.py", line 84, in runserverobj
frappe.desk.form.run_method.runserverobj(method, docs=docs, dt=dt, dn=dn, arg=arg, args=args)
File "/home/shmadmin/frappe-bench/apps/frappe/frappe/desk/form/run_method.py", line 36, in runserverobj
r = doc.run_method(method)
File "/home/shmadmin/frappe-bench/apps/frappe/frappe/model/document.py", line 772, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File "/home/shmadmin/frappe-bench/apps/frappe/frappe/model/document.py", line 1048, in composer
return composed(self, method, *args, **kwargs)
File "/home/shmadmin/frappe-bench/apps/frappe/frappe/model/document.py", line 1031, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File "/home/shmadmin/frappe-bench/apps/frappe/frappe/model/document.py", line 766, in <lambda>
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File "/home/shmadmin/frappe-bench/apps/am_mws/am_mws/am_mws/doctype/mws_integration_settings/mws_integration_settings.py", line 13, in get_products_details
products = get_products_details()
File "/home/shmadmin/frappe-bench/apps/am_mws/am_mws/am_mws/doctype/mws_integration_settings/amazon_methods.py", line 43, in get_products_details
create_item_code(product, sku)
File "/home/shmadmin/frappe-bench/apps/am_mws/am_mws/am_mws/doctype/mws_integration_settings/amazon_methods.py", line 163, in create_item_code
item.insert(ignore_permissions=True)
File "/home/shmadmin/frappe-bench/apps/frappe/frappe/model/document.py", line 217, in insert
self.set_new_name()
File "/home/shmadmin/frappe-bench/apps/frappe/frappe/model/document.py", line 378, in set_new_name
set_new_name(self)
File "/home/shmadmin/frappe-bench/apps/frappe/frappe/model/naming.py", line 39, in set_new_name
doc.run_method("autoname")
File "/home/shmadmin/frappe-bench/apps/frappe/frappe/model/document.py", line 772, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File "/home/shmadmin/frappe-bench/apps/frappe/frappe/model/document.py", line 1048, in composer
return composed(self, method, *args, **kwargs)
File "/home/shmadmin/frappe-bench/apps/frappe/frappe/model/document.py", line 1031, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File "/home/shmadmin/frappe-bench/apps/frappe/frappe/model/document.py", line 766, in <lambda>
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File "/home/shmadmin/frappe-bench/apps/erpnext/erpnext/stock/doctype/item/item.py", line 71, in autoname
self.item_code = strip(self.item_code)
File "/home/shmadmin/frappe-bench/apps/frappe/frappe/utils/data.py", line 973, in strip
return (val or "").replace("\ufeff", "").replace("\u200b", "").strip(chars)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc2 in position 16: invalid continuation byte