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

关于 WIndows 平台下无法正常发送图片的问题 #109

Open
sizau opened this issue May 11, 2022 · 1 comment
Open

关于 WIndows 平台下无法正常发送图片的问题 #109

sizau opened this issue May 11, 2022 · 1 comment
Assignees

Comments

@sizau
Copy link

sizau commented May 11, 2022

Windows 平台下,tempfile.NamedTemporaryFile 可能会引发 Permission denied 的问题。
文件 Utils.py 第 653 行改为 file = tempfile.NamedTemporaryFile(delete=False) 可暂时解决(此时临时文件需要手动删除)。

@milkice233
Copy link
Member

感谢反馈,确实没有在Windows下测试过
这样的话可能会写个判断条件在windows下用 tempfile.NamedTemporaryFile(delete=False),毕竟缓存文件多起来数量也挺吓人

@milkice233 milkice233 self-assigned this May 24, 2022
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

2 participants