python-wechaty icon indicating copy to clipboard operation
python-wechaty copied to clipboard

发送大小为6M的ZIP压缩包时,有internal error返回

Open sunyidi123 opened this issue 4 years ago • 4 comments

wechaty版本:wechaty 0.8.9 使用协议:padlocal 涉及以下代码:

va = FileBox.from_file(zip_name)
await room.say(va)

待发送文件大小为6M,执行代码后有error返回

2021-08-04 10:27:27,827 - Room - INFO - Room say <<wechaty_puppet.file_box.file_box.FileBox object at 0x7fa79ea2bf10>, None>
2021-08-04 10:27:28,372 - Wechaty - ERROR - internal error <>

但当发送文件大小为3M时,执行代码无error返回 寻求帮助,是否发送FileBox有文件大小限制?

sunyidi123 avatar Aug 04 '21 03:08 sunyidi123

我这好像每发送一条消息都有一条 Wechaty - ERROR - internal error <>

JoffreyN avatar Aug 04 '21 09:08 JoffreyN

Yes, It should be the bug in python-wechaty-puppet-service. Do you want to fix it?

wj-Mcat avatar Aug 04 '21 12:08 wj-Mcat

Yes, It should be the bug in python-wechaty-puppet-service. Do you want to fix it? Yes, sure.Please tell me how to fix it.

sunyidi123 avatar Aug 06 '21 02:08 sunyidi123

I'm sorry to tell you that wechaty can't send big file beacuase of some wechaty structure reasons, and there will be some changes in sending file implementation. please refer to : https://github.com/wechaty/python-wechaty-puppet-service/pull/64#issuecomment-911103851

Please keep eyes on this issue to get latest progress of this problem.

wj-Mcat avatar Sep 02 '21 15:09 wj-Mcat