mirror of
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
synced 2026-11-05 00:17:25 +00:00
[GH-ISSUE #251] Directory named .safetensors causes model-keyword to break and to break webui-tagcomplete in return #179
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
low priority
low priority
pull-request
question
waiting for feedback
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DominikDoom/a1111-sd-webui-tagcomplete#179
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ivucica on GitHub (Nov 5, 2023).
Original GitHub issue: https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/issues/251
When the only extensions installed are
model-keywordanda1111-sd-webui-tagcomplete(all others being moved away), and whenconfig.jsonhas also been moved away, then an attempt to open a directory that happens to have a.safetensors"extension" fails and completely breaks the startup of the extension:The extension does not load and its options do not appear in
Settingsof a1111.This also causes #250.
@DominikDoom commented on GitHub (Nov 5, 2023):
Fixed by adding a filter condition that checks if the found path actually is a file. This would've likely also affected all other places where the extension searches for specific file types, so pretty much everything except embeddings. Good catch!
This should also fix #250 since that likely was only a symptom, feel free to reopen that if it is something else.