RockChinQ / QChatGPT

😎高稳定性、🧩支持扩展、🦄多模态的 ChatGPT QQ / QQ频道 / One Bot 机器人🤖 | 支持 OpenAI GPT、Claude、Gemini Pro、DeepSeek、Moonshot(Kimi)、gpt4free、One API、Ollama 的 QQ / QQ频道 / OneBot 机器人 / Agent 平台
https://q.rkcn.top
GNU Affero General Public License v3.0
4.32k stars 332 forks source link

[BUG]更新2.1.3之后出现的问题 #237

Closed EricMeteorite closed 1 year ago

EricMeteorite commented 1 year ago

请认真按照实际情况填写以下信息!!!!

运行环境 Ubuntu22.04 LTS

描述漏洞
更新完2.1.3版本的bot之后发现的问题,2.1.2没有问题。 暂时没有影响,但很奇怪,不是很清楚是什么原因。 还有一个问题同样跟另一个issue一样,是在!reload之后会报错,无法回复消息。

完整报错信息
Exception in thread Thread-3 (run): Traceback (most recent call last): File "/home/Files/python/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/home/Files/python/lib/python3.10/threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "/home/Files/python/lib/python3.10/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/home/Files/python/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete return future.result() File "/home/Files/python/lib/python3.10/site-packages/mirai/models/api.py", line 415, in __call__ return await self.set(*args, **kwargs) File "/home/Files/python/lib/python3.10/site-packages/mirai/models/api.py", line 383, in set return await self._call_api( File "/home/Files/python/lib/python3.10/site-packages/mirai/models/api.py", line 373, in _call_api return await api.call(self.api_provider, method, response_type) File "/home/Files/python/lib/python3.10/site-packages/mirai/models/api.py", line 304, in call raw_response = await api_provider.call_api( File "/home/Files/python/lib/python3.10/site-packages/mirai/bot.py", line 91, in call_api return await self._adapter.call_api(api, *args, **kwargs) File "/home/Files/python/lib/python3.10/site-packages/mirai/adapters/websocket.py", line 236, in call_api return await self._recv(sync_id) File "/home/Files/python/lib/python3.10/site-packages/mirai/adapters/websocket.py", line 165, in _recv raise exceptions.ApiError(data) mirai.exceptions.ApiError: (500, '[ERROR 500]mirai 内部错误。', 'Illegal base64 character -49')

RockChinQ commented 1 year ago

这个是赞助图片编码有问题,已修复,等待新的发行版

EricMeteorite commented 1 year ago

好的感谢!