Describe the bug
When platform.driver starts its trying to read the override_patterns but gets an empty dict when it is expecting JSON. This also interferes with get_point, set_point and more.
File "/home/riley/.cache/pypoetry/virtualenvs/volttron-platform-driver-WYcNtKRm-py3.10/lib/python3.10/site-packages/platform_driver/overrides.py", line 27, in init
values = loads(self.parent.vip.config.get("override_patterns"))
File "/usr/lib/python3.10/json/init.py", line 339, in loads
raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not dict
You can find the code hereTo Reproduce
Steps to reproduce the behavior:
start volttron
run the clear overrides rpc call to create and empty dict
restart volttron-platform-driver
See error
System (please complete the following information):
Describe the bug When platform.driver starts its trying to read the override_patterns but gets an empty dict when it is expecting JSON. This also interferes with get_point, set_point and more.
File "/home/riley/.cache/pypoetry/virtualenvs/volttron-platform-driver-WYcNtKRm-py3.10/lib/python3.10/site-packages/platform_driver/overrides.py", line 27, in init values = loads(self.parent.vip.config.get("override_patterns")) File "/usr/lib/python3.10/json/init.py", line 339, in loads raise TypeError(f'the JSON object must be str, bytes or bytearray, ' TypeError: the JSON object must be str, bytes or bytearray, not dict
You can find the code here To Reproduce Steps to reproduce the behavior:
System (please complete the following information):