This is what the dev terminal returns to me when I run the Code:
Code: Select all
env) pi@raspberrypi:~/AIY-voice-kit-python $ src/assistant_library_demo.py
Traceback (most recent call last):
File "src/assistant_library_demo.py", line 69, in <module>
main()
File "src/assistant_library_demo.py", line 62, in main
credentials = aiy.assistant.auth_helpers.get_assistant_credentials()
File "/home/pi/AIY-voice-kit-python/src/aiy/assistant/auth_helpers.py", line 127, in get_assistant_credentials
return _try_to_get_credentials(credentials_file)
File "/home/pi/AIY-voice-kit-python/src/aiy/assistant/auth_helpers.py", line 95, in _try_to_get_credentials
return _load_credentials(_ASSISTANT_CREDENTIALS)
File "/home/pi/AIY-voice-kit-python/src/aiy/assistant/auth_helpers.py", line 51, in _load_credentials
credentials_data = json.load(f)
File "/usr/lib/python3.4/json/__init__.py", line 268, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/usr/lib/python3.4/json/__init__.py", line 318, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.4/json/decoder.py", line 343, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.4/json/decoder.py", line 361, in raw_decode
raise ValueError(errmsg("Expecting value", s, err.value)) from None
ValueError: Expecting value: line 1 column 1 (char 0)