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
收到合并转发的消息的时候提示invalid memory address or nil pointer dereference #280
Comments
请切换到phone协议试试? |
我...不知道怎么切换这个协议...能问问哪里有指南吗 |
感谢,我查看了我的device配置文件(因为是默认生成的我没改),里面没有protocol,我加了个 protocol=1 (phone),现在能正常获取转发消息的内容了(0.9.25版) 但是在空闲时,会出现超时消息,不知道跟这个协议有没有关系 [2020-09-14 14:22:23] [ERROR]: Protocol -> packet timed out, seq: 13936 |
补充,这个超时包好像是半分钟一次 |
已修复 |
我做了个解析合并转发消息并且下载里面的图片的功能
正常运行了一天
今天开始,收到合并转发消息的时候提示这个错误
知道是什么原因吗
[2020-09-14 12:54:18] [ERROR]: Protocol -> panic on decoder: runtime error: invalid memory address or nil pointer dereference
==================
我仔细debug了一下,
收到消息已经正确上报给后台
后台获取到 forwardid后,在获取forward消息的时候报的错
await bot.get_forward_msg(message_id=fwid)
===================
更新,是新版本v0.9.25的问题,我换回v0.9.24-fix2 就好了
The text was updated successfully, but these errors were encountered: