nonebot-bison
nonebot-bison copied to clipboard
id输入错误
环境
- nonebot-bison 版本:0.7.1
- nonebot 版本:rc4
- 安装方式:(以下方式的一种或者其他方式)
- 通过 nb-cli 安装
- 操作系统:Windows Server 2022 DataCenter 64bit CN
问题
1.无法私聊触发群管理 2.b站订阅id错误 看日志好像是正常的,但是qq就是不返回要不报错
日志
问题1: 05-17 23:15:02 [SUCCESS] nonebot | OneBot V11 3012167152 | [message.private.friend]: Message 881504694 from 344394595 '/群管理' 05-17 23:15:02 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_bison.config_manager) 05-17 23:15:02 [INFO] nonebot | Matcher(type='message', module=nonebot_bison.config_manager) running complete 问题2: 05-17 23:17:09 [SUCCESS] nonebot | OneBot V11 3012167152 | [message.group.normal]: Message 1253056980 from 344394595@[群:837289569] '[at:qq=3012167152] 添加订阅' 05-17 23:17:09 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_bison.config_manager) 05-17 23:17:10 [INFO] nonebot | Matcher(type='message', module=nonebot_bison.config_manager) running complete 05-17 23:17:15 [SUCCESS] nonebot | OneBot V11 3012167152 | [message.group.normal]: Message -1531035400 from 344394595@[群:837289569] 'bilibili' 05-17 23:17:15 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_bison.config_manager) 05-17 23:17:15 [INFO] nonebot | Matcher(type='message', module=nonebot_bison.config_manager) running complete 05-17 23:17:20 [SUCCESS] nonebot | OneBot V11 3012167152 | [message.group.normal]: Message 1124494847 from 344394595@[群:837289569] '13148307' 05-17 23:17:20 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_bison.config_manager) 05-17 23:17:21 [INFO] nonebot | Matcher(type='message', module=nonebot_bison.config_manager) running complete 05-17 23:17:23 [SUCCESS] nonebot | OneBot V11 3012167152 | [message.group.normal]: Message -1757210183 from 344394595@[群:837289569] '13148307' 05-17 23:17:23 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_bison.config_manager) 05-17 23:17:23 [INFO] nonebot | Matcher(type='message', module=nonebot_bison.config_manager) running complete 05-17 23:17:25 [SUCCESS] nonebot | OneBot V11 3012167152 | [message.group.normal]: Message 2035120277 from 344394595@[群:837289569] '13148307' 05-17 23:17:25 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_bison.config_manager) 05-17 23:17:25 [INFO] nonebot | Matcher(type='message', module=nonebot_bison.config_manager) running complete 05-17 23:17:27 [SUCCESS] nonebot | OneBot V11 3012167152 | [message.group.normal]: Message -1875976800 from 344394595@[群:837289569] '13148307' 05-17 23:17:27 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_bison.config_manager) 05-17 23:17:27 [INFO] nonebot | Matcher(type='message', module=nonebot_bison.config_manager) running complete 05-17 23:17:29 [SUCCESS] nonebot | OneBot V11 3012167152 | [message.group.normal]: Message 2116074636 from 344394595@[群:837289569] '13148307' 05-17 23:17:29 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_bison.config_manager) 05-17 23:17:29 [INFO] nonebot | Matcher(type='message', module=nonebot_bison.config_manager) running complete 05-17 23:17:31 [SUCCESS] nonebot | OneBot V11 3012167152 | [message.group.normal]: Message -1718054517 from 344394595@[群:837289569] '13148307' 05-17 23:17:31 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_bison.config_manager) 05-17 23:17:32 [INFO] nonebot | Matcher(type='message', module=nonebot_bison.config_manager) running complete
- [ ] 我搜索过了 issue,但是并没有发现过与我类似的问题
- [ ] 我确认在日志中去掉了敏感信息
你是superuser吗
你是superuser吗
嗯
很多id多错误可能是网络问题
群管理没用可能要开个debug模式再看看日志
同样问题出现
我怀疑是网络问题,因为我的bot部署在aws的东京服务器上
也许加个重试会好一点?
05-19 12:12:11 [SUCCESS] nonebot | OneBot V11 3012167152 | [message.private.friend]: Message -1718626106 from 344394595 '群管理'
05-19 12:12:11 [DEBUG] nonebot | Checking for matchers in priority 0...
05-19 12:12:11 [DEBUG] nonebot | Checking for matchers in priority 1...
05-19 12:12:11 [DEBUG] nonebot | Checking for matchers in priority 4...
05-19 12:12:11 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_bison.config_manager)
05-19 12:12:11 [DEBUG] nonebot | Running Matcher(type='message', module=nonebot_bison.config_manager)
05-19 12:12:11 [DEBUG] nonebot | Running handler Dependent(call=send_group_list_private)
05-19 12:12:11 [DEBUG] nonebot | Handler Dependent(call=send_group_list_private) skipped
05-19 12:12:11 [DEBUG] nonebot | Running handler Dependent(call=send_group_list)
05-19 12:12:11 [DEBUG] nonebot | OneBot V11 | Calling API get_group_list
05-19 12:12:11 [DEBUG] nonebot | Running handler Dependent(call=do_choose_group_number, parameterless=(Depends(Dependent(call=_key_getter)), Depends(Dependent(call=_parse_group_idx))))
05-19 12:12:11 [DEBUG] nonebot | OneBot V11 | Calling API send_msg
05-19 12:12:11 [INFO] nonebot | Matcher(type='message', module=nonebot_bison.config_manager) running complete
05-19 12:12:11 [DEBUG] nonebot | Stop event propagation
05-19 12:12:11 [DEBUG] nonebot | Checking for matchers completed
05-19 12:12:19 [DEBUG] nonebot_bison | scheduler bilibili.com fetching next target: [bilibili]404145357
05-19 12:12:29 [DEBUG] nonebot_bison | scheduler bilibili.com fetching next target: [bilibili]13148307
更新到0.7.2试试
更新后还有这个问题,不过俩三次内一般可以添加成功,有的可以直接成功
05-19 15:32:43 [SUCCESS] nonebot | OneBot V11 3012167152 | [message.group.normal]: Message 360047560 from 344394595@[群:837289569] '[at:qq=3012167152] 添加订阅'
05-19 15:32:43 [DEBUG] nonebot | Checking for matchers in priority 0...
05-19 15:32:43 [DEBUG] nonebot | Checking for matchers in priority 1...
05-19 15:32:43 [DEBUG] nonebot | Checking for matchers in priority 4...
05-19 15:32:43 [DEBUG] nonebot | Checking for matchers in priority 5...
05-19 15:32:43 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_bison.config_manager)
05-19 15:32:43 [DEBUG] nonebot | Running Matcher(type='message', module=nonebot_bison.config_manager)
05-19 15:32:43 [DEBUG] nonebot | Running handler Dependent(call=set_target_user_info)
05-19 15:32:43 [DEBUG] nonebot | Running handler Dependent(call=_check_user_info)
05-19 15:32:43 [DEBUG] nonebot | Running handler Dependent(call=init_promote)
05-19 15:32:43 [DEBUG] nonebot | Running handler Dependent(call=init_id, parameterless=(Depends(Dependent(call=_key_getter)), Depends(Dependent(call=parse_platform))))
05-19 15:32:43 [DEBUG] nonebot | OneBot V11 | Calling API send_msg
05-19 15:32:43 [INFO] nonebot | Matcher(type='message', module=nonebot_bison.config_manager) running complete
05-19 15:32:43 [DEBUG] nonebot | Stop event propagation
05-19 15:32:43 [DEBUG] nonebot | Checking for matchers completed
05-19 15:32:49 [SUCCESS] nonebot | OneBot V11 3012167152 | [message.group.normal]: Message -75791644 from 344394595@[群:837289569] 'bilibili'
05-19 15:32:49 [DEBUG] nonebot | Checking for matchers in priority 0...
05-19 15:32:49 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_bison.config_manager)
05-19 15:32:49 [DEBUG] nonebot | Running Matcher(type='message', module=nonebot_bison.config_manager)
05-19 15:32:49 [DEBUG] nonebot | Running handler Dependent(call=init_id, parameterless=(Depends(Dependent(call=_key_getter)), Depends(Dependent(call=parse_platform))))
05-19 15:32:49 [DEBUG] nonebot | Running handler Dependent(call=init_cat, parameterless=(Depends(Dependent(call=_key_getter)), Depends(Dependent(call=parse_id))))
05-19 15:32:49 [DEBUG] nonebot | OneBot V11 | Calling API send_msg
05-19 15:32:49 [INFO] nonebot | Matcher(type='message', module=nonebot_bison.config_manager) running complete
05-19 15:32:49 [DEBUG] nonebot | Stop event propagation
05-19 15:32:49 [DEBUG] nonebot | Checking for matchers completed
05-19 15:32:49 [SUCCESS] nonebot | OneBot V11 3012167152 | [message.group.normal]: Message 482586595 from 344394595@[群:837289569] '437573432'
05-19 15:32:49 [DEBUG] nonebot | Checking for matchers in priority 0...
05-19 15:32:49 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_bison.config_manager)
05-19 15:32:49 [DEBUG] nonebot | Running Matcher(type='message', module=nonebot_bison.config_manager)
05-19 15:32:49 [DEBUG] nonebot | Running handler Dependent(call=init_cat, parameterless=(Depends(Dependent(call=_key_getter)), Depends(Dependent(call=parse_id))))
05-19 15:32:49 [DEBUG] nonebot | OneBot V11 | Calling API send_msg
05-19 15:32:49 [INFO] nonebot | Matcher(type='message', module=nonebot_bison.config_manager) running complete
05-19 15:32:49 [DEBUG] nonebot | Stop event propagation
05-19 15:32:49 [DEBUG] nonebot | Checking for matchers completed
05-19 15:32:51 [SUCCESS] nonebot | OneBot V11 3012167152 | [message.group.normal]: Message 184751760 from 344394595@[群:837289569] '437573432'
05-19 15:32:51 [DEBUG] nonebot | Checking for matchers in priority 0...
05-19 15:32:51 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_bison.config_manager)
05-19 15:32:51 [DEBUG] nonebot | Running Matcher(type='message', module=nonebot_bison.config_manager)
05-19 15:32:51 [DEBUG] nonebot | Running handler Dependent(call=init_cat, parameterless=(Depends(Dependent(call=_key_getter)), Depends(Dependent(call=parse_id))))
05-19 15:32:51 [DEBUG] nonebot | OneBot V11 | Calling API send_msg
群管理还是没回应