Closed dvdl16 closed 2 months ago
sync_sales_orders.run_sales_orders_sync fails intermittently, see traceback below
sync_sales_orders.run_sales_orders_sync
See failed logs under Scheduled Job Log
Job should complete successfully
Traceback with variables (most recent call last): File "apps/frappe/frappe/core/doctype/scheduled_job_type/scheduled_job_type.py", line 143, in execute frappe.get_attr(self.method)() self = <ScheduledJobType: sync_sales_orders.run_sales_orders_sync> File "apps/frappe/frappe/utils/typing_validations.py", line 31, in wrapper return func(*args, **kwargs) args = () kwargs = {} apply_condition = <function whitelist.<locals>.innerfn.<locals>.<lambda> at 0x725d30eee520> func = <function run_sales_orders_sync at 0x725d30eee480> File "apps/woocommerce_fusion/woocommerce_fusion/tasks/sync_sales_orders.py", line 50, in run_sales_orders_sync sync.run() sales_order_name = None woocommerce_order_id = None sync = <woocommerce_fusion.tasks.sync_sales_orders.SynchroniseSalesOrders object at 0x725d31067d90> File "apps/woocommerce_fusion/woocommerce_fusion/tasks/sync_sales_orders.py", line 101, in run self.sync_wc_orders_with_erpnext_sales_orders() self = <woocommerce_fusion.tasks.sync_sales_orders.SynchroniseSalesOrders object at 0x725d31067d90> File "apps/woocommerce_fusion/woocommerce_fusion/tasks/sync_sales_orders.py", line 283, in sync_wc_orders_with_erpnext_sales_orders wc_settings.save() self = <woocommerce_fusion.tasks.sync_sales_orders.SynchroniseSalesOrders object at 0x725d31067d90>
Agriculture: v0.0.1 Customisations for [redacted]: v1.2.3 South Africa Customisations: v0.1.6 ERPNext: v15.27.7 Frappe Framework: v15.29.2 Frappe HR: v15.22.3 WooCommerce Fusion: v1.5.2
Windows
Firefox
Current Behavior
sync_sales_orders.run_sales_orders_sync
fails intermittently, see traceback belowSteps To Reproduce
See failed logs under Scheduled Job Log
Expected Behavior
Job should complete successfully
Anything else?
Environment and Versions
Operating System
Windows
What browsers are you seeing the problem on?
Firefox