nihedon / sd-webui-weight-helper

The extension allows you to specify Lora or Lyco weight from context menu.
MIT License
25 stars 1 forks source link

Main commit 06a85d3 is Not working #8

Closed trojan-uma closed 3 months ago

trojan-uma commented 3 months ago

Right click has no response.

Error info (from chrome devtools) Snipaste_2024-07-07_16-07-18 Snipaste_2024-07-07_16-07-29 Snipaste_2024-07-07_16-07-37

PS:commit 885770a is the last working version.

nihedon commented 3 months ago

@trojan-uma Thank you for reporting the bug.

Due to the increasing complexity of the context menu's DOM tree, we've transitioned to using templates to construct the DOM tree in the new version. These templates are fetched from the server, which might cause communication before the WebUI initialization completes, potentially resulting in failures.

We've made changes to retry the communication in case of failures. Could you please try the latest version(2933d84) and let us know if the issue persists? Thank you!

trojan-uma commented 3 months ago

No, but error info was changed

New error info (just show in software opening) Snipaste_2024-07-08_07-45-26

nihedon commented 3 months ago

@trojan-uma It looks like the error is occurring in the section that retrieves the change history. There might be corruption in the localStorage data, so we've adjusted it to prevent errors even if the data is corrupted. Please update to the latest version(e3924e8) and check again.

PS: out of the three screenshots you initially provided, the second one shows an error in "civitai_helper.js," which is unrelated to this extension.

trojan-uma commented 3 months ago

@trojan-uma It looks like the error is occurring in the section that retrieves the change history. There might be corruption in the localStorage data, so we've adjusted it to prevent errors even if the data is corrupted. Please update to the latest version(e3924e8) and check again.

PS: out of the three screenshots you initially provided, the second one shows an error in "civitai_helper.js," which is unrelated to this extension.

commit e3924e8 is working!!! thx

nihedon commented 3 months ago

@trojan-uma I'm glad to hear the issue is resolved! If you encounter any other problems, please don't hesitate to report them.

I'll close this issue now.