我们的会议结束了(状态代码。已中止,操作已中止。)>

2024-04-23 07:06:25 发布

您现在位置:Python中文网/ 问答频道 /正文

更新,我看到api被碰撞了,所以我更新了麦克风流示例也失败了,所以我改用它:

我说的是“这是stackoverflow的测试”,然后等待它超时。在

https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/speech/cloud-client/transcribe_streaming_mic.py

C:\gcp\python-docs-samples\speech\cloud-client>apitest\Scripts\python transcribe_streaming_mic.py
this is a test for stack overflow
Traceback (most recent call last):
  File "transcribe_streaming_mic.py", line 193, in <module>
    main()
  File "transcribe_streaming_mic.py", line 189, in main
    listen_print_loop(responses)
  File "transcribe_streaming_mic.py", line 128, in listen_print_loop
    for response in responses:
  File "C:\gcp\python-docs-samples\speech\cloud-client\apitest\lib\site-packages\grpc\_channel.py", line 351, in next
    return self._next()
  File "C:\gcp\python-docs-samples\speech\cloud-client\apitest\lib\site-packages\grpc\_channel.py", line 342, in _next
    raise self
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with (StatusCode.ABORTED, The operation was aborted.)>

环境:

^{pr2}$

Tags: inpyclientclouddocsgrpclinespeech