assistant-sdk-cpp icon indicating copy to clipboard operation
assistant-sdk-cpp copied to clipboard

setting GRPC_TRACE to any value causing hanging

Open jefhil opened this issue 7 years ago • 4 comments

using " ./run_assistant_audio --verbose --credentials=credentials.json" works perfectly after export GRPC_TRACE=all (or anything at all) and repeating command it hangs. I'm on a Raspberry Pi with code cloned on 7/24/18

jefhil avatar Aug 20 '18 18:08 jefhil

I've seen the same problem on another dev board. I couldn't find out the root cause until now.

mpoullet avatar Aug 21 '18 07:08 mpoullet

Does that work if you run ./run_assistant_text?

Fleker avatar Aug 21 '18 17:08 Fleker

./run_assistant_text hangs too


From: Nick [email protected] Sent: Tuesday, August 21, 2018 1:49 PM To: googlesamples/assistant-sdk-cpp Cc: jefhil; Author Subject: Re: [googlesamples/assistant-sdk-cpp] setting GRPC_TRACE to any value causing hanging (#41)

Does that work if you run ./run_assistant_text?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/googlesamples/assistant-sdk-cpp/issues/41#issuecomment-414762748, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Al74t0GFCWTB4jjoh2g8urOpqgqoQlxAks5uTEgSgaJpZM4WEg2e.

jefhil avatar Aug 22 '18 14:08 jefhil

./run_assistant_text hangs for me too, no output, nothing:

#  echo "what time is it" | LD_LIBRARY_PATH=/var/google-assistant/lib ./run_assistant_text --credentials ./credentials.json --verbose
Using locale en-US
assistant_sdk robots_pem: 
assistant_sdk CreateCustomChannel(embeddedassistant.googleapis.com:443, creds, arg)

assistant_sdk wrote first request: config { audio_out_config { encoding: LINEAR16 sample_rate_hertz: 16000 } dialog_state_in { language_code: "en-US" } device_config { device_id: "default" device_model_id: "default" } text_query: "What time is it?" screen_out_config { } }
assistant_sdk waiting for response ... 
assistant_sdk response:
It's 9:06.
# export GRPC_TRACE=all
#  echo "what time is it" | LD_LIBRARY_PATH=/var/google-assistant/lib ./run_assistant_text --credentials ./credentials.json --verbose
<...>

mpoullet avatar Aug 23 '18 07:08 mpoullet