SkinnyDevi / webui_tavernai_charas

A TavernUI Character extension for oobabooga's Text Generation WebUI
Apache License 2.0
59 stars 2 forks source link

AttributeError: module 'modules.ui' has no attribute 'ToolButton' #4

Closed jimi202008 closed 1 year ago

jimi202008 commented 1 year ago

Traceback (most recent call last): File "/mnt/d/wsl/text-generation-webui/server.py", line 230, in create_interface() File "/mnt/d/wsl/text-generation-webui/server.py", line 140, in create_interface extensions_module.create_extensions_tabs() # Extensions tabs File "/mnt/d/wsl/text-generation-webui/modules/extensions.py", line 200, in create_extensions_tabs extension.ui() File "/mnt/d/wsl/text-generation-webui/extensions/webui_tavernai_charas/script.py", line 29, in ui charas_ui.mount_ui() File "/mnt/d/wsl/text-generation-webui/extensions/webui_tavernai_charas/ui/main.py", line 23, in mount_ui featured_ui() File "/mnt/d/wsl/text-generation-webui/extensions/webui_tavernai_charas/ui/featured.py", line 424, in featured_ui mount_fixed_categories() File "/mnt/d/wsl/text-generation-webui/extensions/webui_tavernai_charas/ui/featured.py", line 263, in mount_fixed_categories create_tavernai_chara_display( File "/mnt/d/wsl/text-generation-webui/extensions/webui_tavernai_charas/ui/featured.py", line 89, in create_tavernai_chara_display refresh_button = ui.ToolButton( AttributeError: module 'modules.ui' has no attribute 'ToolButton' The extension needs to be updated

Mayhem50 commented 1 year ago

same

murkinhustla commented 1 year ago

same

SkinnyDevi commented 1 year ago

@jimi202008 could you provide more information on how you updated your webui?

I had some initial problems updating, but after a clean re-install of the webui and re-installed the extension through the "Session" tab I could get the extension to work again.

SkinnyDevi commented 1 year ago

I have pushed an update. Please update/reinstall your extensions and comment if it works to close this issue.

SkinnyDevi commented 1 year ago

I will now close this issue as this has been resolved, and no further issues related have arised.