invoke-ai / invoke-ai/InvokeAI

[enhancement]: Improve error message when encountering a disk errors

Open
#6,803 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
28.2k
Forks
3k
Avg merge
6d 5h
Merged PRs (30d)
19

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Contact Details

Discord: marcus.llewellyn

### What should this feature add?

Some background: when downloading a large model, the download kept failing about half way through. I presumed it was a networking error or something, and retried the download. It wasn't until I looked at the console that I realized that I was out of disk space.

Suggestion: Trap file system errors for downloads or file creation/deletion, and inform the user why the operation failed in the web UI's error toasts. Currently it just says it failed with no explanation.

### Alternatives

There's always the console, of course. But I often use Invoke on a less powerful touchscreen device.

### Additional Content

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.