Index: cloudsync/utils/helpers.py =================================================================== diff -u -r39149713e613930d06927d84f09c01d9b7bee6ee -raa1652edcb73999e4686a936be753e4177d595ab --- cloudsync/utils/helpers.py (.../helpers.py) (revision 39149713e613930d06927d84f09c01d9b7bee6ee) +++ cloudsync/utils/helpers.py (.../helpers.py) (revision aa1652edcb73999e4686a936be753e4177d595ab) @@ -82,7 +82,7 @@ """ try: float(val) - except ValueError: + except (ValueError, TypeError): return False return True @@ -99,7 +99,11 @@ if helpers_is_int(val): return int(val) elif helpers_is_float(val): - f = float(val) + try: + f = float(val) + except Exception: + g_utils.logger.warning(f"Unexpected conversion failure for: '{val}' — replacing with 0") + return 0 if math.isinf(f) or math.isnan(f): g_utils.logger.warning(f"Non-finite float value encountered: '{val}' — replacing with 0") return 0