toriato / stable-diffusion-webui-wd14-tagger

Labeling extension for Automatic1111's Web UI
1.34k stars 235 forks source link

'Namespace' object has no attribute 'deepdanbooru_projects_path' #57

Closed CaptainGodual closed 1 year ago

CaptainGodual commented 1 year ago

I recently installed the tagger using the install extensions from url feature of SD Webui,

Upon restarting the ui I get this error for the Tagger.

Error executing callback ui_tabs_callback for /home/paperspace/stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/scripts/tagger.py Traceback (most recent call last): File "/home/paperspace/stable-diffusion-webui/modules/script_callbacks.py", line 119, in ui_tabs_callback res += c.callback() or [] File "/home/paperspace/stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/tagger/ui.py", line 329, in on_ui_tabs interrogator_names = utils.refresh_interrogators() File "/home/paperspace/stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/tagger/utils.py", line 61, in refresh_interrogators for path in os.scandir(shared.cmd_opts.deepdanbooru_projects_path): AttributeError: 'Namespace' object has no attribute 'deepdanbooru_projects_path'

What could be causing this? I am not sure if it is a bug or what.

CaptainGodual commented 1 year ago

This was unreproducible by myself a second time, so I am assuming something just didn't install right, after a reinstall this issue is gone.