No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
离线唤醒相关
—— 我已确保录音、播放都正常工作才尝试 wukong-robot 。
问题描述
日志提示 主动聆听失败
2024-03-23 03:10:00,646 - robot.Conversation - Conversation.py - activeListen - line 437 - ERROR - 主动聆听失败:'access_token'
Stack (most recent call last):
File "/usr/local/lib/python3.8/threading.py", line 890, in _bootstrap
self._bootstrap_inner()
File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.8/site-packages/nest_asyncio.py", line 81, in run_forever
self._run_once()
File "/usr/local/lib/python3.8/site-packages/nest_asyncio.py", line 133, in _run_once
handle._run()
File "/usr/local/lib/python3.8/asyncio/events.py", line 81, in _run
self._context.run(self._callback, *self._args)
File "/app/robot/Player.py", line 91, in executeOnCompleted
res and onCompleted and onCompleted()
File "/app/robot/Conversation.py", line 94, in <lambda>
onCompleted=lambda: self._lastCompleted(index, onCompleted),
File "/app/robot/Conversation.py", line 63, in _lastCompleted
onCompleted and onCompleted()
File "/app/plugins/Geek.py", line 23, in <lambda>
onCompleted=lambda: self.onAsk(self.activeListen(silent=True)),
File "/app/plugins/Geek.py", line 40, in onAsk
self.onAsk(self.activeListen(silent=True))
File "/app/plugins/Geek.py", line 40, in onAsk
self.onAsk(self.activeListen(silent=True))
File "/app/plugins/Geek.py", line 40, in onAsk
self.onAsk(self.activeListen(silent=True))
[Previous line repeated 15 more times]
File "/app/robot/sdk/AbstractPlugin.py", line 62, in activeListen
return self.con.activeListen(silent)
File "/app/robot/Conversation.py", line 437, in activeListen
logger.error(f"主动聆听失败:{e}", stack_info=True)
2024-03-23 03:10:02,653 - robot.Conversation - Conversation.py - activeListen - line 418 - INFO - 进入主动聆听...
2024-03-23 03:10:22,494 - robot.Conversation - Conversation.py - activeListen - line 437 - ERROR - 主动聆听失败:'access_token'
Stack (most recent call last):
File "/usr/local/lib/python3.8/threading.py", line 890, in _bootstrap
self._bootstrap_inner()
File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.8/site-packages/nest_asyncio.py", line 81, in run_forever
self._run_once()
File "/usr/local/lib/python3.8/site-packages/nest_asyncio.py", line 133, in _run_once
handle._run()
File "/usr/local/lib/python3.8/asyncio/events.py", line 81, in _run
self._context.run(self._callback, *self._args)
File "/app/robot/Player.py", line 91, in executeOnCompleted
res and onCompleted and onCompleted()
File "/app/robot/Conversation.py", line 94, in <lambda>
onCompleted=lambda: self._lastCompleted(index, onCompleted),
File "/app/robot/Conversation.py", line 63, in _lastCompleted
onCompleted and onCompleted()
File "/app/plugins/Geek.py", line 23, in <lambda>
onCompleted=lambda: self.onAsk(self.activeListen(silent=True)),
File "/app/plugins/Geek.py", line 40, in onAsk
self.onAsk(self.activeListen(silent=True))
File "/app/plugins/Geek.py", line 40, in onAsk
self.onAsk(self.activeListen(silent=True))
File "/app/plugins/Geek.py", line 40, in onAsk
self.onAsk(self.activeListen(silent=True))
[Previous line repeated 16 more times]
File "/app/robot/sdk/AbstractPlugin.py", line 62, in activeListen
return self.con.activeListen(silent)
File "/app/robot/Conversation.py", line 437, in activeListen
logger.error(f"主动聆听失败:{e}", stack_info=True)
2024-03-23 03:10:23,064 - robot.Conversation - Conversation.py - say - line 398 - INFO - 即将朗读语音:退出极客模式
2024-03-23 03:10:23,067 - robot.Conversation - Conversation.py - _tts - line 305 - INFO - _tts
确认已寻找过答案
我已确认在 Github issue 页、常见问题页、文档 中都查找过,没有找到类似问题和资料。我也没有 google / bing/ 百度 / duckduckgo 到相关解答。
安装方式
docker
操作系统
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal
离线唤醒相关
—— 我已确保录音、播放都正常工作才尝试 wukong-robot 。
问题描述
日志提示 主动聆听失败
以下是我的配置