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 操作系统使用 stable-diffusion-webui 报错AttributeError: module 'os' has no attribute 'statvfs' #237

Closed
xuYuan-chen1988 opened this issue Dec 13, 2022 · 2 comments

Comments

@xuYuan-chen1988
Copy link

操作系统:window10
报错场景:web端可访问,填好参数最终生成图片的时候
image

@ganzhiruyi
Copy link
Contributor

windows 目前我们没有进行尝试,看报错是package问题,可以google下

@oheheMKII
Copy link

修改\stable-diffusion-webui\modules\images.py 422行
max_length = os.statvfs(dir_name).f_namemax
为固定值 max_length = 255

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

3 participants