-
Notifications
You must be signed in to change notification settings - Fork 694
AIY voice kit V1 not working while running the scripts getting error #696
Comments
Hi, Another below error am getting pi@raspberrypi: pi@raspberrypi:~ $ |
@trsbalaji Did you try to execute assistant_grpc_demo.py without virtual environment? |
Yes, I tried with latest image as well as without virtual environment, same issue seeing |
Did you try to implement the solution given at : #658 (comment) ? |
So I have been having issues and contacted the help desk. I followed these instructions up until step 18 , download credentials. I did not have a download option but could copy the two keys. when i run assistant_gprc.demo.py I still get the same error |
Hi,
Followed google cloud console steps : #616
Download credentials and tried with python3 same issue seeing.
Could you please help me how to fix this issue?
TypeError: register() takes from 2 to 3 positional arguments but 4 were given
pi@raspberrypi:
/AIY-projects-python/src/examples/voice $ python3 assistant_grpc_demo.py/AIY-projects-python/src/examples/voice $ lsTraceback (most recent call last):
File "assistant_grpc_demo.py", line 57, in
main()
File "assistant_grpc_demo.py", line 49, in main
language_code=args.language)
File "/home/pi/AIY-projects-python/src/aiy/assistant/grpc.py", line 258, in init
super().init(language_code, volume_percentage)
File "/home/pi/AIY-projects-python/src/aiy/assistant/grpc.py", line 94, in init
credentials = auth_helpers.get_assistant_credentials()
File "/home/pi/AIY-projects-python/src/aiy/assistant/auth_helpers.py", line 151, in get_assistant_credentials
return _try_to_get_credentials(credentials_file)
File "/home/pi/AIY-projects-python/src/aiy/assistant/auth_helpers.py", line 123, in _try_to_get_credentials
credentials = _credentials_flow_interactive(client_secrets)
File "/home/pi/AIY-projects-python/src/aiy/assistant/auth_helpers.py", line 75, in _credentials_flow_interactive
webbrowser.register('chromium-browser', None, webbrowser.Chrome('chromium-browser'), -1)
TypeError: register() takes from 2 to 3 positional arguments but 4 were given
pi@raspberrypi:
assistant_grpc_demo.py assistant_grpc_demo.service assistant_library_demo.py assistant_library_with_button_demo.py assistant_library_with_local_commands_demo.py cloudspeech_demo.py recording.wav voice_recorder.py
pi@raspberrypi:~/AIY-projects-python/src/examples/voice $ ./assistant_library_with_local_commands_demo.py
Traceback (most recent call last):
File "./assistant_library_with_local_commands_demo.py", line 90, in
main()
File "./assistant_library_with_local_commands_demo.py", line 83, in main
credentials = auth_helpers.get_assistant_credentials()
File "/home/pi/AIY-projects-python/src/aiy/assistant/auth_helpers.py", line 151, in get_assistant_credentials
return _try_to_get_credentials(credentials_file)
File "/home/pi/AIY-projects-python/src/aiy/assistant/auth_helpers.py", line 123, in _try_to_get_credentials
credentials = _credentials_flow_interactive(client_secrets)
File "/home/pi/AIY-projects-python/src/aiy/assistant/auth_helpers.py", line 75, in _credentials_flow_interactive
webbrowser.register('chromium-browser', None, webbrowser.Chrome('chromium-browser'), -1)
TypeError: register() takes from 2 to 3 positional arguments but 4 were given
The text was updated successfully, but these errors were encountered: