Skip to content
This repository was archived by the owner on Feb 9, 2023. It is now read-only.
This repository was archived by the owner on Feb 9, 2023. It is now read-only.

Error when executing src/examples/voice/assistant_grpc_demo.py  #658

@vishwapinnawala

Description

@vishwapinnawala

newbie here Help!!! Tried Re enabling Assistant API and i tried installing AIY os again and again 3 times no luck

Traceback (most recent call last):
File "src/examples/voice/assistant_grpc_demo.py", line 57, in
main()
File "src/examples/voice/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions