Thanks - I am posting the log for this error below:
[ERROR] 2019-08-08 21:21:09,887 | /home/horballs/frappe-bench/apps/frappe/frappe/utils/error.py:
Could not take error snapshot: startswith first arg must be str or a tuple of str, not bytes
Traceback (most recent call last):
File "/home/horballs/frappe-bench/apps/frappe/frappe/app.py", line 60, in application
response = frappe.api.handle()
File "/home/horballs/frappe-bench/apps/frappe/frappe/api.py", line 55, in handle
return frappe.handler.handle()
File "/home/horballs/frappe-bench/apps/frappe/frappe/handler.py", line 21, in handle
data = execute_cmd(cmd)
File "/home/horballs/frappe-bench/apps/frappe/frappe/handler.py", line 56, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "/home/horballs/frappe-bench/apps/frappe/frappe/__init__.py", line 1036, in call
return fn(*args, **newargs)
File "/home/horballs/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/horballs/frappe-bench/apps/frappe/frappe/desk/form/run_method.py", line 36, in runserverobj
r = doc.run_method(method)
File "/home/horballs/frappe-bench/apps/frappe/frappe/model/document.py", line 786, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File "/home/horballs/frappe-bench/apps/frappe/frappe/model/document.py", line 1055, in composer
return composed(self, method, *args, **kwargs)
File "/home/horballs/frappe-bench/apps/frappe/frappe/model/document.py", line 1038, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File "/home/horballs/frappe-bench/apps/frappe/frappe/model/document.py", line 780, in <lambda>
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File "/home/horballs/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/doctype/amazon_mws_settings/amazon_mws_settings.py", line 22, in get_products_details
get_products_details()
File "/home/horballs/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/doctype/amazon_mws_settings/amazon_methods.py", line 23, in get_products_details
report_id = request_and_fetch_report_id("_GET_FLAT_FILE_OPEN_LISTINGS_DATA_", None, None, market_place_list)
File "/home/horballs/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/doctype/amazon_mws_settings/amazon_methods.py", line 90, in request_and_fetch_report_id
marketplaceids=marketplaceids)
File "/home/horballs/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/doctype/amazon_mws_settings/amazon_mws_api.py", line 373, in request_report
return self.make_request(data)
File "/home/horballs/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/doctype/amazon_mws_settings/amazon_mws_api.py", line 164, in make_request
extra_data = remove_empty(extra_data)
File "/home/horballs/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/doctype/amazon_mws_settings/amazon_mws_api.py", line 74, in remove_empty
for key in d.keys():
RuntimeError: dictionary changed size during iteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/horballs/frappe-bench/apps/frappe/frappe/utils/error.py", line 36, in make_error_snapshot
snapshot = get_snapshot(exception)
File "/home/horballs/frappe-bench/apps/frappe/frappe/utils/error.py", line 131, in get_snapshot
if type(value)==str and value.startswith(b"u'"):
TypeError: startswith first arg must be str or a tuple of str, not bytes