You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ujson module not found, using json
msgpack not installed, MsgPackSerializer unavailable
Task exception was never retrieved
future: <Task finished coro=<main_loop() done, defined at /nijigasaki-bot/nijigasaki/app/twitter.py:28> exception=ApiNotAvailable()>
Traceback (most recent call last):
File "/nijigasaki-bot/nijigasaki/app/twitter.py", line 32, in main_loop
await do_feed()
File "/nijigasaki-bot/nijigasaki/app/twitter.py", line 59, in do_feed
f"{tweet['id_str']}_{idx}")
File "/nijigasaki-bot/nijigasaki/app/twitter.py", line 94, in fetch_and_push_img
'twitter', f"[CQ:image,file=base64://{base64.b64encode(resp).decode('ascii')}]")
File "/nijigasaki-bot/nijigasaki/model/subject.py", line 115, in push_update
await get_bot().send_msg(**ctx, message=content)
File "/usr/local/lib/python3.6/site-packages/aiocqhttp/api.py", line 184, in call_action
raise ApiNotAvailable
aiocqhttp.exceptions.ApiNotAvailable
同样的代码发送文本(小的消息)没事,发送图片(base64编码,较大)抛出 ApiNotAvailable 异常,怀疑跟 Websocket Fragmentation 有关 kyubotics/coolq-http-api#85
message.txt
The text was updated successfully, but these errors were encountered: