[Question]:i can't communicate with my partner on the Web page or QQ Bot platform
Do you need to ask a question?
- [x] I have searched the existing questions and discussions and this question is not already answered.
- [ ] I believe this is a legitimate question, not just a bug or feature request.
Your Question
我在DeepTutor上注册了一个合作伙伴,并配置了其QQ机器人频道,然后保存并重启了合作伙伴和DeepTutor。但仍然无法与合作伙伴进行通信,我是不是漏掉了什么?
顺便说一下,当我运行DeepTutor时,终端一直显示以下错误信息。不过,这个问题从使用一开始就出现,似乎对我的操作没有影响。
我的设备环境:Windows 10,Python 3.14
I register a partner on DeepTutor, and configure its QQ Bot channel. And then i save them , restart Partner and DeepTutor.But i still can't communicate with partner. Did I miss anything? by the way, When I was running Deeptutor, the terminal displayed the following error messages consistently. However, this problem occurred right from the beginning of the usage and it seems to have no impact on my operation. my Device enviroment: win10 , python 3.14
Related Module
General
Additional Context
No response
此贴终结,目前已解决 我在使用时的版本为1.6.3,更新至1.6.4后解决 ①关于partner在网页内交流失败的问题已不再出现 ②关于配置QQ Bot channel的问题,原因是我没有按照如下文档的建议安装依赖,这一点在最新的版本中在channel界面上会自行检测依赖安装情况并有直接的提示,我收到提示后安装依赖即解决问题 https://docs.deeptutor.info/zh-cn/partners/channels/#%E5%AE%89%E8%A3%85%E4%BE%9D%E8%B5%96
This post is closed. The issue has been resolved. The version I was using was 1.6.3. After updating to 1.6.4, the problem was resolved. ① The problem of failed communication between partners on the webpage no longer occurs. ② Regarding the issue of configuring the QQ Bot channel, the reason is that I did not follow the suggestions in the following document to install the dependencies. In the latest version, the channel interface will automatically detect the installation status of the dependencies and provide direct prompts. After receiving the prompt, I installed the dependencies and the problem was solved. https://docs.deeptutor.info/zh-cn/partners/channels/#%E5%AE%89%E8%A3%85%E4%BE%9D%E8%B5%96
QQ Bot 在使用时还有一个很容易被误导的地方,就是个人用户向QQ Bot发送消息时,使用的ID不是昵称也不是QQ账号!!!而是一串加密ID(我的智能体推测可能时openids,但我目前还没有找到一个比较优雅的查询方式) 我需要先添加Bot到个人QQ,然后将Bot的APP id和Secret填写保存至Deeptutor。之后再使用QQ向Bot发送一条消息,之后开启Deeptutor的终端会弹出如下包含这个加密ID的提示,之后将这个ID添加至Allow From并保存 完成以上流程,才能实现正常通信,这个方式确实有点麻烦,Deeptutor官方文档对此的介绍也比较模糊
There is another easily misleading aspect when using QQ Bot. When a personal user sends a message to the QQ Bot, the ID used is not the nickname nor the QQ account! Instead, it is a string of encrypted ID (my intelligent agent speculates it might be openids, but I haven't found a more elegant way to query yet). I need to first add the Bot to my personal QQ, then fill in and save the Bot's APP ID and Secret in Deeptutor. After that, I can send a message to the Bot via QQ. Then, when opening the terminal of Deeptutor, a prompt containing this encrypted ID will pop up. After that, add this ID to "Allow From" and save it. Completing the above process is necessary to achieve normal communication. This method is indeed a bit troublesome, and the official documentation of Deeptutor also provides a rather vague explanation for this.
Thanks for your comments!Will be fixed in the next version~
One thing worth correcting: you judged that the fcntl error "seems to have no impact" — it is in fact the cause. That bare import fcntl is unique to v1.6.3; it raises on Windows inside _start_services, and the rollback path then tears down the partner services that had already come up, which is exactly why neither the web page nor the QQ bot could reach your partner. v1.6.4 replaced it with an msvcrt branch, so upgrading to v1.6.4 or later resolves it.