Comments (5)
?
from nonebot-plugin-gachalogs.
?
不知道为什么图片发不过去
from nonebot-plugin-gachalogs.
[04-08 01:02:22 [ERROR] nonebot | Running Matcher(type='notice', module=nonebot_plugin_gachalogs) failed.
Traceback (most recent call last):
File "bot.py", line 17, in <module>
nonebot.run()
File "D:\jqr\nonebot2\nb2\.venv\lib\site-packages\nonebot\__init__.py", line 273, in run
get_driver().run(*args, **kwargs)
File "D:\jqr\nonebot2\nb2\.venv\lib\site-packages\nonebot\drivers\fastapi.py", line 187, in run
uvicorn.run(
File "D:\jqr\nonebot2\nb2\.venv\lib\site-packages\uvicorn\main.py", line 568, in run
server.run()
File "D:\jqr\nonebot2\nb2\.venv\lib\site-packages\uvicorn\server.py", line 59, in run
return asyncio.run(self.serve(sockets=sockets))
File "C:\Users\QC\AppData\Local\Programs\Python\Python38\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Users\QC\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 603, in run_until_complete
self.run_forever()
File "C:\Users\QC\AppData\Local\Programs\Python\Python38\lib\asyncio\windows_events.py", line 316, in run_forever
super().run_forever()
File "C:\Users\QC\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 570, in run_forever
self._run_once()
File "C:\Users\QC\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 1859, in _run_once
handle._run()
File "C:\Users\QC\AppData\Local\Programs\Python\Python38\lib\asyncio\events.py", line 81, in _run
self._context.run(self._callback, *self._args)
File "D:\jqr\nonebot2\nb2\.venv\lib\site-packages\nonebot\message.py", line 141, in _check_matcher
await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)
> File "D:\jqr\nonebot2\nb2\.venv\lib\site-packages\nonebot\message.py", line 187, in _run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "D:\jqr\nonebot2\nb2\.venv\lib\site-packages\nonebot\internal\matcher\matcher.py", line 732, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "D:\jqr\nonebot2\nb2\.venv\lib\site-packages\nonebot\internal\matcher\matcher.py", line 707, in simple_run
await handler(
File "D:\jqr\nonebot2\nb2\.venv\lib\site-packages\nonebot\dependencies\__init__.py", line 108, in __call__
return await cast(Callable[..., Awaitable[R]], self.call)(**values)
File "D:\jqr\nonebot2\nb2\.venv\lib\site-packages\nonebot_plugin_gachalogs\__init__.py", line 312, in gotFile
importRes = await importGachaFile(sender, fileData, bot.config.superusers)
File "D:\jqr\nonebot2\nb2\.venv\lib\site-packages\nonebot_plugin_gachalogs\data_import.py", line 354, in importGachaFile
data = await getFileData(file["url"])
File "D:\jqr\nonebot2\nb2\.venv\lib\site-packages\nonebot_plugin_gachalogs\data_import.py", line 125, in getFileData
return res.json()
File "D:\jqr\nonebot2\nb2\.venv\lib\site-packages\httpx\_models.py", line 755, in json
return jsonlib.loads(self.content.decode(encoding), **kwargs)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb5 in position 321: invalid start byte](url)
from nonebot-plugin-gachalogs.
from nonebot-plugin-gachalogs.
文件编码格式不对,允许的导入文件必须为 UTF-8 编码格式。
from nonebot-plugin-gachalogs.
Related Issues (7)
- 数据已经成功获取,但是未找到生成图片所需静态资源 HOT 1
- 抽卡连接失效后不能再次导入 HOT 2
- 关于生成 AuthKey 接口 HOT 7
- 功能改进 HOT 8
- 尚不明晰成因的饼图黑底问题 HOT 1
- 插件加载不了 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nonebot-plugin-gachalogs.