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

- Does anyone know how to resolve this error in sd-webui-ar_xhox extension ? #1466

Closed
danilomaiaweb opened this issue Aug 23, 2024 · 2 comments

Comments

@danilomaiaweb
Copy link

Please see the erro below, anyone to help me?
Thank in advance !

*** Error calling: F:\ForgeFlux\webui\extensions\sd-webui-ar_xhox\scripts\sd-webui-ar.py/ui
Traceback (most recent call last):
File "F:\ForgeFlux\webui\modules\scripts.py", line 545, in wrap_call
return func(*args, **kwargs)
File "F:\ForgeFlux\webui\extensions\sd-webui-ar_xhox\scripts\sd-webui-ar.py", line 348, in ui
btns = [
File "F:\ForgeFlux\webui\extensions\sd-webui-ar_xhox\scripts\sd-webui-ar.py", line 349, in
ARButton(ar=ar, value=label)
File "F:\ForgeFlux\webui\extensions\sd-webui-ar_xhox\scripts\sd-webui-ar.py", line 31, in init
super().init(**kwargs)
File "F:\ForgeFlux\webui\modules\ui_components.py", line 23, in init
super().init(*args, elem_classes=["tool", *elem_classes], value=value, **kwargs)
File "F:\ForgeFlux\webui\modules\gradio_extensions.py", line 147, in repaired_init
original(self, *args, **fixed_kwargs)
File "F:\ForgeFlux\system\python\lib\site-packages\gradio\component_meta.py", line 163, in wrapper
return fn(self, **kwargs)
File "F:\ForgeFlux\system\python\lib\site-packages\gradio\components\button.py", line 61, in init
super().init(
File "F:\ForgeFlux\webui\modules\gradio_extensions.py", line 36, in IOComponent_init
res = original_IOComponent_init(self, *args, **kwargs)
File "F:\ForgeFlux\system\python\lib\site-packages\gradio\component_meta.py", line 163, in wrapper
return fn(self, **kwargs)
File "F:\ForgeFlux\system\python\lib\site-packages\gradio\components\base.py", line 229, in init
self.component_class_id = self.class.get_component_class_id()
File "F:\ForgeFlux\system\python\lib\site-packages\gradio\components\base.py", line 118, in get_component_class_id
module_path = sys.modules[module_name].file
KeyError: 'sd-webui-ar.py'


*** Error calling: F:\ForgeFlux\webui\extensions\sd-webui-ar_xhox\scripts\sd-webui-ar.py/ui
Traceback (most recent call last):
File "F:\ForgeFlux\webui\modules\scripts.py", line 545, in wrap_call
return func(*args, **kwargs)
File "F:\ForgeFlux\webui\extensions\sd-webui-ar_xhox\scripts\sd-webui-ar.py", line 348, in ui
btns = [
File "F:\ForgeFlux\webui\extensions\sd-webui-ar_xhox\scripts\sd-webui-ar.py", line 349, in
ARButton(ar=ar, value=label)
File "F:\ForgeFlux\webui\extensions\sd-webui-ar_xhox\scripts\sd-webui-ar.py", line 31, in init
super().init(**kwargs)
File "F:\ForgeFlux\webui\modules\ui_components.py", line 23, in init
super().init(*args, elem_classes=["tool", *elem_classes], value=value, **kwargs)
File "F:\ForgeFlux\webui\modules\gradio_extensions.py", line 147, in repaired_init
original(self, *args, **fixed_kwargs)
File "F:\ForgeFlux\system\python\lib\site-packages\gradio\component_meta.py", line 163, in wrapper
return fn(self, **kwargs)
File "F:\ForgeFlux\system\python\lib\site-packages\gradio\components\button.py", line 61, in init
super().init(
File "F:\ForgeFlux\webui\modules\gradio_extensions.py", line 36, in IOComponent_init
res = original_IOComponent_init(self, *args, **kwargs)
File "F:\ForgeFlux\system\python\lib\site-packages\gradio\component_meta.py", line 163, in wrapper
return fn(self, **kwargs)
File "F:\ForgeFlux\system\python\lib\site-packages\gradio\components\base.py", line 229, in init
self.component_class_id = self.class.get_component_class_id()
File "F:\ForgeFlux\system\python\lib\site-packages\gradio\components\base.py", line 118, in get_component_class_id
module_path = sys.modules[module_name].file
KeyError: 'sd-webui-ar.py'


@Melyns
Copy link
Contributor

Melyns commented Aug 24, 2024

If im not mistaken the extension is made for Gradio 3, & forge is using Gradio 4. I also get these errors, had to switch to alternatives like https://github.com/altoiddealer/--sd-webui-ar-plusplus

@danilomaiaweb
Copy link
Author

If im not mistaken the extension is made for Gradio 3, & forge is using Gradio 4. I also get these errors, had to switch to alternatives like https://github.com/altoiddealer/--sd-webui-ar-plusplus

Thanks for your reply mate!!!
I'll try what you're talking about

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

3 participants