We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2023-04-21 15:47:11,122 - robot.Brain - Brain.py - query - line 71 - INFO - '删除提醒' 命中技能 Reminder 2023-04-21 15:47:11,124 - robot.Conversation - Conversation.py - say - line 398 - INFO - 即将朗读语音:您当前有2个提醒 2023-04-21 15:47:11,126 - robot.Conversation - Conversation.py - _tts - line 305 - INFO - _tts 2023-04-21 15:47:11,776 - robot.TTS - TTS.py - get_speech - line 282 - INFO - tencent-tts 语音合成成功,合成路径:/tmp/tmpy8dqdd0i.wav 2023-04-21 15:47:11,777 - robot.Conversation - Conversation.py - _ttsAction - line 85 - INFO - 第0段TTS合成成功。msg: 您当前有2个提醒 2023-04-21 15:47:11,778 - robot.Conversation - Conversation.py - _ttsAction - line 90 - INFO - 即将播放第0段TTS。msg: 您当前有2个提醒 2023-04-21 15:47:11,780 - robot.Player - Player.py - playLoop - line 102 - INFO - 开始播放音频:/tmp/tmpy8dqdd0i.wav 2023-04-21 15:47:11,782 - robot.Conversation - Conversation.py - _after_play - line 335 - INFO - onSay: 您当前有2个提醒, ['http://0.0.0.0:5001/audio/tmpy8dqdd0i.wav'] 2023-04-21 15:47:11,804 - server.server - server.py - onResp - line 141 - INFO - response msg: 您当前有2个提醒 2023-04-21 15:47:11,813 - robot.Conversation - Conversation.py - say - line 398 - INFO - 即将朗读语音:第1个提醒内容是时间:2023-04-21|09:45:18,事项:出门 2023-04-21 15:47:11,834 - robot.Conversation - Conversation.py - _tts - line 305 - INFO - _tts 2023-04-21 15:47:12,612 - robot.TTS - TTS.py - get_speech - line 282 - INFO - tencent-tts 语音合成成功,合成路径:/tmp/tmp0kco1870.wav 2023-04-21 15:47:12,614 - robot.Conversation - Conversation.py - _ttsAction - line 85 - INFO - 第0段TTS合成成功。msg: 第1个提醒内容是时间:2023-04-21|09:45:18,事项:出门 2023-04-21 15:47:12,615 - robot.Conversation - Conversation.py - _ttsAction - line 90 - INFO - 即将播放第0段TTS。msg: 第1个提醒内容是时间:2023-04-21|09:45:18,事项:出门 2023-04-21 15:47:12,619 - robot.Conversation - Conversation.py - say - line 398 - INFO - 即将朗读语音:第2个提醒内容是时间:2023-04-21|15:13:32,事项:起床 2023-04-21 15:47:12,636 - robot.Conversation - Conversation.py - _tts - line 305 - INFO - _tts 2023-04-21 15:47:13,052 - robot.TTS - TTS.py - get_speech - line 282 - INFO - tencent-tts 语音合成成功,合成路径:/tmp/tmpmjnk_2z5.wav 2023-04-21 15:47:13,053 - robot.Conversation - Conversation.py - _ttsAction - line 85 - INFO - 第0段TTS合成成功。msg: 第2个提醒内容是时间:2023-04-21|15:13:32,事项:起床 2023-04-21 15:47:13,054 - robot.Conversation - Conversation.py - _ttsAction - line 90 - INFO - 即将播放第0段TTS。msg: 第2个提醒内容是时间:2023-04-21|15:13:32,事项:起床 2023-04-21 15:47:13,058 - robot.Conversation - Conversation.py - say - line 398 - INFO - 即将朗读语音:要删除哪一个提醒呢 2023-04-21 15:47:13,079 - robot.Conversation - Conversation.py - _tts - line 305 - INFO - _tts 2023-04-21 15:47:13,454 - robot.TTS - TTS.py - get_speech - line 282 - INFO - tencent-tts 语音合成成功,合成路径:/tmp/tmp04dtv_b6.wav 2023-04-21 15:47:13,455 - robot.Conversation - Conversation.py - _ttsAction - line 85 - INFO - 第0段TTS合成成功。msg: 要删除哪一个提醒呢 2023-04-21 15:47:13,456 - robot.Conversation - Conversation.py - _ttsAction - line 90 - INFO - 即将播放第0段TTS。msg: 要删除哪一个提醒呢 2023-04-21 15:47:13,959 - robot.Player - Player.py - doPlay - line 126 - INFO - 播放完成:/tmp/tmpy8dqdd0i.wav 2023-04-21 15:47:14,963 - robot.Player - Player.py - playLoop - line 102 - INFO - 开始播放音频:/tmp/tmp0kco1870.wav 2023-04-21 15:47:20,988 - robot.Player - Player.py - doPlay - line 126 - INFO - 播放完成:/tmp/tmp0kco1870.wav 2023-04-21 15:47:21,994 - robot.Player - Player.py - playLoop - line 102 - INFO - 开始播放音频:/tmp/tmpmjnk_2z5.wav 2023-04-21 15:47:28,063 - robot.Player - Player.py - doPlay - line 126 - INFO - 播放完成:/tmp/tmpmjnk_2z5.wav 2023-04-21 15:47:29,068 - robot.Player - Player.py - playLoop - line 102 - INFO - 开始播放音频:/tmp/tmp04dtv_b6.wav 2023-04-21 15:47:31,269 - robot.Player - Player.py - doPlay - line 126 - INFO - 播放完成:/tmp/tmp04dtv_b6.wav 2023-04-21 15:47:32,272 - robot.Conversation - Conversation.py - activeListen - line 419 - INFO - 进入主动聆听... self._unihiker and self._unihiker.wakeup() 2023-04-21 15:47:32,280 - robot.Player - Player.py - playLoop - line 102 - INFO - 开始播放音频:/root/wukong-robot/static/beep_hi.wav <function ActiveListener.<lambda> at 0x7fb54fad30> 2023-04-21 15:47:33,198 - robot.Player - Player.py - doPlay - line 126 - INFO - 播放完成:/root/wukong-robot/static/beep_hi.wav Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1736 Expression 'AlsaOpen( &alsaApi->baseHostApiRep, params, streamDir, &self->pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1904 Expression 'PaAlsaStreamComponent_Initialize( &self->capture, alsaApi, inParams, StreamDirection_In, NULL != callback )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2171 Expression 'PaAlsaStream_Initialize( stream, alsaHostApi, inputParameters, outputParameters, sampleRate, framesPerBuffer, callback, streamFlags, userData )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2839 2023-04-21 15:47:33,408 - snowboy - snowboydecoder.py - listen - line 143 - CRITICAL - [Errno -9985] Device unavailable Stack (most recent call last): File "/usr/lib/python3.9/threading.py", line 912, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner self.run() File "/usr/lib/python3.9/threading.py", line 892, in run self._target(*self._args, **self._kwargs) File "/root/wukong-robot/server/server.py", line 497, in <lambda> t = threading.Thread(target=lambda: start_server(conversation, wukong)) File "/root/wukong-robot/server/server.py", line 490, in start_server tornado.ioloop.IOLoop.instance().start() File "/usr/local/lib/python3.9/dist-packages/tornado/platform/asyncio.py", line 132, in start self.asyncio_loop.run_forever() File "/usr/lib/python3.9/asyncio/base_events.py", line 596, in run_forever self._run_once() File "/usr/lib/python3.9/asyncio/base_events.py", line 1890, in _run_once handle._run() File "/usr/lib/python3.9/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/local/lib/python3.9/dist-packages/tornado/platform/asyncio.py", line 122, in _handle_events handler_func(fileobj, events) File "/usr/local/lib/python3.9/dist-packages/tornado/stack_context.py", line 300, in null_wrapper return fn(*args, **kwargs) File "/usr/local/lib/python3.9/dist-packages/tornado/netutil.py", line 262, in accept_handler callback(connection, address) File "/usr/local/lib/python3.9/dist-packages/tornado/tcpserver.py", line 294, in _handle_connection future = self.handle_stream(stream, address) File "/usr/local/lib/python3.9/dist-packages/tornado/httpserver.py", line 194, in handle_stream conn.start_serving(self) File "/usr/local/lib/python3.9/dist-packages/tornado/http1connection.py", line 722, in start_serving self._serving_future = self._server_request_loop(delegate) File "/usr/local/lib/python3.9/dist-packages/tornado/gen.py", line 326, in wrapper yielded = next(result) File "/usr/local/lib/python3.9/dist-packages/tornado/http1connection.py", line 735, in _server_request_loop ret = yield conn.read_response(request_delegate) File "/usr/local/lib/python3.9/dist-packages/tornado/http1connection.py", line 152, in read_response return self._read_message(delegate) File "/usr/local/lib/python3.9/dist-packages/tornado/gen.py", line 346, in wrapper runner = Runner(result, future, yielded) File "/usr/local/lib/python3.9/dist-packages/tornado/gen.py", line 1080, in __init__ self.run() File "/usr/local/lib/python3.9/dist-packages/tornado/gen.py", line 1147, in run yielded = self.gen.send(value) File "/usr/local/lib/python3.9/dist-packages/tornado/http1connection.py", line 238, in _read_message delegate.finish() File "/usr/local/lib/python3.9/dist-packages/tornado/routing.py", line 256, in finish self.delegate.finish() File "/usr/local/lib/python3.9/dist-packages/tornado/web.py", line 2195, in finish self.execute() File "/usr/local/lib/python3.9/dist-packages/tornado/web.py", line 2227, in execute self.handler._execute(transforms, *self.path_args, File "/usr/local/lib/python3.9/dist-packages/tornado/gen.py", line 326, in wrapper yielded = next(result) File "/usr/local/lib/python3.9/dist-packages/tornado/web.py", line 1590, in _execute result = method(*self.path_args, **self.path_kwargs) File "/root/wukong-robot/server/server.py", line 170, in post conversation.doResponse( File "/root/wukong-robot/robot/Conversation.py", line 161, in doResponse if self._InGossip(query) or not self.brain.query(query, parsed): File "/root/wukong-robot/robot/Brain.py", line 80, in query continueHandle = plugin.handle(text, parsed) File "/root/wukong-robot/plugins/Reminder.py", line 157, in handle self.del_reminder(parsed) File "/root/wukong-robot/plugins/Reminder.py", line 140, in del_reminder job_id = self._ask_which() File "/root/wukong-robot/plugins/Reminder.py", line 104, in _ask_which pick = self.activeListen() File "/root/wukong-robot/robot/sdk/AbstractPlugin.py", line 62, in activeListen return self.con.activeListen(silent) File "/root/wukong-robot/robot/Conversation.py", line 426, in activeListen voice = listener.listen( File "/root/wukong-robot/snowboy/snowboydecoder.py", line 143, in listen logger.critical(e, stack_info=True) 2023-04-21 15:47:33,416 - robot.Player - Player.py - playLoop - line 102 - INFO - 开始播放音频:/root/wukong-robot/static/beep_lo.wav 2023-04-21 15:47:33,862 - robot.Conversation - Conversation.py - say - line 398 - INFO - 即将朗读语音:没有找到符合条件的提醒,删除失败 2023-04-21 15:47:33,864 - robot.Conversation - Conversation.py - _tts - line 305 - INFO - _tts 2023-04-21 15:47:34,576 - robot.TTS - TTS.py - get_speech - line 282 - INFO - tencent-tts 语音合成成功,合成路径:/tmp/tmpy49t6_yo.wav 2023-04-21 15:47:34,578 - robot.Conversation - Conversation.py - _ttsAction - line 85 - INFO - 第0段TTS合成成功。msg: 没有找到符合条件的提醒,删除失败 2023-04-21 15:47:34,579 - robot.Conversation - Conversation.py - _ttsAction - line 90 - INFO - 即将播放第0段TTS。msg: 没有找到符合条件的提醒,删除失败 2023-04-21 15:47:34,582 - robot.Player - Player.py - playLoop - line 102 - INFO - 开始播放音频:/tmp/tmpy49t6_yo.wav 2023-04-21 15:47:34,656 - robot.Player - Player.py - doPlay - line 126 - INFO - 播放完成:/root/wukong-robot/static/beep_lo.wav
The text was updated successfully, but these errors were encountered:
看代码是在播放完所有语音提醒后进入了录音阶段,但是录音设备被占用导致报错,不知道如何解决,请大佬们支招。
Sorry, something went wrong.
wzpan
No branches or pull requests
The text was updated successfully, but these errors were encountered: