Open tetsuoo-online opened 9 months ago
This happened before but we did not figure out why it happened: https://github.com/huchenlei/sd-webui-openpose-editor/issues/33. The previous user re-installed everything and got it working.
I managed not only to find but also, to fix this issue. It's similar to this the ECMA script file (index. mjs) was recognized in my system as text/plain, so Firefox (and Chrome too btw) blocked it. To fix the problem you need to apply the solution from the link, not to .js , but to .mjs (perhaps for .js won't hurt either, since it was already correct on my system). I've set the content type to application/ecma and after this and also reboot it finally worked.
Hi, I'm sorry for my English, I'm using a translator. I am using a translator. I have already tried to install everything from the beginning. I am using A1111, with controlnet and openpose editor and the edit button of openpose is still not working. You mention a solution in a link but I don't know which link it is, I have to say that I am terrible at programming.I use windows 10. Thanks!
I forgot. I have tried with firefox and chrome, M. edge, I. explorer.....
Hi, I'm sorry for my English, I'm using a translator. I am using a translator. I have already tried to install everything from the beginning. I am using A1111, with controlnet and openpose editor and the edit button of openpose is still not working. You mention a solution in a link but I don't know which link it is, I have to say that I am terrible at programming.I use windows 10. Thanks!
There was only one link in my message... https://stackoverflow.com/questions/54835510/getting-mime-type-text-plain-error-in-golang-while-serving-css/65150421#65150421
Yup, you are right. I have followed so many tutorials and solutions that I didn't know if this fix would work, but it did! thanks for replying and solving my problem!
@huchenlei Is it possible to implement something similar to dvaldivia solution for go in your app? I believe this is the library for such purpose in python.
// Execute before the service runs.
func init () {
_ = mime.AddExtensionType(".js", "text/javascript")
}
Originally posted by @SinguJ in https://github.com/golang/go/issues/32350#issuecomment-1128475902
I also encountered this problem, but I don't understand how you solved it. Do you need to change any registry values
我解决了这个问题!替换为最新的1.10.0-RC没有这个毛病!!!
I also encountered this problem, but I don't understand how you solved it. Do you need to change any registry values
You need to do what is stated in the stackoverflow answer from the link above. Specifically, add/change register value "Content Type" to "text/javascript" in HKEY_CLASSES_ROOT/.mjs I previously suggested changing it to "application/ecma", but lately I discovered that this is obsolete behaviour and text/javascript is standard now.
Is there an existing issue for this?
What happened?
Cannot click on Edit, only JSON or Close The only access is via http://localhost:7860/openpose_editor_index
Steps to reproduce the problem
What should have happened?
We should be able to click on the Edit button, but it's only a text
Commit where the problem happens
webui: v1.7.0 (but this problem is not new) controlnet: v1.1.427 openpose-editor: v0.2.4
What browsers do you use to access the UI ?
Edge or Firefox
Command Line Arguments
Console logs
Browser logs
I'm using Edge browser with many tabs. I don't know where is the log for the specific tab used by the webUI Firefow makes no difference.
Additional information
You can see a lot of empty space, I don't know if it's normal or not Almost all extensions are removed just in case. Removing all makes no difference.