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

Bug: 出现异常 #1836

Open
kuai364354200 opened this issue Jan 16, 2025 · 1 comment
Open

Bug: 出现异常 #1836

kuai364354200 opened this issue Jan 16, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@kuai364354200
Copy link

操作系统

Windows

Python 版本

3.10

zhenxun_bot 版本

0.2.4-fix1

适配器

onebot v11 2.2.2

协议端

napcat v4.0.3

描述问题

Image
zhenxun/configs/path_config里的方法:IMAGE_PATH = Path() / "resources" / "image" 调取的是相对路径,会让色图保存失败
改成绝对路径就可以正常保存了:IMAGE_PATH = Path().resolve() / "resources" / "image"

Image
另外问一句下载pixiv的反代url好像有问题,
我在config.yaml里手动指定了i.pixiv.cat为反代域名,但是bot始终以i.pixiv.re域名下载,不知道这个re哪来的

Image

复现步骤

1.启动0.2.4-fix1版本的bot
2.更新色图

期望的结果

No response

截图或日志(请勿包含敏感信息如密码、令牌等)

No response

@kuai364354200 kuai364354200 added the bug Something isn't working label Jan 16, 2025
@HibiKier
Copy link
Owner

相对路径是应该没问题的,看看你config.yaml这个PIXIV_NGINX_URL怎么填的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants