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

BUG:v11协议通过发送base64的图片数据时无法成功发送 #70

Open
okashi-ya opened this issue Nov 6, 2023 · 3 comments
Open

Comments

@okashi-ya
Copy link

bot端代码:
image
image

onebot侧现象:
image

nonebot2版本:2.1.2
nonebot-adapter-onebot版本:2.3.1
onebots版本:0.6.1

发送图片时会提示无message,如果是文字+图片,图片会直接消失掉:
image

可以保证的是bytesIO返回的图片数据是正确的,因为gocq可以正常发送

@lonelyion
Copy link

同样的问题,而且似乎在nonebot一侧也无法获取含有base64的消息

Nov 10 02:44:27 ade707 pipenv[874024]: 11-10 02:44:27 [WARNING] nonebot | OneBot V11 | Error when getting message reply info: ActionFailed(retcode=1400, status='failed', data=None, error={'code': 1400, 'message': '请求格式错误'}, echo='22', msg="Cannot read properties of null (reading 'base64_id')", action='get_msg')
Nov 10 02:44:27 ade707 pipenv[874024]: Traceback (most recent call last):
(一坨trace)
Nov 10 02:44:27 ade707 pipenv[874024]: nonebot.adapters.onebot.v11.exception.ActionFailed: ActionFailed(retcode=1400, status='failed', data=None, error={'code': 1400, 'message': '请求格式错误'}, echo='22', msg="Cannot read properties of null (reading 'base64_id')", action='get_msg')

@mmmjie
Copy link

mmmjie commented Dec 8, 2023

+1

@lc-cn
Copy link
Owner

lc-cn commented Mar 9, 2024

新版以修复

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

4 participants