Skip to content
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

[问题反馈]初始化图片数据下载错误 #83

Open
OnlyblackTea opened this issue Dec 30, 2022 · 2 comments
Open

[问题反馈]初始化图片数据下载错误 #83

OnlyblackTea opened this issue Dec 30, 2022 · 2 comments

Comments

@OnlyblackTea
Copy link

安装插件后第一次执行的时候下载碧蓝档案图片错误
error2
error

再次启动nonebot时不会再重新下载资源,希望可以提供一个检查资源完整度的命令。

@OnlyblackTea
Copy link
Author

edit: 我找到了更新资源的命令,是我没仔细看,抱歉

经过研究,我发现您使用aiohttp库来get资源,而这个库默认并不会读取环境变量,而这就是问题所在。
我会尝试使用httpx,或者其他方法来修正这一点。

@OnlyblackTea
Copy link
Author

#84

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant