wukong-contrib icon indicating copy to clipboard operation
wukong-contrib copied to clipboard

离线唤醒机制初始化失败

Open lomon-emerson opened this issue 1 year ago • 1 comments

我是mac电脑,用docker来运行,出现以下问题,如何解决啊,谢谢了。 2023-06-05 22:12:43 2023-06-05 14:12:43,961 - robot.detector - detector.py - initDetector - line 113 - CRITICAL - 离线唤醒机制初始化失败:[Errno -9996] Invalid input device (no default output device) 2023-06-05 22:12:43 Stack (most recent call last): 2023-06-05 22:12:43 File "wukong.py", line 188, in 2023-06-05 22:12:43 wukong.run() 2023-06-05 22:12:43 File "wukong.py", line 95, in run 2023-06-05 22:12:43 detector.initDetector(self) 2023-06-05 22:12:43 File "/app/robot/detector.py", line 113, in initDetector 2023-06-05 22:12:43 logger.critical(f"离线唤醒机制初始化失败:{e}", stack_info=True) 2023-06-05 22:17:09 2023-06-05 14:17:09,393 - tornado.access - web.py - log_request - line 2344 - WARNING - 404 GET /apple-touch-icon-precomposed.png (172.17.0.1) 0.94ms 2023-06-05 22:17:09 2023-06-05 14:17:09,405 - tornado.access - we

lomon-emerson avatar Jun 05 '23 14:06 lomon-emerson

[Errno -9996] Invalid input device (no default output device)

说的是你的麦克风没配置好。确认 aplay 和 arecord 能正常工作再使用 wukong-robot 。

wzpan avatar Jul 03 '23 03:07 wzpan