nonebot-bison icon indicating copy to clipboard operation
nonebot-bison copied to clipboard

id输入错误

Open Fsyxr opened this issue 1 year ago • 10 comments

环境

  • nonebot-bison 版本:0.7.1
  • nonebot 版本:rc4
  • 安装方式:(以下方式的一种或者其他方式)
    1. 通过 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,但是并没有发现过与我类似的问题
  • [ ] 我确认在日志中去掉了敏感信息 RSF)SAK94VG4H_7V1EHLD9U TQBZ@97`PN WV7L_F6{ UUW

Fsyxr avatar May 17 '23 15:05 Fsyxr

你是superuser吗

felinae98 avatar May 17 '23 15:05 felinae98

你是superuser吗

Fsyxr avatar May 18 '23 10:05 Fsyxr

很多id多错误可能是网络问题

felinae98 avatar May 18 '23 17:05 felinae98

群管理没用可能要开个debug模式再看看日志

felinae98 avatar May 18 '23 17:05 felinae98

ZC{NYIL8M$E$~DS0~$G9UNJ 同样问题出现 我怀疑是网络问题,因为我的bot部署在aws的东京服务器上 也许加个重试会好一点?

SherkeyXD avatar May 19 '23 00:05 SherkeyXD

image 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

Fsyxr avatar May 19 '23 04:05 Fsyxr

更新到0.7.2试试

felinae98 avatar May 19 '23 05:05 felinae98

image image 更新后还有这个问题,不过俩三次内一般可以添加成功,有的可以直接成功

Fsyxr avatar May 19 '23 07:05 Fsyxr

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 image

Fsyxr avatar May 19 '23 07:05 Fsyxr

image 群管理还是没回应

Fsyxr avatar May 19 '23 07:05 Fsyxr