mirror of
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
synced 2026-11-05 00:17:25 +00:00
[GH-ISSUE #175] does not work with gradio 3.28 #126
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#126
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 @blacksino on GitHub (May 7, 2023).
Original GitHub issue: https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/issues/175
Hello,auto complete does not popup with gradio3.28
@cerseinusantara commented on GitHub (May 7, 2023):
also not working on 3.16 currently
@DominikDoom commented on GitHub (May 7, 2023):
It's working fine for me on 3.28. Please open your browser console (CTRL+SHIFT+I) and tell me if any errors related to tag autocomplete show up, or any errors in the webui terminal window.
@phoenix commented on GitHub (May 7, 2023):
Uncaught (in promise) DOMException: Failed to execute 'appendChild' on 'Node': Only one element on document allowed.
at setup
gradioApp().appendChild(acStyle);
auto complete can popup,but can not navigate with keyboard
@DominikDoom commented on GitHub (May 7, 2023):
Does this also happen if other extensions beside tag autocomplete are disabled? This was a problem before with an outdated version of openpose-editor interfering.
@phoenix commented on GitHub (May 7, 2023):
Thanks,everything works fine after update openpose-editor.
@roseyyy2022ai commented on GitHub (May 7, 2023):
Same thing here... not sure which gradio version I have but I believe latest (i'm kind of a noob, sorry)
My error:
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'textContent')
at updateModelName (_utils.js?1683480837.326589:110:42)
at setup (tagAutocomplete.js?1683480837.3275893:863:5)
lmk when there's a fix :)
btw i'm using This Colab notebook you can contribute to directly if you find errors in my code as well...
@DominikDoom commented on GitHub (May 7, 2023):
@cerseinusantara @roseyyy2022ai I have found the issue for gradio 3.16 (which was a small oversight), should be fixed for you now.
As for @blacksino, 3.28 should work out of the box if you use a recent tag-autocomplete version. So if the issue still exists for you, again, I will need the error message to find out more.
@blacksino commented on GitHub (May 8, 2023):
sorry for replying late, caught SyntaxError: Identifier 'loading' has already been declared (at tagAutocomplete.js?1683546999.8080368:1:1):

@DominikDoom commented on GitHub (May 8, 2023):
That is very likely an issue with another extension using a variable with the same name. I can probably fix it just by adding a more unique prefix, but just out of interest can you tell me what other extensions you use? Might be good to know in the future if it comes up again.
@DominikDoom commented on GitHub (May 8, 2023):
@blacksino Should be fixed now, I added a prefix to make the name more distinct. On another note, I just remembered a similar case with #158. In that case the core issue was a duplicate old version of the autocomplete script in the webui root's javascript folder. So if it still happens to you after the fix, it might be that.
@blacksino commented on GitHub (May 10, 2023):
It works perfectly fine now, my thanks to you.