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

查询指令出错 #65

Closed
lgc2333 opened this issue Dec 25, 2021 · 12 comments
Closed

查询指令出错 #65

lgc2333 opened this issue Dec 25, 2021 · 12 comments

Comments

@lgc2333
Copy link

lgc2333 commented Dec 25, 2021

12-25 16:23:21 [SUCCESS] nonebot | CQHTTP 3436954762 | [message.group.normal]: Message -912602555 from 3076823485@[群:1158894874] "查询"
12-25 16:23:21 [INFO] nonebot | Event will be handled by <Matcher from GenshinUID, type=message, priority=6, temp=False>
12-25 16:23:22 [SUCCESS] nonebot | CQHTTP 3436954762 | [message_sent]: {'time': 1640420602, 'self_id': 3436954762, 'post_type': 'message_sent', 'user_id': 3436954762, 'sub_type': 'normal', 'raw_message': '输入错误!', 'group_id': 1158894874, 'font': 0, 'message': [{'data': {'text': '输入错误!'}, 'type': 'text'}], 'message_id': 1476288486, 'message_type': 'group', 'anonymous': None, 'message_seq': 20484, 'sender': {'age': 0, 'area': '', 'card': '', 'level': '', 'nickname': 'Shigure~', 'role': 'admin', 'sex': 'unknown', 'title': '', 'user_id': 3436954762}}
Traceback (most recent call last):
  File "C:\Users\Administrator\Desktop\stu-files\bot\go-cq\nonebot2\nonebot2/plugins\GenshinUID\__init__.py", line 526, in _
    bg = await draw_pic(uid[0], nickname, image, uid[1])
  File "C:\Users\Administrator\Desktop\stu-files\bot\go-cq\nonebot2\nonebot2/plugins\GenshinUID\getImg.py", line 858, in draw_pic
    for i in mys_data['data']['list']:
TypeError: string indices must be integers

为啥都不print一下 不好定位错误

@lgc2333
Copy link
Author

lgc2333 commented Dec 25, 2021

是cookies问题吗

@KimigaiiWuyi
Copy link
Owner

是cookies问题吗

你挂在vps上了,现在vps上全挂了

@KimigaiiWuyi
Copy link
Owner

这里

@lgc2333
Copy link
Author

lgc2333 commented Dec 25, 2021

是cookies问题吗

你挂在vps上了,现在vps上全挂了

@lgc2333
Copy link
Author

lgc2333 commented Dec 25, 2021

测试了 挂了vpn就没屏蔽

@KimigaiiWuyi
Copy link
Owner

测试了 挂了vpn就没屏蔽

挂公共代理池之类的可以绕过吗,想看看有没有通解

@lgc2333
Copy link
Author

lgc2333 commented Dec 25, 2021

测试了 挂了vpn就没屏蔽

嘶刚刚一不小心IP暴露了
image
image

@lgc2333
Copy link
Author

lgc2333 commented Dec 25, 2021

image

@lgc2333
Copy link
Author

lgc2333 commented Dec 25, 2021

浏览器可以访问 在项目上用环境变量设置代理就不行了

@lgc2333
Copy link
Author

lgc2333 commented Dec 25, 2021

测试了 挂了vpn就没屏蔽

挂公共代理池之类的可以绕过吗,想看看有没有通解

可以用代理试试 写在配置文件里
我没有时间写qwq

@Putarku
Copy link

Putarku commented Dec 27, 2021

是饼干问题吗

你挂在vps上,现在vps上全挂了

貌似现在vps的又好了,可以测试下试试,我自己腾讯云的今天下午突然没问题了

@KimigaiiWuyi
Copy link
Owner

统一在这里讨论吧 #60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants