Open jefhil opened 6 years ago
I've seen the same problem on another dev board. I couldn't find out the root cause until now.
Does that work if you run ./run_assistant_text
?
./run_assistant_text hangs too
From: Nick notifications@github.com 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.
./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
<...>
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