【问题标题】:google assistant demo crash S3 connection time out谷歌助手演示崩溃 S3 连接超时
【发布时间】:2018-01-16 09:42:55
【问题描述】:

当我尝试启动谷歌助手时,它崩溃并显示以下错误。

当它回复时,要么说:

“几秒钟后尝试出现错误” “好像出了点问题”

ON_MUTED_CHANGED: {'is_muted':错误} ON_START_FINISHED [19218:19229:ERROR:speech_processing_task.cc(646)] 检测到通信错误:下游提前关闭。

ON_CONVERSATION_TURN_STARTED
[19218:19229:ERROR:speech_processing_task.cc(646)] Detected communication error: Downstream closed prematurely.
[19218:19229:ERROR:assistant_output_handler.cc(589)] Failed with a general speech recognition error
ON_ASSISTANT_ERROR:
  {'is_fatal': False}
ON_RESPONDING_STARTED:
  {'is_error_response': True}
ON_RESPONDING_FINISHED
ON_CONVERSATION_TURN_FINISHED:
  {'with_follow_on_turn': False}

[19218:19229:ERROR:speech_processing_task.cc(340)] S3 connection has timed out: No data from S3
[19218:19229:ERROR:speech_processing_task.cc(646)] Detected communication error: Downstream closed prematurely.

我通过 ssh 连接到树莓派并且可以 ping,所以我认为这不是连接问题。

这是我的第一篇文章,让我知道是否有需要更改的内容或我可能忘记的细节。

[更新] 我检查了我的活动,日志中没有任何内容,但是当我尝试使用智能手机时,它会正确记录 此外,我将我的树莓派 pi3 更新到了最新版本,但错误日志中仍然没有变化

【问题讨论】:

    标签: raspberry-pi google-assistant-sdk


    【解决方案1】:

    我遇到了同样的问题。 问题是谷歌助手 api 没有启用。 执行 ctrl+c 并使用 env

    运行此命令
    python -m googlesamples.assistant.grpc.pushtotalk
    

    当它显示 Press enter to send a new request 时,按 enter 并说点什么。 它会给你一个带有很多命令行的错误。 最后一段很重要。 在这里:-

    PERMISSION_DENIED, Google Assistant API has not been used in project integrigate before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/embeddedassistant.googleapis.com/overview?project=projectname then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.)>

    将链接复制并粘贴到浏览器中,然后单击启用 api。 一旦完成 运行下面的命令 谷歌助手演示。 它现在应该可以工作了。

    好听

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-06-08
      • 1970-01-01
      • 2020-08-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多