stable-diffusion-webui-forge icon indicating copy to clipboard operation
stable-diffusion-webui-forge copied to clipboard

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

Open danilomaiaweb opened this issue 1 year ago • 2 comments

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'


danilomaiaweb avatar Aug 23 '24 23:08 danilomaiaweb

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

Melyns avatar Aug 24 '24 01:08 Melyns

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

danilomaiaweb avatar Aug 24 '24 01:08 danilomaiaweb