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

Gracefully handle mtime read exception from cache #14933

Merged
merged 1 commit into from
Feb 17, 2024

Conversation

catboxanon
Copy link
Collaborator

@catboxanon catboxanon commented Feb 15, 2024

Description

When a file's mtime is attempted to be read from the cache, but the resultant file does not actually exist (in the case of a symlink), currently this causes the entire Checkpoints/LoRA/etc UI to be forced into Gradio's error state. This fixes that by handling the exception here.

Checklist:

@AUTOMATIC1111 AUTOMATIC1111 merged commit ce57a6c into dev Feb 17, 2024
6 checks passed
@AUTOMATIC1111 AUTOMATIC1111 deleted the fix/graceful-mtime-hash-cache-exception branch February 17, 2024 05:56
@w-e-w w-e-w mentioned this pull request Feb 17, 2024
@pawel665j pawel665j mentioned this pull request Apr 16, 2024
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

Successfully merging this pull request may close these issues.

2 participants