Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When i say the hotword. I have some error code #10

Open
mrandrian opened this issue Sep 27, 2019 · 0 comments
Open

When i say the hotword. I have some error code #10

mrandrian opened this issue Sep 27, 2019 · 0 comments

Comments

@mrandrian
Copy link

It,s

DEBUG:google.auth.transport.requests:Making request: POST https://accounts.google.com/o/oauth2/token
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): accounts.google.com:443
DEBUG:urllib3.connectionpool:https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None
INFO:aiy.assistant.grpc:device_model_id: smartmirror2-78e9c-voice-kit
INFO:aiy.assistant.grpc:device_id: smartmirror2-78e9c-voice-kit-9e59fa9d-bdf9-4670-87b1-0dbff153ef0f
DEBUG:google.auth.transport.requests:Making request: POST https://accounts.google.com/o/oauth2/token
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): accounts.google.com:443
DEBUG:urllib3.connectionpool:https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None
INFO:aiy.assistant.grpc:Connecting to embeddedassistant.googleapis.com
/opt/aiy/projects-python/src/aiy/board.py:218: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(channel, GPIO.OUT)
INFO:root:Speak own hotword and speak
DEBUG:snowboy:detecting...
INFO:snowboy:detect started.
INFO:snowboy:Keyword 1 detected at time: 2019-09-27 09:00:17
INFO:snowboy:detect stopped.
DEBUG:snowboy:detect voice break
DEBUG:snowboy:finished.
INFO:root:Conversation started!
INFO:aiy.assistant.grpc:Recording started.
aplay: playback:2787: read error
INFO:aiy.assistant.grpc:Recording stopped.
Traceback (most recent call last):
File "./assistant_grpc_demo_snowboy.py", line 61, in
main()
File "./assistant_grpc_demo_snowboy.py", line 58, in main
assistant.conversation()
File "/opt/aiy/projects-python/src/aiy/assistant/grpc.py", line 190, in conversation
keep_talking = self._assist(recorder, wrapped_play, deadline)
File "/opt/aiy/projects-python/src/aiy/assistant/grpc.py", line 135, in _assist
for response in self._assistant.Assist(self._requests(recorder), deadline):
File "/usr/local/lib/python3.5/dist-packages/grpc/_channel.py", line 363, in next
return self._next()
File "/usr/local/lib/python3.5/dist-packages/grpc/_channel.py", line 357, in _next
raise self
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with:
status = StatusCode.INVALID_ARGUMENT
details = "Invalid 'dialog_state_in': unsupported language_code."
debug_error_string = "{"created":"@1569549617.746231768","description":"Error received from peer","file":"src/core/lib/surface/call.cc","file_line":1099,"grpc_message":"Invalid 'dialog_state_in': unsupported language_code.","grpc_status":3}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant