Skip to content
New issue

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

UnboundLocalError: local variable 'query' referenced before assignment #338

Open
wukongn opened this issue Aug 29, 2024 · 1 comment
Open
Assignees
Labels
operation problem 用户操作问题

Comments

@wukongn
Copy link

wukongn commented Aug 29, 2024

确认已寻找过答案

我已确认在 Github issue 页、常见问题页、文档 中都查找过,没有找到类似问题和资料。我也没有 google / bing/ 百度 / duckduckgo 到相关解答。

安装方式

手动安装/docker安装

操作系统

(例如 Raspbian Stretch、Ubuntu 16.04)

离线唤醒相关

如果是离线唤醒相关的问题,是否已确保 arecord temp.wavaplay temp.wav (Linux) 或 rec temp.wavplay temp.wav (Mac)已正常工作?(注意要求不能带任何其他参数)如果不能,请先配置好麦克风和音响再尝试。

—— 我已确保录音、播放都正常工作才尝试 wukong-robot 。

问题描述

具体说明下问题
wukong一直卡在我正在思考
然后代码显示
Traceback (most recent call last):
File "/root/wukong-robot/robot/Conversation.py", line 229, in doConverse
self.doResponse(query, callback, onSay, onStream)
UnboundLocalError: local variable 'query' referenced before assignment
就卡住不动了

@wukongn wukongn added the operation problem 用户操作问题 label Aug 29, 2024
@wukongn
Copy link
Author

wukongn commented Aug 29, 2024

在行空板上运行的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
operation problem 用户操作问题
Projects
None yet
Development

No branches or pull requests

3 participants
@wzpan @wukongn and others