[PR #45] [CLOSED] Fix windows crush #244

Closed
opened 2026-10-30 21:21:36 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/pull/45
Author: @Enrypint
Created: 10/28/2022
Status: ❌ Closed

Base: main ← Head: patch-1


📝 Commits (1)

📊 Changes

1 file changed (+3 additions, -2 deletions)

View changed files

📝 scripts/tag_autocomplete_helper.py (+3 -2)

📄 Description

stable-diffusion-webui\extensions\tag-autocomplete\scripts\tag_autocomplete_helper.py", line 18, in get_tags_base_path
    if (script_path.is_relative_to(EXT_PATH)):
AttributeError: 'WindowsPath' object has no attribute 'is_relative_to'

This fix solves that problem. If the code is not very nice, you can suggest something better.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/pull/45 **Author:** [@Enrypint](https://github.com/Enrypint) **Created:** 10/28/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`db688f2`](https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/commit/db688f2ec58a3990d7a48a8196039cfcf7a37b64) Fix windows crush ### 📊 Changes **1 file changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `scripts/tag_autocomplete_helper.py` (+3 -2) </details> ### 📄 Description ``` stable-diffusion-webui\extensions\tag-autocomplete\scripts\tag_autocomplete_helper.py", line 18, in get_tags_base_path if (script_path.is_relative_to(EXT_PATH)): AttributeError: 'WindowsPath' object has no attribute 'is_relative_to' ``` This fix solves that problem. If the code is not very nice, you can suggest something better. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-30 21:21:36 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DominikDoom/a1111-sd-webui-tagcomplete#244
No description provided.