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

今日运势生成出错…… #111

Open
moran0710 opened this issue Nov 5, 2024 · 2 comments
Open

今日运势生成出错…… #111

moran0710 opened this issue Nov 5, 2024 · 2 comments

Comments

@moran0710
Copy link

moran0710 commented Nov 5, 2024

目前发现是pillow的新版本删除了FreeTypeFont的getSize()方法,由于我没怎么用过Pillow所以在研究,降级到pillwo=9.5之后发现nonebot会莫名结束运行(没有报错),我再看看

@moran0710 moran0710 changed the title 今日运势生成出错…… 以及可能的解决方案 今日运势生成出错…… Nov 5, 2024
@moran0710
Copy link
Author

看到有个pr似乎解决了这个问题,但是没有合并,我去试试

@moran0710
Copy link
Author

moran0710 commented Nov 5, 2024

#103 以及 #105 修复了这个问题,但是我不知道为什么没有pr
可以修改.utils.py内的71, 72-75行,跟着 #105 的commit改就行了

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