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

Error: Extension named 'party.ShowText' already registered. #94

Open
snoche opened this issue Oct 5, 2024 · 2 comments
Open

Error: Extension named 'party.ShowText' already registered. #94

snoche opened this issue Oct 5, 2024 · 2 comments

Comments

@snoche
Copy link

snoche commented Oct 5, 2024

Describe the bug
ShowText stop working for me after the confyui ui update a few weeks ago

image

To Reproduce
when opening Confyui in the browser console I got this error:
app.ts:1725 Error loading extension /extensions/party/showtext_party.js Error: Extension named 'party.ShowText' already registered.
at ComfyApp.registerExtension (app.ts:2856:13)
at showtext_party.js:5:5

This file is been copied in the web/extensions/party but looks like is already registed

image

On executing error:
showText.js:45 Uncaught TypeError: Cannot read properties of undefined (reading 'text')
at nodeType.onExecuted (showText.js:45:33)
at nodeType.onExecuted (easy_videooutput_node.js:240:41)
at ComfyApi. (app.ts:1629:16)
at os.invokeTarget (AdGuard Popup Blocker.user.js:455:270074)
at gt (AdGuard Popup Blocker.user.js:455:287512)
at eval (AdGuard Popup Blocker.user.js:455:271601)
at eval (AdGuard Popup Blocker.user.js:455:270275)
at ComfyApi.dispatchEvent (AdGuard Popup Blocker.user.js:455:269497)
at WebSocket. (api.ts:202:20)

If I delete the file from comfyui_LLM_party\web\js I don't get the already registered error and the showText from customScripts works again. It could be a conflict between the other package?

image

By the other hand if I delete showText from ComfyUI-Custom-Scripts nothing is fixed
https://github.com/pythongosssss/ComfyUI-Custom-Scripts

image

image

image

I tried deleting full ComfyUI-Custom-Scripts folder and nothing is fix neither, so looks like it could be LLM party registering twice or something? and breaks also the other node? I am so confuse, no one else has this issue?

@heshengtao
Copy link
Owner

I tried to fix this issue. Please update to the latest LLM party to see if it has been fixed.

@snoche
Copy link
Author

snoche commented Oct 5, 2024

That fixed the error of redeclaration thanks

FYI: The issue I was having was different, it was Adguard, even not enabled for local host and disabling Adguard was still blocking something, I had to allow "Unsafe content" con the extension to allow this too work.

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

No branches or pull requests

2 participants