problem decoding json
when executing this command :
source .venv/bin/activate mosquitto & python src/orchestrator/main.py
I get this error :
[orchestrator] Loaded core: greet_demo Attempting to load /home/kevin/blueberry-micro/src/cores/search_ddg/bb_coremain.py 1715264824: New connection from ::1:46267 on port 1883. 1715264824: New client connected from ::1:46267 as auto-0E940F6A-20BE-F998-C96D-E969307892F0 (p2, c1, k60). 1715264824: Client auto-0E940F6A-20BE-F998-C96D-E969307892F0 disconnected. 1715264824: New connection from ::1:42469 on port 1883. 1715264824: New client connected from ::1:42469 as auto-029BF001-50AC-E94A-580D-08BB25BA8C11 (p2, c1, k60). Traceback (most recent call last): File "/home/kevin/blueberry-micro/src/orchestrator/main.py", line 121, in <module> core_obj = core.Core(path=core_file, host=config_json["mqtt"]["host"], port=config_json["mqtt"]["port"], devid=config_json["uuid"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kevin/blueberry-micro/src/orchestrator/core.py", line 14, in __init__ self.core_json = json.loads(core_run.stdout.decode()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I'm using manjaro linux and I ran the init you wrote, also added the hey jarvis tflite file into the bloob/ww folder