2026-06-05 14:43:59,552 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 14:59:00,286 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 15:14:01,107 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 15:29:03,897 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 15:44:06,669 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 15:59:08,462 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 16:14:09,082 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 16:29:09,696 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 16:44:12,540 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 16:59:16,273 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 17:14:17,036 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 17:29:17,709 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 17:44:18,543 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 17:59:19,233 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 18:14:19,867 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 18:29:20,546 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 18:44:21,159 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 18:59:22,118 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 19:14:22,662 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 19:29:23,338 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 19:44:23,861 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 19:59:24,423 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 20:14:24,947 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 20:29:25,580 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 20:44:26,224 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 20:59:26,990 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 21:14:27,606 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 21:29:28,234 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 21:44:28,841 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 21:59:29,685 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 22:14:30,193 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 22:29:31,269 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 22:44:31,954 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 22:59:32,626 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 23:14:33,172 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 23:29:33,789 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 23:44:34,416 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-05 23:59:35,071 - discom_delhi_scraper - ERROR - [MAIN_LOOP_EXCEPTION] Error in main loop: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) Traceback (most recent call last): File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 559, in main path = append_snapshot_to_history(payload, cycle_failures=cycle_failures) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 455, in append_snapshot_to_history hist = _load_history() ^^^^^^^^^^^^^^^ File "/var/www/html/uat-climakosh-api/public/climakosh-python-script-production/discom_delhi.py", line 430, in _load_history return json.load(f) ^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 4603 column 2 (char 126976) 2026-06-06 00:15:05,668 - discom_delhi_scraper - ERROR - [PARSER_MISSING_FIELD] One or both target tables were not found (DISCOM id: ContentPlaceHolder3_DDISCOM, STATE id: ContentPlaceHolder3_Dstatedrawl) at https://www.delhisldc.org/Redirect.aspx?Loc=0804 2026-06-06 00:15:05,670 - discom_delhi_scraper - ERROR - [CYCLE_FAILURE] Fetch failed for https://www.delhisldc.org/Redirect.aspx?Loc=0804; no payload generated this cycle.