lllyasviel / stable-diffusion-webui-forge

GNU Affero General Public License v3.0
7.35k stars 713 forks source link

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

Open danilomaiaweb opened 3 weeks ago

danilomaiaweb commented 3 weeks ago

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 commented 3 weeks ago

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 commented 3 weeks ago

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