thomasasfk / sd-webui-aspect-ratio-helper

Simple extension to easily maintain aspect ratio while changing dimensions. Install via the extensions tab on the AUTOMATIC1111 webui.
https://github.com/thomasasfk/sd-webui-aspect-ratio-helper.git
408 stars 66 forks source link

I got this error when open webui-user.bat #1

Closed endlessvn2604 closed 1 year ago

endlessvn2604 commented 1 year ago

Error calling: F:\Stable\stable-diffusion-webui\extensions\sd-webui-aspect-ratio-helper\scripts\sd-webui-aspect-ratio-helper.py/ui Traceback (most recent call last): File "F:\Stable\stable-diffusion-webui\modules\scripts.py", line 262, in wrap_call res = func(*args, **kwargs) File "F:\Stable\stable-diffusion-webui\extensions\sd-webui-aspect-ratio-helper\scripts\sd-webui-aspect-ratio-helper.py", line 98, in ui opts.arh_show_max_width_or_height, File "F:\Stable\stable-diffusion-webui\modules\shared.py", line 552, in getattr return super(Options, self).getattribute(item) AttributeError: 'Options' object has no attribute 'arh_show_max_width_or_height'

thomasasfk commented 1 year ago

Did you manage to fix this @endlessvn2604 - did a restart do it?

thomasasfk commented 1 year ago

Should be solved by https://github.com/thomasasfk/sd-webui-aspect-ratio-helper/pull/5, issue was we weren't defaulting on the very first load.

endlessvn2604 commented 1 year ago

Yeah it solved, sorry for rushing!

thomasasfk commented 1 year ago

Yeah it solved, sorry for rushing!

No worries at all! Thanks for raising this actually. It was an oversight on my part from forgetting about the very first run, solved now though!