Traceback (most recent call last):
File “apps/woocommerceconnector/woocommerceconnector/api.py”, line 50, in sync_woocommerce_resources
sync_products(woocommerce_settings.price_list, woocommerce_settings.warehouse, True if woocommerce_settings.sync_items_from_woocommerce_to_erp == 1 else False)
File “apps/woocommerceconnector/woocommerceconnector/sync_products.py”, line 24, in sync_products
sync_erpnext_items(price_list, warehouse, woocommerce_item_list)
File “apps/woocommerceconnector/woocommerceconnector/sync_products.py”, line 400, in sync_erpnext_items
for item in get_erpnext_items(price_list):
File “apps/woocommerceconnector/woocommerceconnector/sync_products.py”, line 460, in get_erpnext_items
frappe.log_error(“{0}”.format(item_from_item_price))
File “apps/frappe/frappe/init.py”, line 2241, in log_error
return error_log.insert(ignore_permissions=True)
File “apps/frappe/frappe/model/document.py”, line 261, in insert
self._validate()
File “apps/frappe/frappe/model/document.py”, line 542, in _validate
self._validate_length()
File “apps/frappe/frappe/model/base_document.py”, line 933, in _validate_length
self.throw_length_exceeded_error(df, max_length, value)
File “apps/frappe/frappe/model/base_document.py”, line 967, in throw_length_exceeded_error
frappe.throw(
File “apps/frappe/frappe/init.py”, line 538, in throw
msgprint(
File “apps/frappe/frappe/init.py”, line 506, in msgprint
_raise_exception()
File “apps/frappe/frappe/init.py”, line 452, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.CharacterLengthExceededError: Error Log 46: ‘Title’ (SELECT tabItem
.name
,
tabItem
.item_code
,
tabItem
.item_name
,
tabItem
.item_group
,
tabItem
.description
,
tabItem
.woocommerce_description
,
tabItem
.has_variants
,
tabItem
.variant_of
,
tabItem
.stock_uom
,
tabItem
.image
,
tabItem
.woocommerce_product_id
,
tabItem
.woocommerce_variant_id
,
tabItem
.sync_qty_with_woocommerce
,
tabItem
.weight_per_unit
,
tabItem
.weight_uom
FROM tabItem
, tabItem Price
WHERE tabItem Price
.price_list
= ‘Standard Buying’
AND tabItem
.name
= tabItem Price
.item_code
AND tabItem
.sync_with_woocommerce
= 1
AND (tabItem
.disabled
IS NULL OR tabItem
.disabled
= 0) ) will get truncated, as max characters allowed is 140
how to resolve this above error